Home | History | Annotate | Download | only in common

Lines Matching refs:string

9 #include <string>
25 typedef std::map<std::string, std::string> SubstitutionMap;
62 std::string* error);
67 // Returns empty string if it can't find a message.
70 std::string GetL10nMessage(const std::string& name) const;
73 static std::string GetL10nMessage(const std::string& name,
83 bool ReplaceMessages(std::string* text, std::string* error) const;
86 const SubstitutionMap& dictionary, std::string* text, std::string* error);
94 const std::string& var_begin,
95 const std::string& var_end,
96 std::string* message,
97 std::string* error);
101 static bool IsValidName(const std::string& name);
119 bool Init(const CatalogVector& locale_catalogs, std::string* error);
123 bool AppendReservedMessagesForLocale(const std::string& application_locale,
124 std::string* error);
129 bool GetMessageValue(const std::string& key,
131 std::string* value,
132 std::string* error) const;
136 const std::string& name_key,
138 std::string* error) const;
143 std::string* message,
144 std::string* error) const;
157 typedef std::map<std::string, std::string> L10nMessagesMap;
160 typedef std::map<std::string, L10nMessagesMap > ExtensionToL10nMessagesMap;
166 L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id);
169 void EraseL10nMessagesMap(const std::string& extension_id);