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

Side by Side Diff: chrome/browser/ui/cocoa/ui_localizer.mm

Issue 7210060: Rename app_strings to ui_strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/ui_localizer.h" 5 #import "chrome/browser/ui/cocoa/ui_localizer.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include <stdlib.h> 9 #include <stdlib.h>
10
11 #include "base/logging.h"
10 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
11 #include "base/logging.h"
12 #include "grit/app_strings.h"
13 #include "grit/chromium_strings.h" 13 #include "grit/chromium_strings.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 #include "grit/ui_strings.h"
15 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/l10n/l10n_util_mac.h" 17 #include "ui/base/l10n/l10n_util_mac.h"
17 18
18 struct UILocalizerResourceMap { 19 struct UILocalizerResourceMap {
19 const char* const name; 20 const char* const name;
20 unsigned int label_id; 21 unsigned int label_id;
21 unsigned int label_arg_id; 22 unsigned int label_arg_id;
22 }; 23 };
23 24
24 25
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // in our map. 90 // in our map.
90 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key 91 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key
91 << "' wasn't in the resource map?"; 92 << "' wasn't in the resource map?";
92 } 93 }
93 94
94 // If we didn't find anything, this string doesn't need localizing. 95 // If we didn't find anything, this string doesn't need localizing.
95 return nil; 96 return nil;
96 } 97 }
97 98
98 @end 99 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/restart_browser.mm ('k') | chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698