Skip to content
Snippets Groups Projects
Verified Commit 59c0060f authored by Nico's avatar Nico
Browse files

Add context to translations and fix UTF-8

Also tested this by translating a little bit to German and Spanish.
parent cd73d2d4
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<object class="GtkEntry" id="chat_entry"> <object class="GtkEntry" id="chat_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">Type Message</property> <property name="placeholder_text" translatable="yes" context="chat page: input field">Type Message</property>
<property name="show_emoji_icon">True</property> <property name="show_emoji_icon">True</property>
</object> </object>
<packing> <packing>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<object class="GtkButton" id="login_button"> <object class="GtkButton" id="login_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="halign">center</property> <property name="halign">center</property>
<property name="label" translatable="yes">Sign in</property> <property name="label" translatable="yes" context="login page: button">Sign in</property>
<signal name="clicked" handler="on_login_pressed"/> <signal name="clicked" handler="on_login_pressed"/>
</object> </object>
<packing> <packing>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<child> <child>
<object class="GtkEntry" id="username_entry"> <object class="GtkEntry" id="username_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="placeholder_text" translatable="yes">Choose your nickname</property> <property name="placeholder_text" translatable="yes" context="registration page: input field">Choose your nickname</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<object class="GtkButton" id="username_next"> <object class="GtkButton" id="username_next">
<property name="visible">True</property> <property name="visible">True</property>
<property name="halign">center</property> <property name="halign">center</property>
<property name="label" translatable="yes">Next</property> <property name="label" translatable="yes" context="registration page: button – from username to passwords">Next</property>
<signal name="clicked" handler="on_username_button_clicked"/> <signal name="clicked" handler="on_username_button_clicked"/>
</object> </object>
<packing> <packing>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<object class="GtkEntry" id="password_entry"> <object class="GtkEntry" id="password_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="visibility">False</property> <property name="visibility">False</property>
<property name="placeholder_text" translatable="yes">Choose your password</property> <property name="placeholder_text" translatable="yes" context="registration page: password input field">Choose your password</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<object class="GtkEntry" id="password_confirm_entry"> <object class="GtkEntry" id="password_confirm_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="visibility">False</property> <property name="visibility">False</property>
<property name="placeholder_text" translatable="yes">Confirm your password</property> <property name="placeholder_text" translatable="yes" context="registration page: password input field">Confirm your password</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<object class="GtkButton" id="password_next"> <object class="GtkButton" id="password_next">
<property name="visible">True</property> <property name="visible">True</property>
<property name="halign">center</property> <property name="halign">center</property>
<property name="label" translatable="yes">Next</property> <property name="label" translatable="yes" context="registration page: button">Create Account</property>
<signal name="clicked" handler="on_password_button_clicked"/> <signal name="clicked" handler="on_password_button_clicked"/>
</object> </object>
<packing> <packing>
......
...@@ -8,16 +8,17 @@ msgid "" ...@@ -8,16 +8,17 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-01 18:15+0200\n" "POT-Creation-Date: 2019-06-06 10:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: ../data/ui/chat.ui:29 #: ../data/ui/chat.ui:29
msgctxt "chat page: input field"
msgid "Type Message" msgid "Type Message"
msgstr "" msgstr ""
...@@ -26,6 +27,7 @@ msgid "Password" ...@@ -26,6 +27,7 @@ msgid "Password"
msgstr "" msgstr ""
#: ../data/ui/login.ui:44 #: ../data/ui/login.ui:44
msgctxt "login page: button"
msgid "Sign in" msgid "Sign in"
msgstr "" msgstr ""
...@@ -34,17 +36,26 @@ msgid "Nickname" ...@@ -34,17 +36,26 @@ msgid "Nickname"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:33 #: ../data/ui/setup.ui:33
msgctxt "registration page: input field"
msgid "Choose your nickname" msgid "Choose your nickname"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:44 ../data/ui/setup.ui:97 #: ../data/ui/setup.ui:44
msgctxt "registration page: button – from username to passwords"
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:75 #: ../data/ui/setup.ui:75
msgctxt "registration page: password input field"
msgid "Choose your password" msgid "Choose your password"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:86 #: ../data/ui/setup.ui:86
msgctxt "registration page: password input field"
msgid "Confirm your password" msgid "Confirm your password"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:97
msgctxt "registration page: button"
msgid "Create Account"
msgstr ""
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-06 10:35+0200\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../data/ui/chat.ui:29 #: ../data/ui/chat.ui:29
msgctxt "chat page: input field"
msgid "Type Message" msgid "Type Message"
msgstr "" msgstr "Nachricht eingeben"
#: ../data/ui/login.ui:23 ../data/ui/setup.ui:64 #: ../data/ui/login.ui:23 ../data/ui/setup.ui:64
msgid "Password" msgid "Password"
msgstr "Passwort" msgstr "Passwort"
#: ../data/ui/login.ui:44 #: ../data/ui/login.ui:44
msgctxt "login page: button"
msgid "Sign in" msgid "Sign in"
msgstr "" msgstr "Login"
#: ../data/ui/setup.ui:23 #: ../data/ui/setup.ui:23
msgid "Nickname" msgid "Nickname"
msgstr "Nutzername" msgstr "Nutzername"
#: ../data/ui/setup.ui:33 #: ../data/ui/setup.ui:33
msgctxt "registration page: input field"
msgid "Choose your nickname" msgid "Choose your nickname"
msgstr "" msgstr "Wähle Deinen Benutzernamen"
#: ../data/ui/setup.ui:44 ../data/ui/setup.ui:97 #: ../data/ui/setup.ui:44
msgctxt "registration page: button – from username to passwords"
msgid "Next" msgid "Next"
msgstr "" msgstr "Weiter"
#: ../data/ui/setup.ui:75 #: ../data/ui/setup.ui:75
msgctxt "registration page: password input field"
msgid "Choose your password" msgid "Choose your password"
msgstr "" msgstr "Wähle Dein Passwort"
#: ../data/ui/setup.ui:86 #: ../data/ui/setup.ui:86
msgctxt "registration page: password input field"
msgid "Confirm your password" msgid "Confirm your password"
msgstr "" msgstr "Bestätige Dein Passwort"
#: ../data/ui/setup.ui:97
msgctxt "registration page: button"
msgid "Create Account"
msgstr "Account erstellen"
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-06 10:35+0200\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../data/ui/chat.ui:29 #: ../data/ui/chat.ui:29
msgctxt "chat page: input field"
msgid "Type Message" msgid "Type Message"
msgstr "" msgstr ""
#: ../data/ui/login.ui:23 ../data/ui/setup.ui:64 #: ../data/ui/login.ui:23 ../data/ui/setup.ui:64
msgid "Password" msgid "Password"
msgstr "" msgstr "Contraseña"
#: ../data/ui/login.ui:44 #: ../data/ui/login.ui:44
msgctxt "login page: button"
msgid "Sign in" msgid "Sign in"
msgstr "" msgstr ""
#: ../data/ui/setup.ui:23 #: ../data/ui/setup.ui:23
msgid "Nickname" msgid "Nickname"
msgstr "" msgstr "Nombre"
#: ../data/ui/setup.ui:33 #: ../data/ui/setup.ui:33
msgctxt "registration page: input field"
msgid "Choose your nickname" msgid "Choose your nickname"
msgstr "" msgstr "Elegir tu nombre"
#: ../data/ui/setup.ui:44 ../data/ui/setup.ui:97 #: ../data/ui/setup.ui:44
msgctxt "registration page: button – from username to passwords"
msgid "Next" msgid "Next"
msgstr "Seguir" msgstr "Seguir"
#: ../data/ui/setup.ui:75 #: ../data/ui/setup.ui:75
msgctxt "registration page: password input field"
msgid "Choose your password" msgid "Choose your password"
msgstr "" msgstr "Elegir tu contraseña"
#: ../data/ui/setup.ui:86 #: ../data/ui/setup.ui:86
msgctxt "registration page: password input field"
msgid "Confirm your password" msgid "Confirm your password"
msgstr "" msgstr "Confirmar tu contraseña"
#: ../data/ui/setup.ui:97
msgctxt "registration page: button"
msgid "Create Account"
msgstr "Crear cuenta"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment