OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 #include "chrome/browser/ui/cocoa/obsolete_os.h" | |
6 | |
7 #include "grit/chromium_strings.h" | |
8 #include "grit/generated_resources.h" | |
9 #include "ui/base/l10n/l10n_util.h" | |
10 | |
11 namespace chrome { | |
12 | |
13 string16 LocalizedObsoleteOSString() { | |
14 // TODO(mark): Change kEndOfTheLine to true immediately prior to the last | |
15 // build on the Chrome 21 branch. | |
16 const bool kEndOfTheLine = false; | |
17 | |
18 return l10n_util::GetStringFUTF16( | |
19 kEndOfTheLine ? IDS_MAC_10_5_LEOPARD_OBSOLETE_NOW : | |
20 IDS_MAC_10_5_LEOPARD_OBSOLETE_SOON, | |
21 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); | |
22 } | |
23 | |
24 } // namespace chrome | |
OLD | NEW |