diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /android/source/res/values | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'android/source/res/values')
-rw-r--r-- | android/source/res/values/arrays.xml | 62 | ||||
-rw-r--r-- | android/source/res/values/colors.xml | 127 | ||||
-rw-r--r-- | android/source/res/values/dimens.xml | 18 | ||||
-rw-r--r-- | android/source/res/values/ids.xml | 4 | ||||
-rw-r--r-- | android/source/res/values/integers.xml | 6 | ||||
-rw-r--r-- | android/source/res/values/strings.xml | 244 | ||||
-rw-r--r-- | android/source/res/values/themes.xml | 32 |
7 files changed, 493 insertions, 0 deletions
diff --git a/android/source/res/values/arrays.xml b/android/source/res/values/arrays.xml new file mode 100644 index 000000000..edea6443b --- /dev/null +++ b/android/source/res/values/arrays.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <integer-array name="FilterTypeValues"> + <item >-1</item> + <item >0</item> + <item >1</item> + <item >2</item> + </integer-array> + <string-array name="FilterTypeStringValues"> + <item >-1</item> + <item >0</item> + <item >1</item> + <item >2</item> + <item >3</item> + </string-array> + <string-array name="SupportedLanguagesValues"> + <item>SYSTEM_DEFAULT_LANGUAGE</item> + <item >de</item> + <item >en</item> + <item >tr</item> + </string-array> + <string-array name="SortModeStringValues"> + <item >0</item> + <item >1</item> + <item >2</item> + <item >3</item> + <item >4</item> + <item >5</item> + </string-array> + <!-- View Mode names,values --> + <string-array name="ViewModeNames"> + <item >@string/grid_view</item> + <item >@string/list_view</item> + </string-array> + <string-array name="ViewModeStringValues"> + <item >0</item> + <item >1</item> + </string-array> + <string-array name="FilterTypeNames"> + <item>@string/filter_everything</item> + <item>@string/filter_documents</item> + <item>@string/filter_spreadsheets</item> + <item>@string/filter_presentations</item> + <item>@string/filter_drawings</item> + </string-array> + <string-array name="SupportedLanguages"> + <item>(System Default)</item> + <item>Deutsch</item> + <item>English</item> + <item>Turkçe</item> + </string-array> + <string-array name="SortModeNames"> + <item >@string/sort_az</item> + <item >@string/sort_za</item> + <item >@string/sort_oldest</item> + <item >@string/sort_newest</item> + <item >@string/sort_largest</item> + <item >@string/sort_smallest</item> + </string-array> + + +</resources> diff --git a/android/source/res/values/colors.xml b/android/source/res/values/colors.xml new file mode 100644 index 000000000..3defb9a3e --- /dev/null +++ b/android/source/res/values/colors.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<resources> + <color name="background_light">#FAFAFA</color> <!--Material Grey 50--> + <color name="background_normal">#F5F5F5</color> <!--Material Grey 100--> + <color name="background_private">#FF292C29</color> + <color name="background_tabs">#FF363B40</color> + <color name="highlight">#33000000</color> + <color name="highlight_focused">#1A000000</color> + <color name="highlight_dark">#33FFFFFF</color> + <color name="highlight_dark_focused">#1AFFFFFF</color> + + <!-- highlight on shaped button: 20% white over background_tabs --> + <color name="highlight_shaped">#FF696D71</color> + + <!-- highlight-focused on shaped button: 10% white over background_tabs --> + <color name="highlight_shaped_focused">#FF565B60</color> + + <!-- highlight on nav button: 20% black over background_normal --> + <color name="highlight_nav">#FFA5ACB2</color> + + <!-- highlight-focused on nav button: 10% black over background_normal --> + <color name="highlight_nav_focused">#FFB9C1C7</color> + + <!-- highlight on private nav button: 20% white over background_private --> + <color name="highlight_nav_pb">#FF545654</color> + + <!-- highlight-focused on private nav button: 10% white over background_private --> + <color name="highlight_nav_focused_pb">#FF3F423F</color> + + <!-- + Application theme colors + --> + <!-- Default colors --> + <color name="text_color_primary">#222222</color> + <color name="text_color_secondary">#777777</color> + <color name="text_color_tertiary">#9198A1</color> + + <!-- Default inverse colors --> + <color name="text_color_primary_inverse">#FFFFFF</color> + <color name="text_color_secondary_inverse">#DDDDDD</color> + <color name="text_color_tertiary_inverse">#A4A7A9</color> + + <!-- Disabled colors --> + <color name="text_color_primary_disable_only">#999999</color> + + <!-- Hint colors --> + <color name="text_color_hint">#666666</color> + <color name="text_color_hint_inverse">#7F828A</color> + + <!-- Highlight colors --> + <color name="text_color_highlight">#FF9500</color> + <color name="text_color_highlight_inverse">#D06BFF</color> + + <!-- Link colors --> + <color name="text_color_link">#22629E</color> + + <color name="splash_background">#000000</color> + <color name="splash_msgfont">#ffffff</color> + <color name="splash_urlfont">#000000</color> + <color name="splash_content">#ffffff</color> + + <color name="doorhanger_text">#FF222222</color> + <color name="doorhanger_link">#FF2AA1FE</color> + <color name="doorhanger_divider_light">#FFD1D5DA</color> + <color name="doorhanger_divider_dark">#FFB3C2CE</color> + <color name="doorhanger_background_dark">#FFDDE4EA</color> + + <color name="validation_message_text">#ffffff</color> + <color name="url_bar_text_highlight">#FFFF9500</color> + <color name="url_bar_text_highlight_pb">#FFD06BFF</color> + <color name="suggestion_primary">#dddddd</color> + <color name="suggestion_pressed">#bbbbbb</color> + <color name="tab_row_pressed">#4D000000</color> + <color name="dialogtitle_textcolor">#ffffff</color> + + <color name="textbox_background">#FFF</color> + <color name="textbox_background_disabled">#DDD</color> + <color name="textbox_stroke">#000</color> + <color name="textbox_stroke_disabled">#666</color> + + <color name="url_bar_urltext">#A6A6A6</color> + <color name="url_bar_domaintext">#000</color> + <color name="url_bar_domaintext_private">#FFF</color> + <color name="url_bar_blockedtext">#b14646</color> + <color name="url_bar_shadow">#12000000</color> + + <color name="home_last_tab_bar_bg">#FFF5F7F9</color> + + <color name="panel_grid_item_image_background">#D1D9E1</color> + + <color name="toolbar_foreground">#3e3e3e</color> + <color name="toolbar_background">#ffffff</color> + + <color name="handle_color">#26a69a</color> + + <color name="button_selected_background">#33000000</color> + <color name="fontBlack">#000000</color> + <color name="fontDarkRed">#990000</color> + <color name="fontRed">#FF0000</color> + <color name="fontOrange">#FF8000</color> + <color name="fontYellow">#FFFF00</color> + <color name="fontGreen">#00FF00</color> + <color name="fontCyan">#00FFFF</color> + <color name="fontLightBlue">#0080FF</color> + <color name="fontBlue">#0000FF</color> + <color name="fontPurple">#990099</color> + <color name="fontPink">#FF00FF</color> + + <integer-array name="fontcolors"> + <item>@color/fontBlack</item> + <item>@color/fontDarkRed</item> + <item>@color/fontRed</item> + <item>@color/fontOrange</item> + <item>@color/fontYellow</item> + <item>@color/fontGreen</item> + <item>@color/fontCyan</item> + <item>@color/fontLightBlue</item> + <item>@color/fontBlue</item> + <item>@color/fontPurple</item> + <item>@color/fontPink</item> + </integer-array> +</resources> + diff --git a/android/source/res/values/dimens.xml b/android/source/res/values/dimens.xml new file mode 100644 index 000000000..ca91a2f30 --- /dev/null +++ b/android/source/res/values/dimens.xml @@ -0,0 +1,18 @@ +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> + <dimen name="text_selection_handle_width">30dp</dimen> + <dimen name="text_selection_handle_height">44dp</dimen> + <dimen name="text_selection_handle_shadow">2dp</dimen> + <dimen name="file_icon_margin_end">8dp</dimen> + <dimen name="list_item_margin">8dp</dimen> + <dimen name="file_icon_width">32dp</dimen> + <dimen name="toolbar_height">256dp</dimen> + <dimen name="calc_header_width">48dp</dimen> + <dimen name="calc_header_height">24dp</dimen> + <dimen name="calc_toolbar_height">40dp</dimen> + <dimen name="calc_address_bar_width">96dp</dimen> + <dimen name="new_doc_fab_tweak_top">-11dp</dimen> + <dimen name="new_doc_fab_tweak_bottom">-7dp</dimen> +</resources> diff --git a/android/source/res/values/ids.xml b/android/source/res/values/ids.xml new file mode 100644 index 000000000..e57595b74 --- /dev/null +++ b/android/source/res/values/ids.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + <item name="dummy_id_for_package_name_resolution" type="id"/> +</resources> diff --git a/android/source/res/values/integers.xml b/android/source/res/values/integers.xml new file mode 100644 index 000000000..aeb71c399 --- /dev/null +++ b/android/source/res/values/integers.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <integer name="grid_view_integer">0</integer> + +</resources>
\ No newline at end of file diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml new file mode 100644 index 000000000..3669d0a2e --- /dev/null +++ b/android/source/res/values/strings.xml @@ -0,0 +1,244 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="app_name">LibreOffice Viewer</string> + <string name="app_name_settings">LibreOffice Viewer Settings</string> + + <string name="app_about_name"><b>LibreOffice Viewer \'Beta\'</b></string> + <string name="app_version">Version: %1$s\nBuild ID: %2$s</string> + <string name="app_description">LibreOffice Viewer is a document viewer based on LibreOffice.</string> + <string name="app_credits">https://www.libreoffice.org</string> + <string name="app_vendor">This release was supplied by $VENDOR.</string> + <string name="temp_file_saving_disabled">This file is read-only, saving is disabled.</string> + + <string name="about_license">Show License</string> + <string name="about_notice">Show Notice</string> + <string name="about_moreinfo">More Info</string> + <string name="back_again_to_quit">Press back again to quit</string> + + <string name="new_textdocument">New Text Document</string> + <string name="new_presentation">New Presentation</string> + <string name="new_spreadsheet">New Spreadsheet</string> + <string name="new_drawing">New Drawing</string> + <string name="default_document_name">untitled</string> + + <string name="browser_app_name">LibreOffice Browser</string> + <string name="menu_search">Search</string> + <string name="list_view">List</string> + <string name="grid_view">Grid</string> + <string name="filter">Filter by</string> + <string name="search_not_found">Keyword not found</string> + <string name="sort">Sort by</string> + <string name="sort_smallest">Smallest first</string> + <string name="sort_largest">Largest first</string> + <string name="sort_az">A-Z</string> + <string name="sort_za">Z-A</string> + <string name="sort_oldest">Oldest first</string> + <string name="sort_newest">Newest first</string> + <string name="menu_sort_size">Sort By Size</string> + <string name="menu_sort_az">Sort A-Z</string> + <string name="menu_sort_modified">Sort by Date</string> + <string name="menu_preferences">Preferences</string> + <string name="file_icon_desc">fileicon</string> + <string name="title_recents">Recent files</string> + <string name="title_browser">All files</string> + <!-- Pref keys as resources ; Not currently used --> + <string name="EXPLORER_VIEW_TYPE_KEY">EXPLORER_VIEW_TYPE</string> + <string name="CURRENT_DIRECTORY_KEY">CURRENT_DIRECTORY</string> + <string name="pref_category_explorer">File Explorer Settings</string> + <string name="pref_category_general">General</string> + <string name="pref_experimental_editing">Experimental Mode</string> + <string name="pref_experimental_editing_summary">Enable the experimental editing mode. Use at your own risk.</string> + <string name="pref_show_hidden_files">Hidden Files/Folders</string> + <string name="pref_show_hidden_files_summary">Enable to show hidden files/folders</string> + <string name="pref_developer_mode">Developer Mode</string> + <string name="pref_developer_mode_summary">Enable developer mode where you can send UNO commands within app. Use at your own risk.</string> + + <string name="action_about">About</string> + <string name="action_parts">Parts</string> + <string name="action_settings">Settings</string> + <string name="open">Open</string> + <string name="share">Share</string> + <string name="share_via">Share via</string> + + <!-- Document browser filters --> + <string name="filter_everything">Everything</string> + <string name="filter_documents">Documents</string> + <string name="filter_spreadsheets">Spreadsheets</string> + <string name="filter_presentations">Presentations</string> + <string name="filter_drawings">Drawings</string> + + <!-- Document provider names --> + <string name="document_locations">Document locations</string> + <string name="close_document_locations">Close document locations</string> + <string name="local_documents">Documents directory</string> + <string name="local_file_system">Local file system</string> + <string name="external_sd_file_system">External SD</string> + <string name="otg_file_system">OTG device (experimental)</string> + <string name="owncloud">Remote server</string> + <string name="usb_connected_configure">USB connected, configure your device.</string> + + <string name="owncloud_wrong_connection">Cannot connect to ownCloud server. Check your configuration.</string> + <string name="owncloud_unauthorized">Cannot log into ownCloud server. Check your configuration.</string> + <string name="owncloud_unspecified_error">Unspecified error connecting to ownCloud server. Check your configuration and/or try later.</string> + + <string name="ext_document_provider_error">Invalid root file. Check your sd card configuration.</string> + <string name="legacy_extsd_missing_error">Invalid root file. Check your external sd card and/or configuration.</string> + <string name="otg_missing_error">Invalid root file. Check your OTG device and/or configuration.</string> + + <!-- Edit action names --> + <string name="action_bold">Bold</string> + <string name="action_underline">Underline</string> + <string name="action_italic">Italic</string> + <string name="action_strikeout">Strike Out</string> + <string name="action_keyboard">Show keyboard</string> + <string name="action_save">Save</string> + <string name="action_fromat">Enable Format</string> + <string name="action_search">Search</string> + <string name="action_UNO_commands">Send UNO Cmd</string> + + <!-- Feedback messages --> + <string name="message_saved">Save complete</string> + <string name="message_saving">Saving the document…</string> + <string name="message_save_incomplete">Save incomplete. Were there any changes?</string> + <string name="create_new_file_success">"Created new file - "</string> + <string name="create_new_file_error">Unable to create new file, please check entered file name.</string> + + <!-- Document provider settings --> + <string name="storage_provider_settings">Storage provider settings</string> + <string name="owncloud_settings">ownCloud settings</string> + <string name="physical_storage_settings">Physical storage settings</string> + <string name="external_sd_path">External SD path</string> + <string name="otg_device_path">OTG device path</string> + <string name="otg_warning">Experimental Feature: Use only if OTG device is writable.</string> + <string name="server_url">Server URL</string> + <string name="server_url_and_port">URL and port of the ownCloud server.</string> + <string name="user_name">User name</string> + <string name="password">Password</string> + <string name="action_undo">Undo</string> + <string name="action_redo">Redo</string> + + <!-- Directory browser strings --> + <string name="up_description">To parent directory</string> + <string name="confirm_label">Confirm</string> + <string name="cancel_label">Cancel</string> + <string name="search_label">Go</string> + <string name="directory_browser_label">Choose Directory</string> + <string name="bad_directory">Invalid directory path</string> + <string name="current_dir">Current Directory: %1$s</string> + + <!-- Save Alert dialog strings --> + <string name="save_alert_dialog_title">Save the document before closing?</string> + <string name="save_document">SAVE</string> + <string name="action_cancel">Cancel</string> + <string name="no_save_document">NO</string> + + <!-- Create New Document Dialog Strings --> + <string name="create_new_document_title">Enter file name</string> + <string name="action_create">CREATE</string> + + <!-- Presentation Mode Strings --> + <string name="action_presentation">Slide show</string> + <string name="action_add_slide">Add Slide</string> + <string name="alert_copy_svg_slide_show_to_clipboard">Your Android device doesn\'t support in-app svg slideshow. We copied the slideshow link to clipboard. Please press home button, open a modern web browser, paste in the address bar, and go.</string> + <string name="alert_copy_svg_slide_show_to_clipboard_dismiss">OK</string> + <string name="slideshow_action_back">Back</string> + + <!-- Calc Header Menu Strings --> + <string name="calc_insert_before">Insert</string> + <string name="calc_delete">Delete</string> + <string name="calc_hide">Hide</string> + <string name="calc_show">Show</string> + <string name="calc_optimal_length">Optimal Length</string> + <string name="calc_adjust_length">Adjust Length</string> + <string name="calc_adjust_height">Adjust Height</string> + <string name="calc_adjust_width">Adjust Width</string> + <string name="calc_optimal_height">Optimal Height</string> + <string name="calc_optimal_width">Optimal Width</string> + <string name="calc_optimal_length_confirm">OK</string> + <string name="calc_optimal_length_default_text">Enter Extra Length in 100th/mm</string> + <string name="calc_alert_double_click_optimal_length">Hint: Double tap on a header sets optimal width/height.</string> + <string name="action_add_worksheet">Add Worksheet</string> + + <!-- Password dialog strings --> + <string name="action_pwd_dialog_OK">OK</string> + <string name="action_pwd_dialog_cancel">Cancel</string> + <string name="action_pwd_dialog_title">Please enter password</string> + + <!-- Insert Image Strings --> + <string name="take_photo">Take Photo</string> + <string name="select_photo">Select Photo</string> + <string name="select_photo_title">Select Picture</string> + <string name="no_camera_found">No Camera Found</string> + <string name="compress_photo_smallest_size">Smallest Size</string> + <string name="compress_photo_medium_size">Medium Size</string> + <string name="compress_photo_max_quality">Max Quality</string> + <string name="compress_photo_no_compress">Don\'t Compress</string> + <string name="compress_photo_title">Do you want to compress the photo?</string> + + <!-- Clipboard Actions --> + <string name="action_copy">Copy</string> + <string name="action_paste">Paste</string> + <string name="action_cut">Cut</string> + <string name="action_back">Back</string> + <string name="action_text_copied">Text copied to the clipboard</string> + <string name="insert_table">Insert table</string> + <string name="select_insert_options">Select insert options:</string> + <string name="select_delete_options">Select delete options:</string> + <string name="action_rename_worksheet">Rename worksheet</string> + <string name="action_delete_worksheet">Delete worksheet</string> + <string name="action_delete_slide">Delete slide</string> + <string name="name_already_used">Given name is already being used.</string> + <string name="part_name_changed">Part name has been changed.</string> + <string name="part_deleted">Part has been deleted.</string> + <string-array name="insertrowscolumns"> + <item>Insert Rows Before</item> + <item>Insert Rows After</item> + <item>Insert Columns Before</item> + <item>Insert Columns After</item> + <item>Insert Table</item> + </string-array> + <string-array name="deleterowcolumns"> + <item>Delete Rows</item> + <item>Delete Columns</item> + <item>Delete Table</item> + </string-array> + + <!-- UNO cmd controller Strings --> + <string name="UNO_commands_string_hint">UNO Command</string> + <string name="UNO_commands_string_type_hint">Type</string> + <string name="UNO_commands_string_value_hint">Value</string> + <string name="UNO_commands_string_parent_value_hint">Parent Value</string> + <string name="action_exportToPDF">Export To PDF</string> + <string name="action_print">Print</string> + <string name="tabhost_character">Character</string> + <string name="tabhost_paragraph">Paragraph</string> + <string name="tabhost_insert">Insert</string> + <string name="tabhost_style">Style</string> + <string name="alert_ok">OK</string> + <string name="alert_cancel">Cancel</string> + <string name="unable_to_go_further">Unable to go further.</string> + <string name="current_uno_command">Current UNO command</string> + <string name="pref_sort_summary">Select how to order files: A-Z, by size or by date.</string> + <string name="pref_viewmode_summary">View files as a grid or in a list.</string> + <string name="pref_file_explorer_title">File explorer layout</string> + <string name="pref_sort_title">File Order</string> + <string name="pref_filter_title">Default File Filter</string> + <string name="pref_filter_summary">Set which file filter should be used by default.</string> + <string name="display_language">Display Language</string> + <string name="display_language_summary">Set the default display language</string> + <string name="unable_to_export_pdf">Unable to export to pdf</string> + <string name="pdf_exported_at">Exported to PDF at</string> + <string name="printing_not_supported">Your device does not support printing</string> + <string name="error">Error</string> + <string name="enter_part_name">Enter a part name</string> + <string name="bmp_null">Bmp is null!</string> + <string name="directory_not_saved">Directory not saved.</string> + <string name="page">Page</string> + <string name="sheet">Sheet</string> + <string name="slide">Slide</string> + <string name="part">Part</string> + <string name="highlight_color">Highlight Color</string> + <string name="font_color">Font Color</string> + <string name="action_rename_slide">Rename Slide</string> +</resources> diff --git a/android/source/res/values/themes.xml b/android/source/res/values/themes.xml new file mode 100644 index 000000000..8576f9c22 --- /dev/null +++ b/android/source/res/values/themes.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:tools="http://schemas.android.com/tools"> + <style name="LibreOfficeTheme" parent="LibreOfficeTheme.Base"/> + + <style name="LibreOfficeTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"> + </style> + + <style name="ListItemText"> + <item name="android:gravity">center_vertical</item> + <item name="android:textColor">@android:color/black</item> + <item name="android:textSize">14sp</item> + </style> + + <style name="LibreOfficeTheme.Toolbar" parent="Theme.AppCompat.Light.NoActionBar"> + <item name="colorPrimary">@color/toolbar_background</item> + </style> + + <style name="LibreOfficeTheme.NavigationView"> + <item name="colorPrimary">@android:color/black</item> + </style> + + <style name="NewDocumentTextView"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:elevation" tools:ignore="NewApi">2dp</item> + <item name="android:textSize">16sp</item> + <item name="android:textStyle">bold</item> + <item name="android:typeface">normal</item> + <item name="android:padding">5dp</item> + <item name="android:background">@drawable/label_background</item> + </style> +</resources> |