0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00

Don't translate strings that just display preference value in summary

This commit is contained in:
timrae 2015-06-30 14:07:29 +09:00
parent aaf1fe139f
commit df3ad0174e
8 changed files with 18 additions and 26 deletions

View File

@ -18,6 +18,9 @@
~ You should have received a copy of the GNU General Public License along with
~ this program. If not, see <http://www.gnu.org/licenses/>.
--><resources xmlns:tools="http://schemas.android.com/tools">
<!-- How to format a percentage shown in the summary field of a preference -->
<string name="preference_summary_percentage">XXX%</string>
<!-- Navigation drawer strings -->
<string name="drawer_open">Open drawer</string>
<string name="drawer_close">Close drawer</string>

View File

@ -43,7 +43,6 @@
<!-- preferences.xml entries-->
<string name="whiteboard_stroke_width">Stroke width</string>
<string name="whiteboard_stroke_width_summ">XXX</string>
<string name="whiteboard_black">Black strokes</string>
<string name="whiteboard_black_summ">Uses less memory, unless in night mode</string>
<string name="write_answers_disable">Disable typing in answer</string>
@ -51,21 +50,15 @@
<string name="text_selection_click">Long press workaround</string>
<string name="text_selection_click_summ">Enable this if you are not able to select text with a long press</string>
<string name="dictionary">Lookup dictionary</string>
<string name="dictionary_summ">XXX</string>
<string name="reset_languages">Reset languages</string>
<string name="reset_languages_summ">Reset language assignments (for text to speech and dictionaries) for all decks. Reset specific deck assignments on deck picker.</string>
<string name="reset_languages_question">Reset all language assignments?</string>
<string name="reset_confirmation">All states reset</string>
<string name="card_zoom">Card zoom</string>
<string name="card_zoom_summ">XXX%</string>
<string name="image_zoom">Image zoom</string>
<string name="image_zoom_summ">XXX%</string>
<string name="button_size">Answer button size</string>
<string name="button_size_summ">XXX%</string>
<string name="card_browser_font_size">Card browser font scaling</string>
<string name="card_browser_font_size_summ">XXX%</string>
<string name="col_path">Collection path</string>
<string name="col_path_summ">XXX</string>
<string name="fullscreen_review">Fullscreen mode</string>
<string name="fullscreen_review_summ">Hide the system status bar</string>
<string name="gestures">Enable gestures</string>
@ -84,7 +77,6 @@
<string name="double_scrolling_gap">Double scrolling</string>
<string name="double_scrolling_gap_summ">Double the scroll gap with eReader</string>
<string name="swipe_sensitivity">Swipe sensitivity</string>
<string name="swipe_sensitivity_summ">XXX</string>
<string name="tts">Text to speech</string>
<string name="tts_summ">Reads out question and answer if no sound file is included</string>
<string name="sync_fetch_missing_media">Fetch media on sync</string>
@ -97,11 +89,8 @@
<string name="fix_hebrew_instructions">This setting bypasses the RTL algorithm of Android to show Hebrew text with vowels correctly.\n\nFor this to work, you need to download font Tohu.ttf and copy it manually to\n“%s/fonts/”\n\nYou wont have to modify your cards.</string>
<string name="fix_hebrew_download_font">Download font</string>
<string name="default_font">Default font</string>
<string name="default_font_summ">XXX</string>
<string name="override_font">Default font applicability</string>
<string name="override_font_summ">XXX</string>
<string name="language">Language</string>
<string name="language_summ">XXX</string>
<string name="language_system">System language</string>
<string name="notification_pref">Notifications</string>
<string name="notification_pref_title">Notify when</string>
@ -122,7 +111,6 @@
<string name="vertical_centering">Center align</string>
<string name="vertical_centering_summ">Center the content of cards vertically</string>
<string name="pref_backup_max">Max number of backups</string>
<string name="pref_backup_max_summ">XXX</string>
<string name="show_estimates">Show button time</string>
<string name="show_estimates_summ">Show next review time on answer buttons</string>
<string name="show_progress">Show remaining</string>
@ -204,7 +192,6 @@
<string name="deck_conf_set_subdecks_title">Set for all subdecks</string>
<string name="deck_conf_set_subdecks_message">Set current options group for all of this decks subdecks?</string>
<string name="pref_browser_editor_font">Browser and editor font</string>
<string name="pref_browser_editor_font_summ">XXX</string>
<string name="deck_conf_cram_filter">Filter</string>
<string name="deck_conf_cram_options">Options</string>
<string name="deck_conf_cram_search">Search</string>

View File

@ -21,6 +21,8 @@
-->
<!-- App name -->
<string name="app_name">AnkiDroid</string>
<!-- Text to be shown in preference summary -->
<string name="preference_summary_literal">XXX</string>
<!-- Used in deck preferences -->
<string-array name="dictionary_labels">
<item>None</item>

View File

@ -35,7 +35,7 @@
android:defaultValue="8"
android:key="backupMax"
android:max="10"
android:summary="@string/pref_backup_max_summ"
android:summary="@string/preference_summary_literal"
android:text=""
android:title="@string/pref_backup_max"
app:interval="1"
@ -83,7 +83,7 @@
android:entries="@array/dictionary_labels"
android:entryValues="@array/dictionary_values"
android:key="dictionary"
android:summary="@string/dictionary_summ"
android:summary="@string/preference_summary_literal"
android:title="@string/dictionary" />
<com.ichi2.preferences.CustomDialogPreference
android:dialogIcon="@android:drawable/ic_dialog_alert"

View File

@ -30,14 +30,14 @@
android:defaultValue=""
android:key="defaultFont"
android:shouldDisableView="true"
android:summary="@string/default_font_summ"
android:summary="@string/preference_summary_literal"
android:title="@string/default_font" />
<ListPreference
android:defaultValue="0"
android:key="overrideFontBehavior"
android:entries="@array/override_font_labels"
android:entryValues="@array/override_font_values"
android:summary="@string/override_font_summ"
android:summary="@string/preference_summary_literal"
android:title="@string/override_font" />
<ListPreference
android:defaultValue=""
@ -48,7 +48,7 @@
android:defaultValue="100"
android:key="relativeCardBrowserFontSize"
android:max="200"
android:summary="@string/card_browser_font_size_summ"
android:summary="@string/preference_summary_percentage"
android:text=" %"
android:title="@string/card_browser_font_size"
app:interval="10"

View File

@ -28,7 +28,7 @@
<EditTextPreference
android:defaultValue="/sdcard/AnkiDroid"
android:key="deckPath"
android:summary="@string/col_path_summ"
android:summary="@string/preference_summary_literal"
android:title="@string/col_path" />
<Preference
android:dialogTitle="@string/sync_account"
@ -54,7 +54,7 @@
<ListPreference
android:defaultValue=""
android:key="language"
android:summary="@string/language_summ"
android:summary="@string/preference_summary_literal"
android:title="@string/language" />
<ListPreference
android:defaultValue="2"

View File

@ -34,10 +34,10 @@
<com.ichi2.ui.SeekBarPreference
android:defaultValue="100"
android:dependency="gestures"
android:dialogMessage="@string/swipe_sensitivity_summ"
android:dialogMessage="@string/preference_summary_literal"
android:key="swipeSensitivity"
android:max="180"
android:summary="@string/swipe_sensitivity_summ"
android:summary="@string/preference_summary_literal"
android:text=""
android:title="@string/swipe_sensitivity"
app:interval="1"

View File

@ -82,7 +82,7 @@
android:defaultValue="100"
android:key="cardZoom"
android:max="150"
android:summary="@string/card_zoom_summ"
android:summary="@string/preference_summary_percentage"
android:text=" %"
android:title="@string/card_zoom"
app:interval="10"
@ -91,7 +91,7 @@
android:defaultValue="100"
android:key="imageZoom"
android:max="300"
android:summary="@string/image_zoom_summ"
android:summary="@string/preference_summary_percentage"
android:text=" %"
android:title="@string/image_zoom"
app:interval="10"
@ -100,7 +100,7 @@
android:defaultValue="100"
android:key="answerButtonSize"
android:max="170"
android:summary="@string/button_size_summ"
android:summary="@string/preference_summary_percentage"
android:text=" %"
android:title="@string/button_size"
app:interval="10"
@ -115,7 +115,7 @@
android:defaultValue="6"
android:key="whiteBoardStrokeWidth"
android:max="30"
android:summary="@string/whiteboard_stroke_width_summ"
android:summary="@string/preference_summary_literal"
android:text=""
android:title="@string/whiteboard_stroke_width" />
<CheckBoxPreference