samsung: doze: Commonize strings translations
authorAbhisek Devkota <ciwrl@cyanogenmod.com>
Thu, 24 Nov 2016 02:13:45 +0000 (18:13 -0800)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:37 +0000 (14:56 +0100)
 * Translations moved to the new project
    android_packages_resources_devicesettings

Change-Id: I06536915e1963a2fe464c3d6c46dd8728aba0cb4
Signed-off-by: Adrian DC <radian.dc@gmail.com>
doze/Android.mk
doze/AndroidManifest.xml
doze/res/values/strings.xml [deleted file]
doze/res/xml/gesture_panel.xml

index 07b7cac0502caf3ea9eb3ad68a72674b8da1c5ca..687b0310d7c454dfa06496f332a18e801292f935 100644 (file)
@@ -20,6 +20,7 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
 
 LOCAL_RESOURCE_DIR := \
     $(LOCAL_PATH)/res \
+    $(LOCAL_PATH)/../../../../packages/resources/devicesettings/res \
     frameworks/support/v14/preference/res \
     frameworks/support/v7/appcompat/res \
     frameworks/support/v7/preference/res \
index b14e9e032360effcab6dc4523b5defa9724445de..7406d8de73ddf04da17b8b3ac55fb0be99b87376 100644 (file)
@@ -15,7 +15,7 @@
         android:targetSdkVersion="21"/>
 
     <application
-        android:label="SamsungDoze"
+        android:label="@string/device_settings_app_name"
         android:persistent="true">
 
         <receiver android:name="com.cyanogenmod.settings.device.BootCompletedReceiver">
diff --git a/doze/res/values/strings.xml b/doze/res/values/strings.xml
deleted file mode 100644 (file)
index 6a765f3..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-     Copyright (C) 2015 The CyanogenMod 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
-    <!-- Gesture shortcuts -->
-    <string name="screen_gestures_panel_title">Gestures</string>
-
-    <string name="ambient_display_title">Ambient display</string>
-
-    <string name="ambient_display_enable_title">Ambient display</string>
-    <string name="ambient_display_enable_summary">Wake screen when you receive notifications</string>
-
-    <string name="hand_wave_gesture_title">Pulse on hand wave</string>
-    <string name="hand_wave_gesture_summary">Pulse notifications on hand wave</string>
-
-    <string name="pocket_gesture_title">Pulse on removal from pocket</string>
-    <string name="pocket_gesture_summary">Pulse notifications on removal from pocket</string>
-
-    <string name="proximity_wake_title">Proximity wake</string>
-
-    <string name="proximity_wake_enable_title">Wake on hand wave</string>
-    <string name="proximity_wake_enable_summary">Wake device on hand wave</string>
-
-</resources>
index 40a017ce967d92e77bcc228885ca8e602979c684..f9113785387ae986959b2236a360f36c24617056 100644 (file)
@@ -18,7 +18,7 @@
 
     <PreferenceCategory
         android:key="ambient_display_key"
-        android:title="@string/ambient_display_title" >
+        android:title="@string/ambient_display_title">
 
         <SwitchPreference
             android:key="ambient_display_enable"
@@ -41,7 +41,7 @@
 
     <PreferenceCategory
         android:key="proximity_wake_key"
-        android:title="@string/proximity_wake_title" >
+        android:title="@string/proximity_wake_title">
 
         <SwitchPreference
             android:key="proximity_wake_enable"
@@ -50,4 +50,4 @@
             android:summary="@string/proximity_wake_enable_summary" />
     </PreferenceCategory>
 
-</PreferenceScreen>
\ No newline at end of file
+</PreferenceScreen>