diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2014-02-16 15:35:59 +0200 |
---|---|---|
committer | Matt Wagantall <mwagantall@cyngn.com> | 2016-02-19 14:07:43 -0800 |
commit | 755c03322743f28381c130402bbdc31771c26d31 (patch) | |
tree | 9591ab892db05536bdde1be64c429b69098a7466 /FMRecord | |
parent | deb38276d1bfcad79833d92a83ec4efbf62cd44a (diff) | |
download | android_hardware_qcom_fm-755c03322743f28381c130402bbdc31771c26d31.tar.gz android_hardware_qcom_fm-755c03322743f28381c130402bbdc31771c26d31.tar.bz2 android_hardware_qcom_fm-755c03322743f28381c130402bbdc31771c26d31.zip |
FM: Cleanup resources
* Remove unused layouts/drawables
* Remove unused strings
* Remove CAF chinese translations
* Improve strings
* Move debug strings/arrays to debug_strings.xml/debug_arrays.xml
* Move transmitter strings to transmit_strings.xml
Change-Id: I5b391b459aefa75a6c3edbc525d471a3bcefb2be
Diffstat (limited to 'FMRecord')
-rw-r--r-- | FMRecord/res/values-zh-rCN/strings.xml | 46 | ||||
-rw-r--r-- | FMRecord/res/values-zh-rTW/strings.xml | 43 | ||||
-rw-r--r-- | FMRecord/res/values/strings.xml | 7 |
3 files changed, 4 insertions, 92 deletions
diff --git a/FMRecord/res/values-zh-rCN/strings.xml b/FMRecord/res/values-zh-rCN/strings.xml deleted file mode 100644 index 660f743..0000000 --- a/FMRecord/res/values-zh-rCN/strings.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* - * Copyright (C) 2012-2013, The Linux Foundation. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of The Linux Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN - * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - --> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="spaceIsLow_content">"USB 存储设备空间不足,请更改录音时长设置,或删除某些录音或者其他文件。</string> - - <!-- prompt message for stopping record --> - <string name="save_record_file">"录音已保存至 "<xliff:g id="record_file">%1$s</xliff:g>"</string> - <!-- all recordings will show up in the media database with this 'artist' name --> - <string name="audio_db_artist_name">我的 FM 录音</string> - <!-- all recordings will show up in the media database with this 'album' name --> - <string name="audio_db_album_name">FM 录音</string> - <!-- all recordings will show up in the media database in a playlist with this name --> - <string name="audio_db_playlist_name">FM 录音</string> - <string name="fm_record_progress">FM 录音进行中</string> - <string name="FMRecording_reach_size_limit">已到达最长限制.</string> - <string name="unable_to_store">无法保存已录音频</string> -</resources> diff --git a/FMRecord/res/values-zh-rTW/strings.xml b/FMRecord/res/values-zh-rTW/strings.xml deleted file mode 100644 index 8820deb..0000000 --- a/FMRecord/res/values-zh-rTW/strings.xml +++ /dev/null @@ -1,43 +0,0 @@ -<!-- -Copyright (c) 2012, The Linux Foundation. All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of the Linux Foundation nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="spaceIsLow_content">USB 存儲設備空間不足,請更改錄音時長設置,或刪除某些錄音或者其他檔案。</string> - <string name="sdcard_no_space_cannot_recording">SD卡空間不足,不能錄音</string> - <string name="recording_stop_no_space">SD卡空間不足,錄音停止</string> - <string name="audio_db_artist_name">我的FM錄音</string> - <!-- all recordings will show up in the media database with this 'album' name --> - <string name="audio_db_album_name">FM 錄音</string> - <!-- all recordings will show up in the media database in a playlist with this name --> - <string name="audio_db_playlist_name">FM 錄音</string> - <string name="fm_record_progress">FM 錄音進行中</string> - <string name="unable_to_store">無法保存已錄音頻</string> - <string name="FMRecording_reach_size_limit">已到達最長限制.</string> - <!-- prompt message for stopping record --> - <string name="save_record_file">錄音已保存至 "<xliff:g id="record_file">%1$s</xliff:g>"</string> -</resources> diff --git a/FMRecord/res/values/strings.xml b/FMRecord/res/values/strings.xml index 244d41c..f8eb734 100644 --- a/FMRecord/res/values/strings.xml +++ b/FMRecord/res/values/strings.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. + * Copyright (C) 2014-2015 The CyanogenMod Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -28,7 +29,7 @@ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- alert to the user that USB storage must be available before using FM recording [CHAR LIMIT=NONE] --> - <string name="no_storage">Mount SD card before start recording.</string> + <string name="no_storage">Mount SD card before starting recording.</string> <!-- alert to the user that the USB storage is being disk-checked [CHAR LIMIT=30] --> <string name="preparing_sd">Preparing SD card</string> <!-- alert to the user that the FM fails to read or write the USB storage. [CHAR LIMIT=NONE] --> @@ -45,7 +46,7 @@ <string name="audio_db_album_name">FM recordings</string> <!-- all recordings will show up in the media database in a playlist with this name --> <string name="audio_db_playlist_name">FM recordings</string> - <string name="save_record_file">FM Recorded file saved to "<xliff:g id="record_file">%1$s</xliff:g>"</string> - <string name="fm_record_progress">FM Recording in progress</string> + <string name="save_record_file">FM recorded file saved to \'<xliff:g id="record_file">%1$s</xliff:g>\'</string> + <string name="fm_record_progress">FM recording in progress</string> <string name="unable_to_store">Unable to save recorded audio</string> </resources> |