diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-07-28 18:13:16 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-07-28 18:13:16 +0200 |
commit | 0398c846f6836b734bf3432696df1e04e86d8867 (patch) | |
tree | 65643fadb0b6d3ca16078c03605e219f9750a038 /resources/langs | |
parent | Fix message_type not being initialized correctly (diff) | |
download | nheko-0398c846f6836b734bf3432696df1e04e86d8867.tar.xz |
Add 'and' to typing display
Diffstat (limited to 'resources/langs')
-rw-r--r-- | resources/langs/nheko_de.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_el.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_en.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_fi.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_fr.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_nl.ts | 17 | ||||
-rw-r--r-- | resources/langs/nheko_pl.ts | 18 | ||||
-rw-r--r-- | resources/langs/nheko_ru.ts | 18 | ||||
-rw-r--r-- | resources/langs/nheko_zh_CN.ts | 16 |
9 files changed, 73 insertions, 81 deletions
diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts index 1f856b80..80a50ae2 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts @@ -494,15 +494,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> tippt</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> tippen</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation> + <numerusform>%1%2 tippt</numerusform> + <numerusform>%1 und %2 tippen</numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_el.ts b/resources/langs/nheko_el.ts index e50aadad..ead1ed69 100644 --- a/resources/langs/nheko_el.ts +++ b/resources/langs/nheko_el.ts @@ -494,15 +494,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> πληκτρολογεί</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> πληκτρολογούν</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts index e031c4ec..0ab8d6d8 100644 --- a/resources/langs/nheko_en.ts +++ b/resources/langs/nheko_en.ts @@ -494,15 +494,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation type="unfinished"></translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation type="unfinished"></translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation> + <numerusform>%1%2 is typing</numerusform> + <numerusform>%1 and %2 are typing</numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_fi.ts b/resources/langs/nheko_fi.ts index 2baba55d..95403f3e 100644 --- a/resources/langs/nheko_fi.ts +++ b/resources/langs/nheko_fi.ts @@ -494,15 +494,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation type="unfinished"></translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation type="unfinished"></translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_fr.ts b/resources/langs/nheko_fr.ts index 355c4325..9c7f25c6 100644 --- a/resources/langs/nheko_fr.ts +++ b/resources/langs/nheko_fr.ts @@ -495,15 +495,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> est en train d'écrire</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> sont en train d'écrire</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts index db56dc0f..dbf81401 100644 --- a/resources/langs/nheko_nl.ts +++ b/resources/langs/nheko_nl.ts @@ -494,15 +494,14 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> is aan het typen</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> zijn aan het typen</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_pl.ts b/resources/langs/nheko_pl.ts index 34a4ed26..f4cbfd56 100644 --- a/resources/langs/nheko_pl.ts +++ b/resources/langs/nheko_pl.ts @@ -494,15 +494,15 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> pisze</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> piszą</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_ru.ts b/resources/langs/nheko_ru.ts index afe36ef9..f31b23cf 100644 --- a/resources/langs/nheko_ru.ts +++ b/resources/langs/nheko_ru.ts @@ -494,15 +494,15 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> печатает</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> печатают</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + <numerusform></numerusform> + <numerusform></numerusform> + </translation> </message> </context> <context> diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts index 607b2ba9..8da7c475 100644 --- a/resources/langs/nheko_zh_CN.ts +++ b/resources/langs/nheko_zh_CN.ts @@ -494,15 +494,13 @@ </context> <context> <name>TypingDisplay</name> - <message> - <location filename="../../src/TypingDisplay.cpp" line="+46"/> - <source> is typing</source> - <translation> 正在打字</translation> - </message> - <message> - <location line="+2"/> - <source> are typing</source> - <translation> 正在打字</translation> + <message numerus="yes"> + <location filename="../../src/TypingDisplay.cpp" line="+37"/> + <source>%1 and %2 are typing</source> + <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> + <translation type="unfinished"> + <numerusform></numerusform> + </translation> </message> </context> <context> |