diff options
author | rouslan@chromium.org <rouslan@chromium.org@38ededc0-08b8-5190-f2ac-b31f878777ad> | 2014-06-17 15:51:47 +0000 |
---|---|---|
committer | rouslan@chromium.org <rouslan@chromium.org@38ededc0-08b8-5190-f2ac-b31f878777ad> | 2014-06-17 15:51:47 +0000 |
commit | f5ef4fd1a0194fb339c286a0921a00a8dc9cc698 (patch) | |
tree | b96e557a93472d3de24da3246d8e9cff32c2b5d2 | |
parent | 686b50db41a74003c6e311804cb8edce78b045ab (diff) | |
download | src-f5ef4fd1a0194fb339c286a0921a00a8dc9cc698.tar.gz |
Add a comma between city and state in format for US.
Human-readable addresses in US have a comma between city and state,
although machine-readable addresses do not require the comma.
R=lararennie@google.com
Review URL: https://codereview.appspot.com/109040043
git-svn-id: http://libaddressinput.googlecode.com/svn/trunk@284 38ededc0-08b8-5190-f2ac-b31f878777ad
-rw-r--r-- | cpp/src/region_data_constants.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/region_data_constants.cc b/cpp/src/region_data_constants.cc index f3d9c3c..cabee28 100644 --- a/cpp/src/region_data_constants.cc +++ b/cpp/src/region_data_constants.cc @@ -12,10 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// The data in this file will be automatically generated. For now, the data -// comes from: -// -// https://code.google.com/p/libaddressinput/source/browse/trunk/java/src/com/android/i18n/addressinput/RegionDataConstants.java?r=137 +// The data in this file is automatically generated. #include "region_data_constants.h" @@ -1263,7 +1260,7 @@ std::map<std::string, std::string> InitRegionData() { "\"languages\":\"en\"" "}")); region_data.insert(std::make_pair("US", "{" - "\"fmt\":\"%N%n%O%n%A%n%C %S %Z\"," + "\"fmt\":\"%N%n%O%n%A%n%C, %S %Z\"," "\"require\":\"ACSZ\"," "\"zip_name_type\":\"zip\"," "\"state_name_type\":\"state\"," |