Skip to content

Commit cb0e138

Browse files
committed
Update text for MetaData -> Metadata
1 parent 72d4150 commit cb0e138

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

resources/PhoneNumberAlternateFormats.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Additional Phone Number Formatting information, containing alternative
1919
formats that are commonly used when writing phone numbers in certain
2020
countries. Note that this is in addition to the formatting information
21-
provided by the main PhoneNumberMetaData.xml file - formatting patterns
21+
provided by the main PhoneNumberMetadata.xml file - formatting patterns
2222
should not be duplicated.
2323
2424
Note also that only the most specific leading-digits pattern is present for
@@ -27,7 +27,7 @@
2727
on alternate formatting patterns.
2828
2929
For regions that share a country calling code, only the region with
30-
mainCountryForCode set to true in PhoneNumberMetaData.xml should be present
30+
mainCountryForCode set to true in PhoneNumberMetadata.xml should be present
3131
here.
3232
3333
Note: Territories are in alphabetical order by their IDs, which are based on ISO 3166-1

resources/PhoneNumberMetadataForTesting.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
MetaData on Phone Number Plan and formatting rules. This file is used
1818
solely for the purpose of unittesting, so data in this file is not
19-
necessarily consistent with that of PhoneNumberMetaData.xml.
19+
necessarily consistent with that of PhoneNumberMetadata.xml.
2020
-->
2121

2222
<phoneNumberMetadata>

resources/phonemetadata.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// Definition of protocol buffer for holding metadata for international
1818
// telephone numbers. The fields here correspond exactly to those in
19-
// resources/PhoneNumberMetaData.xml.
19+
// resources/PhoneNumberMetadata.xml.
2020
// @author Shaopeng Jia
2121

2222
syntax = "proto2";

tools/python/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generated from the files in resources/geocoding/
3636
The script tools/buildmetadatafromxml.py performs the first autogeneration.
3737
Run it with:
3838
cd tools
39-
python buildmetadatafromxml.py ../resources/PhoneNumberMetaData.xml ../python/phonenumbers/data .
39+
python buildmetadatafromxml.py ../resources/PhoneNumberMetadata.xml ../python/phonenumbers/data .
4040

4141
This will:
4242
- Create the python/phonenumbers/data/ directory if not present.

tools/python/makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ $(PYDIR)/tests/testgeodata/__init__.py: buildgeocodingdata.py $(TOPDIR)/resource
2424
geodata: $(PYDIR)/phonenumbers/geodata/__init__.py $(PYDIR)/tests/testgeodata/__init__.py
2525

2626
# Generate Python files from metadata
27-
$(PYDIR)/phonenumbers/data/__init__.py: $(TOPDIR)/resources/PhoneNumberMetaData.xml $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml buildmetadatafromxml.py
28-
$(PYTHON) buildmetadatafromxml.py --alt $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml $(TOPDIR)/resources/PhoneNumberMetaData.xml $(PYDIR)/phonenumbers/data .
29-
$(PYDIR)/tests/testdata/__init__.py: $(TOPDIR)/resources/PhoneNumberMetaDataForTesting.xml buildmetadatafromxml.py
30-
$(PYTHON) buildmetadatafromxml.py $(TOPDIR)/resources/PhoneNumberMetaDataForTesting.xml $(PYDIR)/tests/testdata phonenumbers
27+
$(PYDIR)/phonenumbers/data/__init__.py: $(TOPDIR)/resources/PhoneNumberMetadata.xml $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml buildmetadatafromxml.py
28+
$(PYTHON) buildmetadatafromxml.py --alt $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml $(TOPDIR)/resources/PhoneNumberMetadata.xml $(PYDIR)/phonenumbers/data .
29+
$(PYDIR)/tests/testdata/__init__.py: $(TOPDIR)/resources/PhoneNumberMetadataForTesting.xml buildmetadatafromxml.py
30+
$(PYTHON) buildmetadatafromxml.py $(TOPDIR)/resources/PhoneNumberMetadataForTesting.xml $(PYDIR)/tests/testdata phonenumbers
3131
metadata: $(PYDIR)/phonenumbers/data/__init__.py $(PYDIR)/tests/testdata/__init__.py geodata
3232

3333
alldata: metadata geodata locale
@@ -129,10 +129,10 @@ $(PY3DIR)/tests/testgeodata/__init__.py: buildgeocodingdata.py $(TOPDIR)/resourc
129129
$(PYTHON3) buildgeocodingdata.py $(TOPDIR)/resources/test/geocoding $@
130130
geo3data: $(PY3DIR)/phonenumbers/geodata/__init__.py $(PY3DIR)/tests/testgeodata/__init__.py
131131

132-
$(PY3DIR)/phonenumbers/data/__init__.py: $(TOPDIR)/resources/PhoneNumberMetaData.xml $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml buildmetadatafromxml.py
133-
$(PYTHON3) buildmetadatafromxml.py --alt $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml $(TOPDIR)/resources/PhoneNumberMetaData.xml $(PY3DIR)/phonenumbers/data .
134-
$(PY3DIR)/tests/testdata/__init__.py: $(TOPDIR)/resources/PhoneNumberMetaDataForTesting.xml buildmetadatafromxml.py
135-
$(PYTHON3) buildmetadatafromxml.py $(TOPDIR)/resources/PhoneNumberMetaDataForTesting.xml $(PY3DIR)/tests/testdata phonenumbers
132+
$(PY3DIR)/phonenumbers/data/__init__.py: $(TOPDIR)/resources/PhoneNumberMetadata.xml $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml buildmetadatafromxml.py
133+
$(PYTHON3) buildmetadatafromxml.py --alt $(TOPDIR)/resources/PhoneNumberAlternateFormats.xml $(TOPDIR)/resources/PhoneNumberMetadata.xml $(PY3DIR)/phonenumbers/data .
134+
$(PY3DIR)/tests/testdata/__init__.py: $(TOPDIR)/resources/PhoneNumberMetadataForTesting.xml buildmetadatafromxml.py
135+
$(PYTHON3) buildmetadatafromxml.py $(TOPDIR)/resources/PhoneNumberMetadataForTesting.xml $(PY3DIR)/tests/testdata phonenumbers
136136
meta3data: $(PY3DIR)/phonenumbers/data/__init__.py $(PY3DIR)/tests/testdata/__init__.py geo3data
137137

138138
all3data: meta3data geo3data locale3

0 commit comments

Comments
 (0)