diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-11 10:29:47 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-06-11 10:29:47 +0300 |
commit | b2de8df237d9c0bff46d319008478e67504aeaa1 (patch) | |
tree | 96d4bd66a54f34d5a47c9f238c6ce56d4bba4e4d /app/src | |
parent | 7c278d323356b2df9878f33c12fbd75542f89036 (diff) |
Simplify translations fo formatting help
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/formattinghelp/FormattingHelpActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/formattinghelp/FormattingHelpActivity.java b/app/src/main/java/it/niedermann/owncloud/notes/formattinghelp/FormattingHelpActivity.java index 17c0f2e6..299a9b18 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/formattinghelp/FormattingHelpActivity.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/formattinghelp/FormattingHelpActivity.java @@ -136,7 +136,7 @@ public class FormattingHelpActivity extends BrandedActivity { lineBreak + getString(R.string.formatting_help_structured_documents_body_3, "`#`", "`######`") + lineBreak + lineBreak + - getString(R.string.formatting_help_structured_documents_body_4) + lineBreak + + getString(R.string.formatting_help_structured_documents_body_4, getString(R.string.formatting_help_quote_keyword)) + lineBreak + lineBreak + getString(R.string.formatting_help_quote, getString(R.string.formatting_help_structured_documents_body_5)) + lineBreak + getString(R.string.formatting_help_quote, getString(R.string.formatting_help_structured_documents_body_6)) + lineBreak; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index beba2396..1b6898a9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -253,6 +253,7 @@ <string name="formatting_help_checkbox_checked" translatable="false">- [x] %1$s</string> <string name="formatting_help_checkbox_unchecked" translatable="false">- [ ] %1$s</string> <string name="formatting_help_quote" translatable="false">> %1$s</string> + <string name="formatting_help_quote_keyword" translatable="false">></string> <string name="formatting_help_strike_through" translatable="false">~~</string> <string name="formatting_help_bold" translatable="false">**</string> <string name="formatting_help_italic" translatable="false">*</string> @@ -284,7 +285,7 @@ <string name="formatting_help_structured_documents_body_1">Sometimes it\'s useful to have different levels of headings to structure your documents. Start lines with a %1$s to create headings. Multiple %2$s in a row denote smaller heading sizes.</string> <string name="formatting_help_structured_documents_body_2">This is a third-tier heading</string> <string name="formatting_help_structured_documents_body_3">You can use one %1$s all the way up to %2$s six for different heading sizes.</string> - <string name="formatting_help_structured_documents_body_4">If you\'d like to quote someone, use the > character before the line:</string> + <string name="formatting_help_structured_documents_body_4">If you\'d like to quote someone, use the %1$s character before the line:</string> <string name="formatting_help_structured_documents_body_5">Coffee. The finest organic suspension ever devised… I beat the Borg with it.</string> <string name="formatting_help_structured_documents_body_6">- Captain Janeway</string> |