diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-08-08 22:42:11 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-08-08 22:42:11 +0200 |
commit | 3d007dc962dafc76437bba8f9df0ed2401e809b5 (patch) | |
tree | 3698fd421d090162a75bfc53e397a1e2b4d4e352 /res/values | |
parent | 7ae9b377e1dc2839cc4b0c660cc07fb232f93643 (diff) | |
download | android_packages_wallpapers_PhotoPhase-3d007dc962dafc76437bba8f9df0ed2401e809b5.tar.gz android_packages_wallpapers_PhotoPhase-3d007dc962dafc76437bba8f9df0ed2401e809b5.tar.bz2 android_packages_wallpapers_PhotoPhase-3d007dc962dafc76437bba8f9df0ed2401e809b5.zip |
Show a toast when "Refresh now" action was completed (#15)
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/plurals.xml | 33 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
2 files changed, 33 insertions, 6 deletions
diff --git a/res/values/plurals.xml b/res/values/plurals.xml new file mode 100644 index 0000000..e78ea99 --- /dev/null +++ b/res/values/plurals.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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:android="http://schemas.android.com/apk/res/android" + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <!-- Number of pictures found in an album --> + <plurals name="album_number_of_pictures"> + <item quantity="one">1 picture</item> + <item quantity="other"><xliff:g id="pictures" example="7">%d</xliff:g> pictures</item> + </plurals> + + <!-- Total of pictures found after a media reload --> + <plurals name="msg_media_reload_complete"> + <item quantity="one">Media reload complete. 1 picture found.</item> + <item quantity="other">Media reload complete. <xliff:g id="pictures" example="7">%d</xliff:g> pictures found.</item> + </plurals> + +</resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 48185a1..be80054 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -83,12 +83,6 @@ <string name="pref_about">About</string> <string name="pref_about_summary">PhotoPhase v<xliff:g id="version">%1$s</xliff:g>\nCopyright \u00A9 2013 The CyanogenMod Project</string> - <!-- Plurals --> - <plurals name="album_number_of_pictures"> - <item quantity="one">1 picture</item> - <item quantity="other"><xliff:g id="number" example="7">%d</xliff:g> pictures</item> - </plurals> - <!-- Refresh intervals --> <string name="refresh_intervals_disabled">Disabled</string> <string name="refresh_intervals_1h">1 hour</string> |