diff options
author | Stefan Niedermann <info@niedermann.it> | 2021-09-17 14:24:06 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2021-09-17 14:24:51 +0300 |
commit | ff2cab8f5c932ce50480728c008d83d66ce37f5b (patch) | |
tree | 72212515710393cd3351afbe4f65a2fd84edad48 /app/src/main/res | |
parent | b6afb118548475fb2f44aaf562d76d7cc9019d33 (diff) |
#1348 Make translations easier by removing HTML markup from strings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_about_license_tab.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 21 |
2 files changed, 22 insertions, 11 deletions
diff --git a/app/src/main/res/layout/fragment_about_license_tab.xml b/app/src/main/res/layout/fragment_about_license_tab.xml index 6afaa763..24e6163f 100644 --- a/app/src/main/res/layout/fragment_about_license_tab.xml +++ b/app/src/main/res/layout/fragment_about_license_tab.xml @@ -39,11 +39,17 @@ android:text="@string/about_icons_disclaimer_title" /> <TextView - android:id="@+id/about_icons_disclaimer" - style="?android:attr/editTextPreferenceStyle" + android:id="@+id/about_icons_disclaimer_app_icon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="10dp" + android:text="@string/about_icons_disclaimer_app_icon" /> + + <TextView + android:id="@+id/about_icons_disclaimer_mdi_icons" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="10dp" - android:text="@string/about_icons_disclaimer" /> + android:text="@string/about_icons_disclaimer_mdi_icons" /> </LinearLayout> </ScrollView>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d5b03716..4977b691 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -59,29 +59,35 @@ <string name="url_issues" translatable="false">https://github.com/stefan-niedermann/nextcloud-notes/issues/new/choose</string> <string name="url_license" translatable="false">https://github.com/stefan-niedermann/nextcloud-notes/blob/master/LICENSE</string> <string name="url_translations" translatable="false">https://www.transifex.com/nextcloud/nextcloud/</string> + <string name="url_maintainer" translatable="false">https://www.niedermann.it/</string> + <string name="url_about_icon_author" translatable="false">https://github.com/nextcloud/notes/blob/76d15214f80f2bf7ea08427bff73ad145128f090/img/notes.svg</string> + <string name="url_about_icons_disclaimer_mdi" translatable="false">https://materialdesignicons.com/</string> <string name="about_version_title">Version</string> <string name="about_version">You are currently using <strong>%1$s</strong></string> <string name="about_maintainer_title">Maintainer</string> - <string name="about_maintainer" translatable="false"><a href="https://www.niedermann.it/">Niedermann IT-Dienstleistungen</a></string> + <string name="about_maintainer" translatable="false">Niedermann IT-Dienstleistungen</string> <string name="about_developers_title">Developers</string> <string name="about_developers" translatable="false">Stefan Niedermann, Kristof Hamann, HeaDBanGer84, Felix Edelmann, Daniel Bailey</string> <string name="about_translators_title">Translators</string> - <string name="about_translators_transifex">Nextcloud community on <a href="%1$s">Transifex</a></string> + <string name="about_translators_transifex">Nextcloud community on %1$s</string> + <string name="about_translators_transifex_label" translatable="false">Transifex</string> <string name="about_testers_title">Testers</string> <string name="about_testers" translatable="false">Jan C. Borchardt</string> <string name="about_source_title">Source code</string> - <string name="about_source">This project is hosted on GitHub: <a href="%1$s">%1$s</a></string> + <string name="about_source">This project is hosted on GitHub: %1$s</string> <string name="about_issues_title">Issues</string> - <string name="about_issues">You can report bugs, enhancement proposals and feature requests at the GitHub issue tracker: <a href="%1$s">%1$s</a></string> + <string name="about_issues">You can report bugs, enhancement proposals and feature requests at the GitHub issue tracker: %1$s</string> <string name="about_translate_title">Translate</string> - <string name="about_translate">Join the Nextcloud team on Transifex and help us to translate this app: <a href="%1$s">%1$s</a></string> + <string name="about_translate">Join the Nextcloud team on Transifex and help us to translate this app: %1$s</string> <string name="about_app_license_title">App license</string> <string name="about_app_license">This application is licensed under the GNU GENERAL PUBLIC LICENSE v3+.</string> <string name="about_app_license_button">View license</string> - <string name="about_app_icon_author" translatable="false"><a href="http://jancborchardt.net/">Jan C. Borchardt</a> (<a href="https://github.com/nextcloud/notes/blob/76d15214f80f2bf7ea08427bff73ad145128f090/img/notes.svg">GitHub</a>)</string> + <string name="about_app_icon_author_link_label" translatable="false">GitHub</string> <string name="about_icons_disclaimer_title">Icons</string> - <string name="about_icons_disclaimer"><p>Original icon made by %1$s.</p><p>All further icons used by this app are <a href="https://materialdesignicons.com/">Material Design Icons</a> made by Google Inc. and licensed under the Apache 2.0 License.</p></string> + <string name="about_icons_disclaimer_app_icon">For the original icon see %1$s.</string> + <string name="about_icons_disclaimer_mdi_icons">All further icons used by this app are %1$s made by Google Inc. and licensed under the Apache 2.0 License.</string> + <string name="about_icons_disclaimer_mdi">Material Design Icons</string> <string name="about_credits_tab_title">Credits</string> <string name="about_contribution_tab_title">Contribution</string> <string name="about_license_tab_title">License</string> @@ -298,7 +304,6 @@ <string name="simple_next">Next</string> <string name="simple_prev">Previous</string> <string name="simple_backup">Backup</string> - <string name="simple_repair">Repair</string> <string name="backup">We detected an irrecoverably state of the app. Please backup your unsynchronized changes and clear the storage of the Notes app.</string> <string name="settings_notes_path_description">Folder to store your notes in your Nextcloud</string> <string-array name="settings_file_suffixes"> |