]> git.ktnx.net Git - mobile-ledger.git/commitdiff
use explicit indices for format strings in string resources
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 16:13:46 +0000 (18:13 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/res/values-bg/strings.xml
app/src/main/res/values/strings.xml

index 59378e6847260813931e2b75ebd042d06224fb9d..48faa15b36d28bad48ba23bd6a48277bd7aeb611 100644 (file)
     <string name="navigation_drawer_open">Отваряне на страничния панел</string>
     <string name="navigation_drawer_close">Затваряне на страничния панел</string>
     <string name="nav_header_desc">Заглавна част на страничния панел</string>
-    <string name="transaction_count_summary">%,d движения към %s</string>
-    <string name="account_count_summary">%,d сметки към %s</string>
+    <string name="transaction_count_summary">%1$,d движения към %2$s</string>
+    <string name="account_count_summary">%1$,d сметки към %2$s</string>
     <string name="server_version_unknown_label">Неизвестна</string>
     <string name="detected_server_pre_1_20_1">Преди 1.20.1</string>
     <string name="detected_version_label">Открита версия</string>
     <string name="template_details_source_literal">ръчно въвеждане</string>
     <string name="account_comment_source_label">Източник на бележка към сметката</string>
     <string name="account_amount_source_label">Източник на името на сметката</string>
-    <string name="template_xxx_deleted">Макетът „%s“ е изтрит</string>
+    <string name="template_xxx_deleted">Макетът „%1$s“ е изтрит</string>
     <string name="action_undo">Връщане</string>
     <string name="pattern_match_result">Резултат от прилагането на шаблона</string>
 </resources>
index f740bc175adeb20e96e846bbe881a78f30a45599..6c812855a8ce7e4b5b40b853b0c5812b642eb271 100644 (file)
     <string name="go_to_date_menu_title">Go to date</string>
     <string name="splash_icon_description">Main app icon</string>
     <string name="sub_accounts_expand_collapse_trigger_description">Sub-accounts expand/collapse trigger</string>
-    <string name="transaction_count_summary">%,d transactions as of %s</string>
-    <string name="account_count_summary">%,d accounts as of %s</string>
+    <string name="transaction_count_summary">%1$,d transactions as of %2$s</string>
+    <string name="account_count_summary">%1$,d accounts as of %2$s</string>
     <string name="server_version_unknown_label">Unknown</string>
     <string name="detected_server_pre_1_20_1">Before 1.20.1</string>
     <string name="detected_version_label">Detected version</string>
     <string name="implementation_pending">Not implemented yet</string>
     <string name="title_edit_template">Edit template</string>
     <string name="title_new_template">New template</string>
-    <string name="template_xxx_deleted">Template \'%s\' deleted</string>
+    <string name="template_xxx_deleted">Template \'%1$s\' deleted</string>
     <string name="action_undo">Undo</string>
     <string name="pattern_match_result">Pattern match result</string>
 </resources>