add translations recently needed by core: connectivity, quota, device messages and some other bits (#2053)

This commit is contained in:
bjoern
2021-09-21 01:00:26 +02:00
committed by GitHub
parent 35573e1ec9
commit d7072d57df
2 changed files with 39 additions and 0 deletions
+21
View File
@@ -116,6 +116,8 @@
<!-- Translators: Used in summaries as "Draft: Reply", similar as "Draft: Image". Use a noun here, not a verb (not: "to reply") -->
<string name="reply_noun">Reply</string>
<string name="gif">Gif</string>
<!-- "Stickers" as known from other messengers, please pick up the wording from there; in some languages, "Sticker" in english is just fine. -->
<string name="sticker">Sticker</string>
<string name="images">Images</string>
<string name="audio">Audio</string>
<string name="voice_message">Voice Message</string>
@@ -388,6 +390,7 @@
<!-- this message is shown whenever a link with non-latin characters is clicked. first placeholder is original hostname with special chars, second placeholder is hostname encoded in ascii -->
<string name="puny_code_warning_description">You followed a link which could be misrepresenting characters by using similarly looking ones from different alphabets. Following the link labelled %1$s will lead to %2$s which is normal for non-Latin characters. If you did not expect such characters this link could be harmful</string>
<!-- search -->
<string name="search">Search</string>
<string name="search_explain">Search for chats, contacts, and messages</string>
@@ -420,6 +423,12 @@
<!-- Connectivity -->
<!-- Used as a headline for the "Inbox" eg. in the "Connectivity" view -->
<string name="incoming_messages">Incoming Messages</string>
<!-- Used as a headline for the "Outbox" eg. in the "Connectivity" view -->
<string name="outgoing_messages">Outgoing Messages</string>
<!-- Used as a headline in the "Connectivity" view. The placeholder will be replaced by the domain of the configured email-address. -->
<string name="storage_on_domain">Storage on %1$s</string>
<string name="connectivity">Connectivity</string>
<!-- Shown eg. in the title bar if the app is "Not connected"; as there is very few room, try to be as short as possible. -->
<string name="connectivity_not_connected">Not connected</string>
@@ -429,6 +438,11 @@
<string name="connectivity_updating">Updating…</string>
<!-- Shown eg. in the setting if the app is "Connected" -->
<string name="connectivity_connected">Connected</string>
<string name="sending">Sending…</string>
<string name="last_msg_sent_successfully">Last message sent successfully.</string>
<string name="not_supported_by_provider">Not supported by your provider.</string>
<!-- Used as a subtitle in quota context of "Connetivity" view. Should be be plural always, no number is prefixed or so. -->
<string name="messages">Messages</string>
<!-- welcome and login -->
@@ -700,6 +714,13 @@
<string name="systemmsg_chat_protection_disabled">Chat protection disabled.</string>
<string name="systemmsg_chat_protection_enabled">Chat protection enabled.</string>
<string name="devicemsg_self_deleted">You deleted the \"Saved messages\" chat.\n\n\ℹ️ To use the \"Saved messages\" feature again, create a new chat with yourself.</string>
<!-- %1$s will be replaced by the number of storage already used, sth. as '500 MB'. CAVE: if you want to use a simple the percent sign, type in two, so eg. %1$s %% -->
<string name="devicemsg_storage_exceeding">⚠️ Your provider\'s storage is about to exceed, already %1$s%% are used.\n\nYou may not be able to receive message when the storage is 100%% used.\n\n👉 Please check if you can delete old data in the provider\'s webinterface and consider to enable \"Settings / Delete Old Messages\". You can check your current storage usage anytime at \"Settings / Connectivity\".</string>
<!-- %1%s will be replaced by date and time in some human-readable format -->
<string name="devicemsg_bad_time">⚠️ Date or time of your device seem to be inaccurate (%1$s).\n\nAdjust your clock ⏰🔧 to ensure your messages are received correctly.</string>
<string name="devicemsg_update_reminder">⚠️ Your Delta Chat version might be outdated.\n\nThis may cause problems because your chat partners use newer versions - and you are missing the latest features 😳\nPlease check https://get.delta.chat or your app store for updates.</string>
<!-- Some options as "Manage keys" or "Backup" may require the system PIN/Fingerprint/Gesture/Etc. to be entered in a system dialog. This hint is added to the system dialog, below a title as "Manage keys" or "Backup". -->
<string name="enter_system_secret_to_continue">Please enter your system defined secret to continue.</string>
@@ -142,6 +142,8 @@ public class DcHelper {
dcContext.setStockTranslation(60, context.getString(R.string.login_error_cannot_login));
dcContext.setStockTranslation(62, context.getString(R.string.systemmsg_action_by_user));
dcContext.setStockTranslation(63, context.getString(R.string.systemmsg_action_by_me));
dcContext.setStockTranslation(66, context.getString(R.string.location));
dcContext.setStockTranslation(67, context.getString(R.string.sticker));
dcContext.setStockTranslation(68, context.getString(R.string.device_talk));
dcContext.setStockTranslation(69, context.getString(R.string.saved_messages));
dcContext.setStockTranslation(70, context.getString(R.string.device_talk_explain));
@@ -158,16 +160,32 @@ public class DcHelper {
dcContext.setStockTranslation(82, context.getString(R.string.videochat_invitation));
dcContext.setStockTranslation(83, context.getString(R.string.videochat_invitation_body));
dcContext.setStockTranslation(84, context.getString(R.string.configuration_failed_with_error));
dcContext.setStockTranslation(85, context.getString(R.string.devicemsg_bad_time));
dcContext.setStockTranslation(86, context.getString(R.string.devicemsg_update_reminder));
dcContext.setStockTranslation(88, context.getString(R.string.systemmsg_chat_protection_enabled));
dcContext.setStockTranslation(89, context.getString(R.string.systemmsg_chat_protection_disabled));
dcContext.setStockTranslation(90, context.getString(R.string.reply_noun));
dcContext.setStockTranslation(91, context.getString(R.string.devicemsg_self_deleted));
dcContext.setStockTranslation(93, context.getString(R.string.systemmsg_ephemeral_timer_minutes));
dcContext.setStockTranslation(94, context.getString(R.string.systemmsg_ephemeral_timer_hours));
dcContext.setStockTranslation(95, context.getString(R.string.systemmsg_ephemeral_timer_days));
dcContext.setStockTranslation(96, context.getString(R.string.systemmsg_ephemeral_timer_weeks));
dcContext.setStockTranslation(97, context.getString(R.string.forwarded));
dcContext.setStockTranslation(98, context.getString(R.string.devicemsg_storage_exceeding));
dcContext.setStockTranslation(99, context.getString(R.string.n_bytes_message));
dcContext.setStockTranslation(100, context.getString(R.string.download_max_available_until));
dcContext.setStockTranslation(103, context.getString(R.string.incoming_messages));
dcContext.setStockTranslation(104, context.getString(R.string.outgoing_messages));
dcContext.setStockTranslation(105, context.getString(R.string.storage_on_domain));
dcContext.setStockTranslation(106, context.getString(R.string.one_moment));
dcContext.setStockTranslation(107, context.getString(R.string.connectivity_connected));
dcContext.setStockTranslation(108, context.getString(R.string.connectivity_connecting));
dcContext.setStockTranslation(109, context.getString(R.string.connectivity_updating));
dcContext.setStockTranslation(110, context.getString(R.string.sending));
dcContext.setStockTranslation(111, context.getString(R.string.last_msg_sent_successfully));
dcContext.setStockTranslation(112, context.getString(R.string.error_x));
dcContext.setStockTranslation(113, context.getString(R.string.not_supported_by_provider));
dcContext.setStockTranslation(114, context.getString(R.string.messages));
}
public static File getImexDir() {