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

Side by Side Diff: chrome/browser/cocoa/ui_localizer.h

Issue 155774: Starting mac l10n:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COCOA_UI_LOCALIZER_H_
6 #define CHROME_BROWSER_COCOA_UI_LOCALIZER_H_
7
8 #include "base/basictypes.h"
9 #include "base/string16.h"
10
11 @class NSString;
12
13 namespace ui_localizer {
14
15 // Remove the window's style accelerator marker and change "..." into an
Mark Mentovai 2009/07/21 21:23:52 Windows-style
16 // ellipsis and return the result in an autoreleased NSString.
Mark Mentovai 2009/07/21 21:23:52 This becomes a run-on at the second "and". // ell
17 NSString* FixUpWindowsStyleLabel(const string16& label);
18
19 struct ResourceMap {
20 const char* const name;
21 unsigned int label_id;
22 unsigned int label_arg_id;
23 };
24
25 NSString* LocalizedStringForKeyFromMapList(NSString* key,
26 const ResourceMap* map_list,
27 size_t map_list_len);
28
29 } // namespace ui_localizer
30
31 #endif // CHROME_BROWSER_COCOA_UI_LOCALIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698