mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
#788 - Added localization
This commit is contained in:
@@ -727,6 +727,7 @@
|
||||
"helpers.settingsHelper.readConfig.progress.title": "{0}: Reading dynamic config file...",
|
||||
"helpers.settingsHelper.readConfig.error": "Error reading your configuration.",
|
||||
"helpers.settingsHelper.refreshConfig.success": "Settings have been refreshed.",
|
||||
"helpers.settingsHelper.safeUpdate.warning": "Cannot update setting \"{0}\" because you've extended or split the Front Matter CMS configuration. Please manually add your changes. Check the output for the setting update.",
|
||||
|
||||
"helpers.taxonomyHelper.rename.input.title": "Rename the {0}",
|
||||
"helpers.taxonomyHelper.rename.validate.equalValue": "The new value must be different from the old one.",
|
||||
|
||||
@@ -398,7 +398,7 @@ export class Settings {
|
||||
Settings.extendedConfig.dynamic
|
||||
) {
|
||||
Notifications.warningWithOutput(
|
||||
`Cannot update setting "${configKey}" because you've extended or split the Front Matter CMS configuration. Please manually add your changes. Check the output for the setting update.`
|
||||
l10n.t(LocalizationKey.helpersSettingsHelperSafeUpdateWarning, configKey)
|
||||
);
|
||||
|
||||
Logger.info(`Updating setting: ${configKey}`, 'SETTING');
|
||||
|
||||
@@ -2396,6 +2396,10 @@ export enum LocalizationKey {
|
||||
* Settings have been refreshed.
|
||||
*/
|
||||
helpersSettingsHelperRefreshConfigSuccess = 'helpers.settingsHelper.refreshConfig.success',
|
||||
/**
|
||||
* Cannot update setting "{0}" because you've extended or split the Front Matter CMS configuration. Please manually add your changes. Check the output for the setting update.
|
||||
*/
|
||||
helpersSettingsHelperSafeUpdateWarning = 'helpers.settingsHelper.safeUpdate.warning',
|
||||
/**
|
||||
* Rename the {0}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user