diff options
author | Alex Ning <chineseperson5@gmail.com> | 2022-01-14 12:57:16 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2022-01-14 12:57:16 +0000 |
commit | 4d0b8b4672d33212cbdbee9f835d4f29f178523a (patch) | |
tree | 57a09ced23dc0ca6c2783d6153e7e832432599c5 /app/src/main/res/values | |
parent | 6f1cd194cb2e573fdc2f3d928be0207ca8fa08df (diff) | |
download | infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar.gz infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar.bz2 infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar.lz infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar.xz infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.tar.zst infinity-for-reddit-4d0b8b4672d33212cbdbee9f835d4f29f178523a.zip |
Add options to set custom fonts.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index c54e574d..8c5c60aa 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -162,6 +162,7 @@ <item>Manrope (No Italic)</item> <item>Manrope Bold (No Italic)</item> <item>Sriracha</item> + <item>@string/settings_custom_font_family_title</item> </string-array> <string-array name="settings_font_family_values"> @@ -179,6 +180,7 @@ <item>Manrope</item> <item>ManropeBold</item> <item>Sriracha</item> + <item>Custom</item> </string-array> <string-array name="settings_tab_post_type"> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 11f1d66d..a82d844d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -619,6 +619,9 @@ <string name="settings_legacy_autoplay_video_controller_ui_title">Legacy Video Controller UI</string> <string name="settings_pinch_to_zoom_video_title">Pinch to Zoom Video</string> <string name="settings_experimental_feature">Experimental feature</string> + <string name="settings_custom_font_family_title">Custom Font Family</string> + <string name="settings_custom_title_font_family_title">Custom Title Font Family</string> + <string name="settings_custom_content_font_family_title">Custom Content Font Family</string> <string name="no_link_available">Cannot get the link</string> @@ -1245,4 +1248,9 @@ <string name="message_save_profile_success">Save profile successfully</string> <string name="message_save_profile_failed">Failed to save profile %s</string> + <string name="select_a_ttf_font">Select a ttf font file</string> + <string name="unable_to_get_font_file">Unable to get your font</string> + <string name="unable_to_load_font">Unable to load custom font</string> + <string name="unable_to_copy_font_file">Unable to copy your font</string> + </resources> |