Add ICU message format support
[chromium-blink-merge.git] / extensions / browser / api / management / management_api_constants.cc
blob924b35767b7926a589998711ba1e71bfb3d878b7
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.
5 #include "extensions/browser/api/management/management_api_constants.h"
7 namespace extension_management_api_constants {
9 const char kDisabledReasonKey[] = "disabledReason";
11 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase";
13 const char kExtensionCreateError[] =
14 "Failed to create extension from manifest.";
15 const char kGestureNeededForEscalationError[] =
16 "Re-enabling an extension disabled due to permissions increase "
17 "requires a user gesture.";
18 const char kGestureNeededForUninstallError[] =
19 "chrome.management.uninstall requires a user gesture.";
20 const char kManifestParseError[] = "Failed to parse manifest.";
21 const char kNoExtensionError[] = "Failed to find extension with id *.";
22 const char kNotAnAppError[] = "Extension * is not an App.";
23 const char kUserCantModifyError[] = "Extension * cannot be modified by user.";
24 const char kUninstallCanceledError[] =
25 "Extension * uninstall canceled by user.";
26 const char kUserDidNotReEnableError[] =
27 "The user did not accept the re-enable dialog.";
28 const char kMissingRequirementsError[] = "There were missing requirements: *.";
29 const char kGestureNeededForCreateAppShortcutError[] =
30 "chrome.management.createAppShortcut requires a user gesture.";
31 const char kNoBrowserToCreateShortcut[] =
32 "There is no browser window to create shortcut.";
33 const char kCreateOnlyPackagedAppShortcutMac[] =
34 "Shortcuts can only be created for new-style packaged apps on Mac.";
35 const char kCreateShortcutCanceledError[] =
36 "App shortcuts creation canceled by user.";
37 const char kGestureNeededForSetLaunchTypeError[] =
38 "chrome.management.setLaunchType requires a user gesture.";
39 const char kLaunchTypeNotAvailableError[] =
40 "The launch type is not available for this app.";
41 const char kGestureNeededForGenerateAppForLinkError[] =
42 "chrome.management.generateAppForLink requires a user gesture.";
43 const char kInvalidURLError[] = "The URL \"*\" is invalid.";
44 const char kEmptyTitleError[] = "The title can not be empty.";
45 const char kGenerateAppForLinkInstallError[] =
46 "Failed to install the generated app.";
48 } // namespace extension_management_api_constants