Import translations. DO NOT MERGE am: e946a53ce3  -s ours
am: 90059b7c5c  -s ours

* commit '90059b7c5c14d1ac79c4a3c0ce2e990fbe0e6e1c':

Change-Id: Ic5040ac54b6e214e2304c6e6edac6b62fc0211e9
diff --git a/res/values-be-rBY/strings.xml b/res/values-be-rBY/strings.xml
deleted file mode 100644
index bedfa29..0000000
--- a/res/values-be-rBY/strings.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-     Copyright (C) 2012 Google Inc.
-     Licensed to 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.
- -->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <string name="photo_view_count" msgid="3466690572899800275">"<xliff:g id="CURRENT_POS">%d</xliff:g> з <xliff:g id="COUNT">%d</xliff:g>"</string>
-    <string name="retry" msgid="3319517143224679074">"Паўтарыць спробу"</string>
-    <string name="failed" msgid="1458877219699376279">"Не атрымалася загрузіць выяву"</string>
-    <string name="titles" msgid="8072357561981153438">"<xliff:g id="TITLE_0">%s</xliff:g>, <xliff:g id="SUBTITLE">%s</xliff:g>"</string>
-</resources>
diff --git a/res/values-bs-rBA/strings.xml b/res/values-bs-rBA/strings.xml
deleted file mode 100644
index f383117..0000000
--- a/res/values-bs-rBA/strings.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-     Copyright (C) 2012 Google Inc.
-     Licensed to 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.
- -->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <string name="photo_view_count" msgid="3466690572899800275">"<xliff:g id="CURRENT_POS">%d</xliff:g> od <xliff:g id="COUNT">%d</xliff:g>"</string>
-    <string name="retry" msgid="3319517143224679074">"Pokušaj ponovo"</string>
-    <string name="failed" msgid="1458877219699376279">"Nije moguće učitati sliku"</string>
-    <string name="titles" msgid="8072357561981153438">"<xliff:g id="TITLE_0">%s</xliff:g>, <xliff:g id="SUBTITLE">%s</xliff:g>"</string>
-</resources>
diff --git a/sample/res/values-be-rBY/strings.xml b/sample/res/values-be-rBY/strings.xml
deleted file mode 100644
index d52e8ad..0000000
--- a/sample/res/values-be-rBY/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<resources xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string>
-    <string name="menu_settings" msgid="1259682084875185697">"Налады"</string>
-    <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string>
-    <string name="launch" msgid="2345080120370773520">"Запусцiць Photo Viewer"</string>
-</resources>
diff --git a/sample/res/values-bs-rBA/strings.xml b/sample/res/values-bs-rBA/strings.xml
deleted file mode 100644
index f780058..0000000
--- a/sample/res/values-bs-rBA/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<resources xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string>
-    <string name="menu_settings" msgid="1259682084875185697">"Postavke"</string>
-    <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string>
-    <string name="launch" msgid="2345080120370773520">"Pokreni preglednik slika"</string>
-</resources>
diff --git a/sample/res/values-ml-rIN/strings.xml b/sample/res/values-ml-rIN/strings.xml
index 1ee119a..54e4e76 100644
--- a/sample/res/values-ml-rIN/strings.xml
+++ b/sample/res/values-ml-rIN/strings.xml
@@ -2,7 +2,7 @@
 <resources xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string>
-    <string name="menu_settings" msgid="1259682084875185697">"ക്രമീകരണം"</string>
+    <string name="menu_settings" msgid="1259682084875185697">"ക്രമീകരണങ്ങൾ"</string>
     <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string>
     <string name="launch" msgid="2345080120370773520">"ഫോട്ടോ വ്യൂവർ സമാരംഭിക്കുക"</string>
 </resources>
diff --git a/sample/res/values-ne-rNP/strings.xml b/sample/res/values-ne-rNP/strings.xml
index 678706d..c512e50 100644
--- a/sample/res/values-ne-rNP/strings.xml
+++ b/sample/res/values-ne-rNP/strings.xml
@@ -4,5 +4,5 @@
     <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string>
     <string name="menu_settings" msgid="1259682084875185697">"सेटिङहरू"</string>
     <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string>
-    <string name="launch" msgid="2345080120370773520">"तस्बिर देखाउने सुरु गर्नुहोस्"</string>
+    <string name="launch" msgid="2345080120370773520">"फोटो देखाउने सुरु गर्नुहोस्"</string>
 </resources>
diff --git a/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java b/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
index b7f87f8..8407a01 100644
--- a/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
+++ b/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
@@ -120,7 +120,7 @@
         if (value == null) {
             return false;
         } else {
-            return Boolean.valueOf(value);
+            return Boolean.parseBoolean(value);
         }
     }