From b688bf995ed0f207bdde27076f82be0e9cd03a92 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 27 Mar 2025 18:53:47 +0100 Subject: [PATCH 1/3] Change translations + only first letter should be uppercase Signed-off-by: Marcel Hibbe --- app/src/main/res/values/strings.xml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index dcbfa5238..73e2c5981 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -118,7 +118,7 @@ How to translate with transifex: follow_system night_no Use system default - Set by Battery Saver + Set by battery saver Light Dark Privacy @@ -774,8 +774,8 @@ How to translate with transifex: Translation failed Could not detect language Copy translated text - Danger Zone - Filter Conversations + Danger zone + Filter conversations Mentioned Unread 3128 @@ -791,26 +791,26 @@ How to translate with transifex: Custom Set Calendar - Video Call - Audio Call + Video call + Audio call started a call Error 429 Too Many Requests Caption Retrieval failed Languages could not be retrieved - Edit Message Icon + Edit message icon Edit - Send Edit Message - Clear Edit Message + Send edit message + Clear edit message Cannot Edit Messages older than 24 hours Conversation is read only - Edit Message Text + Edit message text (edited) Conversation not found Add to Notes Edited by admin - Clear Edit Button - Edit Icon + Clear edit button + Edit icon Failed to fetch pending invitations Edited by %1$s Join conversation %1$s at %2$s @@ -826,9 +826,9 @@ How to translate with transifex: Ban Show ban reason Error occurred when unbanning participant - Connection lost - Archive Conversation - Unarchive Conversation + No connection to server + Archive conversation + Unarchive conversation Archived Once a conversation is archived, it will be hidden by default. Select the filter \"Archived\" to view archived conversations. Direct mentions will still be received. Once a conversation is unarchived, it will be shown by default again. @@ -842,7 +842,7 @@ How to translate with transifex: %1$s is out of office today Replacement: Resend - No conversations archived + No archived conversations Archived %1$s Unarchived %1$s From 59d37b2a2eea89c7d147397486ce6522af29a769 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 27 Mar 2025 18:58:15 +0100 Subject: [PATCH 2/3] Change rules to work with translation file Signed-off-by: Marcel Hibbe --- app/src/main/res/values/strings.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 73e2c5981..256ade15e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,7 +2,8 @@ How to work with translations as a developer: - Only add new translations to values/stings.xml, don't do this for other languages (it will be done via transifex). - Never change the key of a translation. If it really has to be changed, delete it and create a new entry instead. -- If you change a value in values/strings.xml, also backport this to all stable branches. +- Values in values/strings.xml are allowed to be modified. For bigger changes consider to add a new key-value pair. +- Only the first letter of a sentence should be uppercase, all following words should be lowercase. - Translations are synced every night (or when manually triggered): - New entries are added to transifex.com - Updated translations from transifex are added via Nextcloud bot to this repo. From b17cf0abfed39ca95e851178ded29842163279a9 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Wed, 9 Apr 2025 17:18:16 +0200 Subject: [PATCH 3/3] Apply suggestions from code review improve more strings Co-authored-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com> Signed-off-by: Marcel Hibbe --- app/src/main/res/values/strings.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 256ade15e..5ff7d3021 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -799,19 +799,19 @@ How to translate with transifex: Caption Retrieval failed Languages could not be retrieved - Edit message icon + Edit message Edit - Send edit message - Clear edit message - Cannot Edit Messages older than 24 hours + Update message + Cancel editing + Messages older than 24 hours can not be edited Conversation is read only - Edit message text + Edit message (edited) Conversation not found Add to Notes Edited by admin - Clear edit button - Edit icon + Cancel editing + Edit Failed to fetch pending invitations Edited by %1$s Join conversation %1$s at %2$s