Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h

Issue 134903003: libaddressinput string translations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pull all the way Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h
diff --git a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h
index 5982a29f00398ae726607b46f32fcf18cf8b6ade..330d8bbdd059fec9583a300ad12968a1690a1fa3 100644
--- a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h
+++ b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h
@@ -17,8 +17,6 @@
#include <libaddressinput/address_field.h>
-#include <string>
-
namespace i18n {
namespace addressinput {
@@ -35,8 +33,9 @@ struct AddressUiComponent {
// The address field type for this UI component, for example LOCALITY.
AddressField field;
- // The name of the field, for example "City".
- std::string name;
+ // The ID of the string for the name of the field, for example
+ // IDS_LIBADDRESSINPUT_I18N_LOCALITY_LABEL.
+ int name_id;
// The hint for how large the input field should be in a multiline address
// form.

Powered by Google App Engine
This is Rietveld 408576698