Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3417d290 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PM] Move Strings into string.xml

Flag: android.content.pm.use_pia_v2
Test: manual
Bug: 274120822
Change-Id: Ia915e96d2b32e89c5067db2e06bc7857e63eae5e
parent 52bdf8e9
Loading
Loading
Loading
Loading
+160 −0
Original line number Diff line number Diff line
@@ -374,4 +374,164 @@
    <!-- Dialog action to close a dialog. [CHAR LIMIT=30] -->
    <string name="close">Close</string>

    <!-- Package Installer App V2 Strings section start -->

    <!-- Dialog Titles -->
    <string name="title_unknown_source_blocked">Permission required</string>
    <string name="title_install_blocked">Install blocked</string>

    <string name="title_install_staging">Preparing app&#8230;</string>

    <string name="title_install">Install this app?</string>
    <string name="title_installing">Installing&#8230;</string>
    <string name="title_installed">App installed</string>

    <string name="title_reinstall">Reinstall this app?</string>
    <string name="title_reinstalling">Reinstalling&#8230;</string>
    <string name="title_reinstalled">App reinstalled</string>

    <string name="title_update">Update this app?</string>
    <string name="title_update_ownership_change">Update this app using <xliff:g id="new_update_owner">%1$s</xliff:g>?</string>
    <string name="title_updating">Updating&#8230;</string>
    <string name="title_updated">App updated</string>

    <string name="title_cant_install_app">Can\'t install app</string>
    <string name="title_install_failed_blocked">Install blocked</string>
    <string name="title_install_failed_incompatible">App not compatible</string>
    <string name="title_install_failed_invalid_package">Invalid package</string>
    <string name="title_install_failed_less_storage">Not enough storage</string>
    <string name="title_install_failed_not_installed">App not installed</string>

    <string name="title_uninstall">Uninstall this app?</string>
    <string name="title_uninstall_clone">Delete this app clone?</string>
    <string name="title_uninstall_updates_system_app">Uninstall app updates?</string>
    <string name="title_uninstall_updates_system_app_all_users">Uninstall app updates for all users?</string>
    <string name="title_uninstall_all_users">Uninstall this app for all users?</string>
    <string name="title_uninstall_other_user">Uninstall this app for user \'<xliff:g id="user_name">%1$s</xliff:g>\'?</string>
    <string name="title_uninstall_app_not_found">App not found</string>
    <string name="title_uninstall_user_not_allowed">Can\'t uninstall this app</string>
    <string name="title_uninstall_failed">App not uninstalled</string>

    <string name="title_archive">Archive this app?</string>
    <string name="title_archive_all_users">Archive this app for all users?</string>
    <string name="title_archive_other_user">Archive this app for user \'<xliff:g id="user_name">%1$s</xliff:g>\'?</string>
    <string name="title_restore">Restore this app?</string>
    <string name="title_restore_error_user_action_needed">Action required</string>
    <string name="title_restore_error_less_storage">Not enough storage</string>
    <string name="title_restore_error_offline">You\'re offline</string>
    <string name="title_restore_error_installer_disabled"><xliff:g id="installer_name">%1$s</xliff:g> is disabled</string>
    <string name="title_restore_error_installer_absent"><xliff:g id="installer_name">%1$s</xliff:g> is not installed</string>
    <string name="title_restore_error_generic">Something went wrong</string>

    <!-- Dialog Titles end -->

    <!-- Dialog Messages -->
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="tablet">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your tablet. App functionality may change.</string>
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="tv">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your TV. App functionality may change.</string>
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="default">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your phone. App functionality may change.</string>

    <!-- Text to show in warning dialog on the tablet when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="tablet">For your security, your tablet currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the tv when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="tv">For your security, your TV currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the wear when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="watch">For your security, your watch currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the phone when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="default">For your security, your phone currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the phone when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="default">
        Your phone and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        phone or loss of data that may result from its use.
    </string>

    <!-- Text to show in warning dialog on the tablet when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="tablet">
        Your tablet and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        tablet or loss of data that may result from its use.
    </string>

    <!-- Text to show in warning dialog on the tv when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="tv">
        Your TV and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        TV or loss of data that may result from its use.
    </string>

    <string name="message_install_failed_blocked">This app was blocked from being installed</string>
    <string name="message_install_failed_conflict">This app conflicts with an app already on your device</string>
    <string name="message_install_failed_incompatible">This app is not compatible with your device</string>
    <string name="message_install_failed_invalid">There\'s a problem with this app\'s installation file</string>
    <string name="message_install_failed_less_storage">To install this app, free up some space and try again</string>

    <string name="message_parse_failed">There\'s a problem with the app file</string>

    <string name="message_no_install_apps_restriction">Installing apps has been restricted</string>
    <string name="message_no_install_unknown_apps_restriction">Installing unknown apps has been restricted</string>

    <string name="message_uninstall_with_clone_instance">A clone of this app also exists and will be deleted</string>
    <string name="message_delete_clone_app">This app is a clone of <xliff:g id="app_label" example="Example App">%1$s</xliff:g></string>
    <string name="message_uninstall_updates_system_app">This app will be replaced with the factory version. All app data will be removed.</string>
    <string name="message_uninstall_updates_system_app_all_users">This app will be replaced with the factory version for all users on the device. All app data will be removed.</string>
    <string name="message_uninstall_work_profile">This app will be uninstalled from your work profile</string>
    <string name="message_uninstall_private_space">This app will be uninstalled from your private space</string>
    <string name="message_uninstall_app_not_found">This app wasn\'t found in the list of installed apps, or has already been uninstalled</string>
    <string name="message_uninstall_user_not_allowed">The current user is not allowed to perform this uninstallation</string>
    <string name="message_uninstall_failed">This app could not be uninstalled</string>
    <string name="message_uninstall_keep_data">Keep app data</string>

    <string name="message_archive">Your app data will be saved</string>
    <string name="message_archive_all_users">All app data will be saved</string>
    <string name="message_archive_other_user">App data will be saved</string>
    <string name="message_archive_work_profile">This app will be archived from your work profile. Your app data will be saved.</string>
    <string name="message_archive_private_space">This app will be archived from your private space. Your app data will be saved.</string>

    <string name="message_restore">This app will download from <xliff:g id="installer_name">%1$s</xliff:g> in the background</string>
    <string name="message_restore_error_user_action_needed"><xliff:g id="installer_name">%1$s</xliff:g> needs more information before you can restore this app</string>
    <string name="message_restore_error_less_storage">To restore this app, free up &lt;b><xliff:g id="bytes">%1$s</xliff:g>&lt;/b> and try again </string>
    <string name="message_restore_error_offline">To restore this app, check your internet connection and try again</string>
    <string name="message_restore_error_installer_disabled">To restore this app, enable <xliff:g id="installername" example="App Store">%1$s</xliff:g> in Settings</string>
    <string name="message_restore_error_installer_absent">To restore this app, you\'ll need to install <xliff:g id="installer_name">%1$s</xliff:g></string>
    <string name="message_restore_error_generic">There was a problem trying to restore this app</string>

    <!-- TODO: These strings are placeholders, until UX finalizes strings for Uninstall flow. -->
    <string name="message_uninstall_activity"><xliff:g id="activity_name">%1$s</xliff:g> is part of the following app: <xliff:g id="app_name">%2$s</xliff:g></string>
    <!-- End of placeholder strings -->
    <!-- Dialog Messages end -->

    <!-- Dialog Buttons -->
    <string name="button_install">Install</string>
    <string name="button_update">Update</string>
    <string name="button_update_anyway">Update anyway</string>
    <string name="button_done">Done</string>
    <string name="button_open">Open</string>
    <string name="button_cancel">Cancel</string>
    <string name="button_continue">Continue</string>
    <string name="button_close">Close</string>
    <string name="button_uninstall">Uninstall</string>
    <string name="button_delete">Delete</string>
    <string name="button_reinstall">Reinstall</string>
    <string name="button_manage_apps">Manage apps</string>
    <string name="button_archive">Archive</string>
    <string name="button_restore">Restore</string>
    <string name="button_uninstall_updates_system_app">Uninstall updates</string>
    <string name="button_settings">Settings</string>
    <!-- Dialog Buttons end -->

    <!-- Miscellaneous -->
    <string name="string_cloned_app_label"><xliff:g id="package_label">%1$s</xliff:g> Clone</string>
    <!-- Miscellaneous end -->

    <!-- Package Installer App V2 Strings section end -->
</resources>
+0 −179
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2025 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- TODO(b/274120822): Add product configs for required strings -->

    <!-- Dialog Titles -->
    <string name="title_unknown_source_blocked">Permission required</string>
    <string name="title_install_blocked">Install blocked</string>

    <string name="title_install_staging">Preparing app&#8230;</string>

    <string name="title_install">Install this app?</string>
    <string name="title_installing">Installing&#8230;</string>
    <string name="title_installed">App installed</string>

    <string name="title_reinstall">Reinstall this app?</string>
    <string name="title_reinstalling">Reinstalling&#8230;</string>
    <string name="title_reinstalled">App reinstalled</string>

    <string name="title_update">Update this app?</string>
    <string name="title_update_ownership_change">Update this app using <xliff:g id="new_update_owner">%1$s</xliff:g>?</string>
    <string name="title_updating">Updating&#8230;</string>
    <string name="title_updated">App updated</string>

    <string name="title_cant_install_app">Can\'t install app</string>
    <string name="title_install_failed_blocked">Install blocked</string>
    <string name="title_install_failed_incompatible">App not compatible</string>
    <string name="title_install_failed_invalid_package">Invalid package</string>
    <string name="title_install_failed_less_storage">Not enough storage</string>
    <string name="title_install_failed_not_installed">App not installed</string>

    <string name="title_uninstall">Uninstall this app?</string>
    <string name="title_uninstall_clone">Delete this app clone?</string>
    <string name="title_uninstall_updates_system_app">Uninstall app updates?</string>
    <string name="title_uninstall_updates_system_app_all_users">Uninstall app updates for all users?</string>
    <string name="title_uninstall_all_users">Uninstall this app for all users?</string>
    <string name="title_uninstall_other_user">Uninstall this app for user \'<xliff:g id="user_name">%1$s</xliff:g>\'?</string>
    <string name="title_uninstall_app_not_found">App not found</string>
    <string name="title_uninstall_user_not_allowed">Can\'t uninstall this app</string>
    <string name="title_uninstall_failed">App not uninstalled</string>

    <string name="title_archive">Archive this app?</string>
    <string name="title_archive_all_users">Archive this app for all users?</string>
    <string name="title_archive_other_user">Archive this app for user \'<xliff:g id="user_name">%1$s</xliff:g>\'?</string>
    <string name="title_restore">Restore this app?</string>
    <string name="title_restore_error_user_action_needed">Action required</string>
    <string name="title_restore_error_less_storage">Not enough storage</string>
    <string name="title_restore_error_offline">You\'re offline</string>
    <string name="title_restore_error_installer_disabled"><xliff:g id="installer_name">%1$s</xliff:g> is disabled</string>
    <string name="title_restore_error_installer_absent"><xliff:g id="installer_name">%1$s</xliff:g> is not installed</string>
    <string name="title_restore_error_generic">Something went wrong</string>

    <!-- Dialog Titles end -->

    <!-- Dialog Messages -->
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="tablet">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your tablet. App functionality may change.</string>
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="tv">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your TV. App functionality may change.</string>
    <!-- Message for updating an existing app with update owner reminder [CHAR LIMIT=NONE] -->
    <string name="message_update_owner_change" product="default">This app normally receives updates from &lt;b><xliff:g id="existing_update_owner">%1$s</xliff:g>&lt;/b>. By updating using a different source, you may receive future updates from any source on your phone. App functionality may change.</string>

    <!-- Text to show in warning dialog on the tablet when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="tablet">For your security, your tablet currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the tv when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="tv">For your security, your TV currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the wear when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="watch">For your security, your watch currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the phone when the app source is not trusted [CHAR LIMIT=NONE] -->
    <string name="message_external_source_blocked" product="default">For your security, your phone currently isn’t allowed to install unknown apps from this source. You can change this in Settings.</string>

    <!-- Text to show in warning dialog on the phone when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="default">
        Your phone and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        phone or loss of data that may result from its use.
    </string>

    <!-- Text to show in warning dialog on the tablet when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="tablet">
        Your tablet and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        tablet or loss of data that may result from its use.
    </string>

    <!-- Text to show in warning dialog on the tv when the app source cannot be identified [CHAR LIMIT=NONE] -->
    <string name="message_anonymous_source_warning" product="tv">
        Your TV and personal data are more vulnerable
        to attack by unknown apps. By installing this app, you
        agree that you are responsible for any damage to your
        TV or loss of data that may result from its use.
    </string>

    <string name="message_install_failed_blocked">This app was blocked from being installed</string>
    <string name="message_install_failed_conflict">This app conflicts with an app already on your device</string>
    <string name="message_install_failed_incompatible">This app is not compatible with your device</string>
    <string name="message_install_failed_invalid">There\'s a problem with this app\'s installation file</string>
    <string name="message_install_failed_less_storage">To install this app, free up some space and try again</string>

    <string name="message_parse_failed">There\'s a problem with the app file</string>

    <string name="message_no_install_apps_restriction">Installing apps has been restricted</string>
    <string name="message_no_install_unknown_apps_restriction">Installing unknown apps has been restricted</string>

    <string name="message_uninstall_with_clone_instance">A clone of this app also exists and will be deleted</string>
    <string name="message_delete_clone_app">This app is a clone of <xliff:g id="app_label" example="Example App">%1$s</xliff:g></string>
    <string name="message_uninstall_updates_system_app">This app will be replaced with the factory version. All app data will be removed.</string>
    <string name="message_uninstall_updates_system_app_all_users">This app will be replaced with the factory version for all users on the device. All app data will be removed.</string>
    <string name="message_uninstall_work_profile">This app will be uninstalled from your work profile</string>
    <string name="message_uninstall_private_space">This app will be uninstalled from your private space</string>
    <string name="message_uninstall_app_not_found">This app wasn\'t found in the list of installed apps, or has already been uninstalled</string>
    <string name="message_uninstall_user_not_allowed">The current user is not allowed to perform this uninstallation</string>
    <string name="message_uninstall_failed">This app could not be uninstalled</string>
    <string name="message_uninstall_keep_data">Keep app data</string>

    <string name="message_archive">Your app data will be saved</string>
    <string name="message_archive_all_users">All app data will be saved</string>
    <string name="message_archive_other_user">App data will be saved</string>
    <string name="message_archive_work_profile">This app will be archived from your work profile. Your app data will be saved.</string>
    <string name="message_archive_private_space">This app will be archived from your private space. Your app data will be saved.</string>

    <string name="message_restore">This app will download from <xliff:g id="installer_name">%1$s</xliff:g> in the background</string>
    <string name="message_restore_error_user_action_needed"><xliff:g id="installer_name">%1$s</xliff:g> needs more information before you can restore this app</string>
    <string name="message_restore_error_less_storage">To restore this app, free up &lt;b><xliff:g id="bytes">%1$s</xliff:g>&lt;/b> and try again </string>
    <string name="message_restore_error_offline">To restore this app, check your internet connection and try again</string>
    <string name="message_restore_error_installer_disabled">To restore this app, enable <xliff:g id="installername" example="App Store">%1$s</xliff:g> in Settings</string>
    <string name="message_restore_error_installer_absent">To restore this app, you\'ll need to install <xliff:g id="installer_name">%1$s</xliff:g></string>
    <string name="message_restore_error_generic">There was a problem trying to restore this app</string>

    <!-- TODO: These strings are placeholders, until UX finalizes strings for Uninstall flow. -->
    <string name="message_uninstall_activity"><xliff:g id="activity_name">%1$s</xliff:g> is part of the following app: <xliff:g id="app_name">%2$s</xliff:g></string>
    <!-- End of placeholder strings -->
    <!-- Dialog Messages end -->

    <!-- Dialog Buttons -->
    <string name="button_install">Install</string>
    <string name="button_update">Update</string>
    <string name="button_update_anyway">Update anyway</string>
    <string name="button_done">Done</string>
    <string name="button_open">Open</string>
    <string name="button_cancel">Cancel</string>
    <string name="button_continue">Continue</string>
    <string name="button_close">Close</string>
    <string name="button_uninstall">Uninstall</string>
    <string name="button_delete">Delete</string>
    <string name="button_reinstall">Reinstall</string>
    <string name="button_manage_apps">Manage apps</string>
    <string name="button_archive">Archive</string>
    <string name="button_restore">Restore</string>
    <string name="button_uninstall_updates_system_app">Uninstall updates</string>
    <string name="button_settings">Settings</string>
    <!-- Dialog Buttons end -->

    <!-- Miscellaneous -->
    <string name="string_cloned_app_label"><xliff:g id="package_label">%1$s</xliff:g> Clone</string>
    <!-- Miscellaneous end -->

    <!-- Package Installer App V2 Strings section end -->
</resources>