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

Unified Diff: app/l10n_util.cc

Issue 597042: Translate: Move label parsing logic into common code. (Closed)
Patch Set: Fix indentation. Created 10 years, 10 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: app/l10n_util.cc
diff --git a/app/l10n_util.cc b/app/l10n_util.cc
index 1feb09dee77f8c0da8e77e573195700ec7b02ab4..8d418d2a96e75b3825bf774e126dcaf543e81622 100644
--- a/app/l10n_util.cc
+++ b/app/l10n_util.cc
@@ -705,6 +705,13 @@ std::wstring GetStringF(int message_id,
string16(), string16(), offsets));
}
+string16 GetStringFUTF16(int message_id,
+ const string16& a,
+ const string16& b,
+ std::vector<size_t>* offsets) {
+ return GetStringF(message_id, a, b, string16(), string16(), offsets);
+}
+
std::wstring GetStringF(int message_id, int a) {
return GetStringF(message_id, IntToWString(a));
}

Powered by Google App Engine
This is Rietveld 408576698