Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luc Didry
wemawema
Commits
48d81158
Commit
48d81158
authored
Oct 21, 2017
by
Luc Didry
Browse files
Add groot language
parent
3ccfaa9f
Pipeline
#26463
passed with stage
in 55 seconds
Changes
8
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
img/bark-round.png
0 → 100644
View file @
48d81158
395 KB
img/bark.png
0 → 100644
View file @
48d81158
351 KB
index.html
View file @
48d81158
...
...
@@ -52,6 +52,7 @@
<a
class=
"dropdown-item active"
href=
"#"
data-i18n=
"en"
>
English
</a>
<a
class=
"dropdown-item"
href=
"#"
data-i18n=
"fr"
>
Français
</a>
<a
class=
"dropdown-item"
href=
"#"
data-i18n=
"oc"
>
Occitan
</a>
<a
class=
"dropdown-item"
href=
"#"
data-i18n=
"groot"
>
Groot
</a>
</div>
</li>
</ul>
...
...
@@ -373,6 +374,7 @@
<option
value=
"bridge"
>
Bridge
</option>
<option
value=
"telechat"
>
Téléchat
</option>
<option
value=
"uyuni"
>
Uyuni
</option>
<option
value=
"bark"
>
Tree bark
</option>
</select>
</div>
</div>
...
...
js/wema_wema.js
View file @
48d81158
...
...
@@ -83,6 +83,16 @@ function translate(userLang, languages) {
},
success
:
function
(
locale
)
{
toggleI18n
(
userLang
);
if
(
userLang
===
'
groot
'
)
{
$
(
'
#wemake
'
).
val
(
'
I am
'
);
$
(
'
#porn
'
).
val
(
'
Groot
'
);
$
(
'
#bg-type
'
).
val
(
'
img
'
);
$
(
'
#bg-img
'
).
val
(
'
bark
'
);
$
(
'
#wemake-color
'
).
val
(
'
#ffffff
'
);
$
(
'
#porn-color
'
).
val
(
'
#ffffff
'
);
$
(
'
#rect-color
'
).
val
(
'
#ffffff
'
);
refreshText
();
}
[
'
get-source
'
,
'
donate-dpdn
'
,
'
license
'
,
'
author
'
,
'
wemake
'
,
'
porn
'
,
'
border-txt
'
,
'
color
'
,
'
transparency
'
,
'
x-position
'
,
'
y-position
'
,
'
font
'
,
'
style
'
,
'
text-size
'
].
forEach
(
function
(
e
)
{
...
...
@@ -115,7 +125,8 @@ function translate(userLang, languages) {
$
(
'
.form-check-label span
'
).
text
(
locale
[
'
add-glitter
'
]);
}
[
'
plain
'
,
'
gradient
'
,
'
rainbow
'
,
'
img
'
,
'
lr
'
,
'
rl
'
,
'
tb
'
,
'
bt
'
,
'
r
'
,
'
beer
'
,
'
glitter
'
,
'
rainbow-flag
'
,
'
sky
'
,
'
field
'
,
'
bridge
'
,
'
regular
'
,
'
bold
'
,
'
italic
'
,
'
italic bold
'
'
rainbow-flag
'
,
'
sky
'
,
'
field
'
,
'
bridge
'
,
'
regular
'
,
'
bold
'
,
'
italic
'
,
'
italic bold
'
,
'
bark
'
].
forEach
(
function
(
e
)
{
if
(
locale
[
e
]
!==
undefined
)
{
$
(
'
option[value="
'
+
e
+
'
"]
'
).
text
(
locale
[
e
]);
...
...
js/wema_wema.min.js
View file @
48d81158
This diff is collapsed.
Click to expand it.
locales/en.json
View file @
48d81158
...
...
@@ -64,5 +64,6 @@
"border-txt"
:
"Border"
,
"border-thickness"
:
"Thickness"
,
"make-text-center"
:
"Center text"
,
"print"
:
"Print"
"print"
:
"Print"
,
"bark"
:
"Tree bark"
}
locales/fr.json
View file @
48d81158
...
...
@@ -64,5 +64,6 @@
"border-txt"
:
"Bordure"
,
"border-thickness"
:
"Épaisseur"
,
"make-text-center"
:
"Centrer le texte"
,
"print"
:
"Imprimer"
"print"
:
"Imprimer"
,
"bark"
:
"Écorce d'arbre"
}
locales/groot.json
0 → 100644
View file @
48d81158
{
"get-source"
:
"I am Groot"
,
"donate-dpdn"
:
"I am Groot"
,
"license"
:
"I am Groot"
,
"author"
:
"I am Groot"
,
"hide-settings"
:
"I am Groot"
,
"settings-dpdn"
:
"I am Groot"
,
"set-corner-shape"
:
"I am Groot"
,
"set-colors"
:
"I am Groot"
,
"set-fonts"
:
"I am Groot"
,
"set-bg"
:
"I am Groot"
,
"set-positions"
:
"I am Groot"
,
"wemake"
:
"I am Groot"
,
"porn"
:
"I am Groot"
,
"filename"
:
"I am Groot"
,
"corners"
:
"I am Groot"
,
"corners-rounded"
:
"I am Groot"
,
"corners-square"
:
"I am Groot"
,
"color"
:
"I am Groot"
,
"font"
:
"I am Groot"
,
"transparency"
:
"I am Groot"
,
"switch-colors"
:
"I am Groot"
,
"add-glitter"
:
"I am Groot"
,
"bg-type"
:
"I am Groot"
,
"plain"
:
"I am Groot"
,
"gradient"
:
"I am Groot"
,
"rainbow"
:
"I am Groot"
,
"img"
:
"I am Groot"
,
"bgu-color"
:
"I am Groot"
,
"bgr-color"
:
"I am Groot"
,
"egr-color"
:
"I am Groot"
,
"gr-orientation"
:
"I am Groot"
,
"lr"
:
"I am Groot"
,
"rl"
:
"I am Groot"
,
"tb"
:
"I am Groot"
,
"bt"
:
"I am Groot"
,
"r"
:
"I am Groot"
,
"bg-img"
:
"I am Groot"
,
"beer"
:
"I am Groot"
,
"glitter"
:
"I am Groot"
,
"rainbow-flag"
:
"I am Groot"
,
"sky"
:
"I am Groot"
,
"field"
:
"I am Groot"
,
"bridge"
:
"I am Groot"
,
"x-position"
:
"I am Groot"
,
"y-position"
:
"I am Groot"
,
"text-size"
:
"I am Groot"
,
"custom-img"
:
"I am Groot"
,
"custom-x"
:
"I am Groot"
,
"custom-y"
:
"I am Groot"
,
"custom-size"
:
"I am Groot"
,
"toggle-svg"
:
"I am Groot"
,
"toggle-canvas"
:
"I am Groot"
,
"download"
:
"I am Groot"
,
"reset"
:
"I am Groot"
,
"regular"
:
"I am Groot"
,
"bold"
:
"I am Groot"
,
"italic"
:
"I am Groot"
,
"italic bold"
:
"I am Groot"
,
"i18n-dpdn"
:
"I am Groot"
,
"set-img-size"
:
"I am Groot"
,
"img-width"
:
"I am Groot"
,
"img-height"
:
"I am Groot"
,
"border-txt"
:
"I am Groot"
,
"border-thickness"
:
"I am Groot"
,
"make-text-center"
:
"I am Groot"
,
"print"
:
"I am Groot"
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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