Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
totem
ind
Commits
80236561
Commit
80236561
authored
Feb 22, 2018
by
Arie Peterson
🐚
Browse files
Re-add translation strings for custom icons
parent
5f39c145
Changes
3
Hide whitespace changes
Inline
Side-by-side
grapheditorxblock/src/js/grapheditorxblock.js
View file @
80236561
...
...
@@ -5,6 +5,9 @@ function GraphEditorXBlock(runtime, element, data) {
var
bundle
=
mxResources
.
getDefaultBundle
(
RESOURCE_BASE
,
mxLanguage
)
//|| mxResources.getSpecialBundle(RESOURCE_BASE, mxLanguage);
// Add indie resources.
mxResources
.
add
(
mxClient
.
basePath
+
'
/resources/icons
'
);
// Fixes possible asynchronous requests
mxUtils
.
getAll
([
bundle
,
[
data
.
resource_url
]],
function
(
xhr
)
{
...
...
grapheditorxblock/src/translations/icons.txt
0 → 100644
View file @
80236561
custom-png=Custom PNG
custom-svg=Custom SVG
custom-xml=Custom XML
grapheditorxblock/src/translations/icons_de.txt
0 → 100644
View file @
80236561
custom-png=Benutzerdefinierte PNG
custom-svg=Benutzerdefinierte SVG
custom-xml=Benutzerdefinierte XML
Write
Preview
Supports
Markdown
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