Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
597d62d2
Commit
597d62d2
authored
Nov 10, 2021
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contextualised translations for SE
parent
9316fe54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
app/assets/javascripts/editor/constants.js
app/assets/javascripts/editor/constants.js
+7
-7
locale/gitlab.pot
locale/gitlab.pot
+9
-9
No files found.
app/assets/javascripts/editor/constants.js
View file @
597d62d2
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.
'
,
'
Source
Editor|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
'
,
);
);
//
//
...
...
locale/gitlab.pot
View file @
597d62d2
...
@@ -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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment