Commit 597d62d2 authored by Denys Mishunov's avatar Denys Mishunov

Contextualised translations for SE

parent 9316fe54
import { DEFAULT_DEBOUNCE_AND_THROTTLE_MS } from '~/lib/utils/constants'; import { DEFAULT_DEBOUNCE_AND_THROTTLE_MS } from '~/lib/utils/constants';
import { __ } from '~/locale'; import { s__ } from '~/locale';
export const SOURCE_EDITOR_INSTANCE_ERROR_NO_EL = __( export const SOURCE_EDITOR_INSTANCE_ERROR_NO_EL = s__(
'"el" parameter is required for createInstance()', 'SourceEditor|"el" parameter is required for createInstance()',
); );
export const URI_PREFIX = 'gitlab'; export const URI_PREFIX = 'gitlab';
export const CONTENT_UPDATE_DEBOUNCE = DEFAULT_DEBOUNCE_AND_THROTTLE_MS; export const CONTENT_UPDATE_DEBOUNCE = DEFAULT_DEBOUNCE_AND_THROTTLE_MS;
export const ERROR_INSTANCE_REQUIRED_FOR_EXTENSION = __( export const ERROR_INSTANCE_REQUIRED_FOR_EXTENSION = s__(
'Source Editor instance is required to set up an extension.', 'SourceEditor|Source Editor instance is required to set up an extension.',
); );
export const EDITOR_READY_EVENT = 'editor-ready'; export const EDITOR_READY_EVENT = 'editor-ready';
...@@ -20,8 +20,8 @@ export const EDITOR_TYPE_DIFF = 'vs.editor.IDiffEditor'; ...@@ -20,8 +20,8 @@ export const EDITOR_TYPE_DIFF = 'vs.editor.IDiffEditor';
export const EDITOR_CODE_INSTANCE_FN = 'createInstance'; export const EDITOR_CODE_INSTANCE_FN = 'createInstance';
export const EDITOR_DIFF_INSTANCE_FN = 'createDiffInstance'; export const EDITOR_DIFF_INSTANCE_FN = 'createDiffInstance';
export const EDITOR_EXTENSION_DEFINITION_ERROR = __( export const EDITOR_EXTENSION_DEFINITION_ERROR = s__(
'Extension definition should be either a class or a function', 'SourceEditor|Extension definition should be either a class or a function',
); );
// //
......
...@@ -70,9 +70,6 @@ msgstr "" ...@@ -70,9 +70,6 @@ msgstr ""
msgid "\"%{repository_name}\" size (%{repository_size}) is larger than the limit of %{limit}." msgid "\"%{repository_name}\" size (%{repository_size}) is larger than the limit of %{limit}."
msgstr "" msgstr ""
msgid "\"el\" parameter is required for createInstance()"
msgstr ""
msgid "#%{issueIid} (closed)" msgid "#%{issueIid} (closed)"
msgstr "" msgstr ""
...@@ -14083,9 +14080,6 @@ msgstr "" ...@@ -14083,9 +14080,6 @@ msgstr ""
msgid "Exported requirements" msgid "Exported requirements"
msgstr "" msgstr ""
msgid "Extension definition should be either a class or a function"
msgstr ""
msgid "External Classification Policy Authorization" msgid "External Classification Policy Authorization"
msgstr "" msgstr ""
...@@ -32568,9 +32562,6 @@ msgstr "" ...@@ -32568,9 +32562,6 @@ msgstr ""
msgid "Source Branch" msgid "Source Branch"
msgstr "" msgstr ""
msgid "Source Editor instance is required to set up an extension."
msgstr ""
msgid "Source IP" msgid "Source IP"
msgstr "" msgstr ""
...@@ -32589,6 +32580,15 @@ msgstr "" ...@@ -32589,6 +32580,15 @@ msgstr ""
msgid "Source project cannot be found." msgid "Source project cannot be found."
msgstr "" msgstr ""
msgid "SourceEditor|\"el\" parameter is required for createInstance()"
msgstr ""
msgid "SourceEditor|Extension definition should be either a class or a function"
msgstr ""
msgid "SourceEditor|Source Editor instance is required to set up an extension."
msgstr ""
msgid "Sourcegraph" msgid "Sourcegraph"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment