Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
337907fa
Commit
337907fa
authored
Jul 02, 2018
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add i18n translations
parent
7b68bf43
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
2 deletions
+9
-2
strings.xml
app/src/main/res/values-es/strings.xml
+1
-0
strings.xml
app/src/main/res/values-fr/strings.xml
+1
-0
strings.xml
app/src/main/res/values-hi-rIN/strings.xml
+1
-0
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+1
-0
strings.xml
app/src/main/res/values-uk-rRU/strings.xml
+1
-0
strings.xml
app/src/main/res/values/strings.xml
+1
-0
EmojiKeyboardPopup.kt
...main/java/chat/rocket/android/emoji/EmojiKeyboardPopup.kt
+2
-2
strings.xml
emoji/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/res/values-es/strings.xml
View file @
337907fa
...
@@ -260,6 +260,7 @@
...
@@ -260,6 +260,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
Sin emojis recientes
</string>
<string
name=
"msg_no_recent_emoji"
>
Sin emojis recientes
</string>
<string
name=
"alert_title_default_skin_tone"
>
Tono de piel predeterminado
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
Ordenar
</string>
<string
name=
"menu_chatroom_sort"
>
Ordenar
</string>
...
...
app/src/main/res/values-fr/strings.xml
View file @
337907fa
...
@@ -261,6 +261,7 @@
...
@@ -261,6 +261,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
Aucun emoji récent
</string>
<string
name=
"msg_no_recent_emoji"
>
Aucun emoji récent
</string>
<string
name=
"alert_title_default_skin_tone"
>
Tonalité de peau par défaut
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
Trier
</string>
<string
name=
"menu_chatroom_sort"
>
Trier
</string>
...
...
app/src/main/res/values-hi-rIN/strings.xml
View file @
337907fa
...
@@ -245,6 +245,7 @@
...
@@ -245,6 +245,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
कोई नया इमोजी नहीं
</string>
<string
name=
"msg_no_recent_emoji"
>
कोई नया इमोजी नहीं
</string>
<string
name=
"alert_title_default_skin_tone"
>
डिफ़ॉल्ट त्वचा टोन
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
क्रम
</string>
<string
name=
"menu_chatroom_sort"
>
क्रम
</string>
...
...
app/src/main/res/values-pt-rBR/strings.xml
View file @
337907fa
...
@@ -240,6 +240,7 @@
...
@@ -240,6 +240,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
Nenhum emoji recente
</string>
<string
name=
"msg_no_recent_emoji"
>
Nenhum emoji recente
</string>
<string
name=
"alert_title_default_skin_tone"
>
Tom de pele padrão
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
Ordenar
</string>
<string
name=
"menu_chatroom_sort"
>
Ordenar
</string>
...
...
app/src/main/res/values-uk-rRU/strings.xml
View file @
337907fa
...
@@ -237,6 +237,7 @@
...
@@ -237,6 +237,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
Нет недавно используемых emoji
</string>
<string
name=
"msg_no_recent_emoji"
>
Нет недавно используемых emoji
</string>
<string
name=
"alert_title_default_skin_tone"
>
По умолчанию тон кожи
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
Сортировать
</string>
<string
name=
"menu_chatroom_sort"
>
Сортировать
</string>
...
...
app/src/main/res/values/strings.xml
View file @
337907fa
...
@@ -239,6 +239,7 @@
...
@@ -239,6 +239,7 @@
<!-- Emoji message-->
<!-- Emoji message-->
<string
name=
"msg_no_recent_emoji"
>
No recent emojis
</string>
<string
name=
"msg_no_recent_emoji"
>
No recent emojis
</string>
<string
name=
"alert_title_default_skin_tone"
>
Default skin tone
</string>
<!-- Sorting and grouping-->
<!-- Sorting and grouping-->
<string
name=
"menu_chatroom_sort"
>
Sort
</string>
<string
name=
"menu_chatroom_sort"
>
Sort
</string>
...
...
emoji/src/main/java/chat/rocket/android/emoji/EmojiKeyboardPopup.kt
View file @
337907fa
...
@@ -69,7 +69,7 @@ class EmojiKeyboardPopup(
...
@@ -69,7 +69,7 @@ class EmojiKeyboardPopup(
val
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
color_select_popup
,
null
)
val
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
color_select_popup
,
null
)
val
dialog
=
AlertDialog
.
Builder
(
context
)
val
dialog
=
AlertDialog
.
Builder
(
context
)
.
setView
(
view
)
.
setView
(
view
)
.
setTitle
(
"Default skin tone"
)
.
setTitle
(
context
.
getString
(
R
.
string
.
alert_title_default_skin_tone
)
)
.
setCancelable
(
true
)
.
setCancelable
(
true
)
.
create
()
.
create
()
...
@@ -115,7 +115,7 @@ class EmojiKeyboardPopup(
...
@@ -115,7 +115,7 @@ class EmojiKeyboardPopup(
@ColorInt
@ColorInt
private
fun
getFitzpatrickColor
(
tone
:
Fitzpatrick
):
Int
{
private
fun
getFitzpatrickColor
(
tone
:
Fitzpatrick
):
Int
{
return
when
(
tone
)
{
return
when
(
tone
)
{
Fitzpatrick
.
Default
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_default
)
Fitzpatrick
.
Default
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_default
)
Fitzpatrick
.
LightTone
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_light
)
Fitzpatrick
.
LightTone
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_light
)
Fitzpatrick
.
MediumLightTone
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_medium_light
)
Fitzpatrick
.
MediumLightTone
->
ContextCompat
.
getColor
(
context
,
R
.
color
.
tone_medium_light
)
...
...
emoji/src/main/res/values/strings.xml
View file @
337907fa
<resources>
<resources>
<string
name=
"msg_no_recent_emoji"
>
No recent emoji
</string>
<string
name=
"msg_no_recent_emoji"
>
No recent emoji
</string>
<string
name=
"alert_title_default_skin_tone"
>
Default skin tone
</string>
</resources>
</resources>
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