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

Commit d4c7b497 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Print - Settings

Change-Id: Id662a41fb189823c6d06aafc7e98996f3ef6c930
parent fb0c7c70
Loading
Loading
Loading
Loading
+33 −4
Original line number Diff line number Diff line
@@ -3189,10 +3189,10 @@
    <!-- Title for accessibility menu item to lauch a settings activity. [CHAR LIMIT=15] -->
    <string name="accessibility_menu_item_settings">Settings</string>

    <!-- Summary for the enabled state of an accessiblity feature. [CHAR LIMIT=10] -->
    <string name="accessibility_feature_state_on">On</string>
    <!-- Summary for the disabled state of an accessiblity feature. [CHAR LIMIT=10] -->
    <string name="accessibility_feature_state_off">Off</string>
    <!-- Summary for the enabled state of a feature. [CHAR LIMIT=10] -->
    <string name="feature_state_on">On</string>
    <!-- Summary for the disabled state of a feature. [CHAR LIMIT=10] -->
    <string name="feature_state_off">Off</string>

    <!-- Title for a warning about security implications of enabling an accessibility
         service. [CHAR LIMIT=NONE] -->
@@ -3232,6 +3232,35 @@
    <!-- Accessibility settings: button for lauching settings for an accessibility service -->
    <string name="settings_button">Settings</string>

     <!-- Printing settings -->
    <skip />

    <!-- Title in main settings screen for printing settings [CHAR LIMIT=15] -->
    <string name="print_settings">Printing</string>
    <!-- Title for print service settings screen [CHAR LIMIT=25] -->
    <string name="print_settings_title">Printing settings</string>
    <!-- Title for the printing preference category of print services. [CHAR LIMIT=25] -->
    <string name="print_services_title">Services</string>

    <!-- Title for a warning message about security implications of enabling a print service,
         displayed as a dialog message when the user selects to enable a print service (tablet). [CHAR LIMIT=NONE] -->
    <string name="print_service_security_warning_title">Use
         <xliff:g id="service" example="My Print Service">%1$s</xliff:g>?</string>
    <!-- Summary for a warning message about security implications of enabling a print service,
         displayed as a dialog message when the user selects to enable a print service. [CHAR LIMIT=NONE] -->
    <string name="print_service_security_warning_summary">
         <xliff:g id="print_service_name">%1$s</xliff:g> can receive documents you print.
         Such documents may contain sensitive data.</string>

    <!-- Title for the prompt shown as a placeholder if no print serivices are installed. [CHAR LIMIT=50] -->
    <string name="print_no_services_installed">No services installed</string>

    <!-- Title for print menu item to launch a settings activity. [CHAR LIMIT=25] -->
    <string name="print_menu_item_settings">Settings</string>

    <!-- Title for print menu item to launch the add printers activity. [CHAR LIMIT=25] -->
    <string name="print_menu_item_add_printers">Add printers</string>

    <!-- App Fuel Gauge strings -->
    <skip />

+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 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

          http://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.
-->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
        android:title="@string/print_settings_title">

    <PreferenceCategory
            android:key="services_category"
            android:title="@string/print_services_title">
    </PreferenceCategory>

</PreferenceScreen>
+7 −0
Original line number Diff line number Diff line
@@ -175,6 +175,13 @@
        android:icon="@drawable/ic_settings_accessibility"
        android:title="@string/accessibility_settings" />

    <!-- Print -->
    <header
        android:id="@+id/print_settings"
        android:fragment="com.android.settings.PrintingSettings"
        android:icon="@drawable/ic_settings_accessibility"
        android:title="@string/print_settings" />

    <!-- Development -->
    <header
        android:id="@+id/development_settings"
+2 −2
Original line number Diff line number Diff line
@@ -405,9 +405,9 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
            final boolean serviceEnabled = accessibilityEnabled
                    && enabledServices.contains(componentName);
            if (serviceEnabled) {
                preference.setSummary(getString(R.string.accessibility_feature_state_on));
                preference.setSummary(getString(R.string.feature_state_on));
            } else {
                preference.setSummary(getString(R.string.accessibility_feature_state_off));
                preference.setSummary(getString(R.string.feature_state_off));
            }

            preference.setOrder(i);
+587 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading