From b2de8df237d9c0bff46d319008478e67504aeaa1 Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Thu, 11 Jun 2020 09:29:47 +0200 Subject: [PATCH] Simplify translations fo formatting help --- .../owncloud/notes/formattinghelp/FormattingHelpActivity.java | 2 +- 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 @@ - [x] %1$s - [ ] %1$s > %1$s + > ~~ ** * @@ -284,7 +285,7 @@ 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. This is a third-tier heading You can use one %1$s all the way up to %2$s six for different heading sizes. - If you\'d like to quote someone, use the > character before the line: + If you\'d like to quote someone, use the %1$s character before the line: Coffee. The finest organic suspension ever devised… I beat the Borg with it. - Captain Janeway