Askuser-popup for IoT profile 72/232872/1 accepted/tizen/unified/20200510.220437 submit/tizen/20200508.055810
authorYunjin Lee <yunjin-.lee@samsung.com>
Fri, 8 May 2020 05:25:55 +0000 (14:25 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Fri, 8 May 2020 05:25:55 +0000 (14:25 +0900)
Change-Id: Ic65062e8cfcf109c56bcec77a64a45bf9c221f1f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
98 files changed:
CMakeLists.txt [new file with mode: 0644]
LICENSE [new file with mode: 0644]
NOTICE [new file with mode: 0644]
common/include/common_utils.h [new file with mode: 0644]
common/src/common_utils.c [new file with mode: 0644]
packaging/changes [new file with mode: 0644]
packaging/org.tizen.askuser-popup.manifest [new file with mode: 0644]
packaging/org.tizen.askuser-popup.spec [new file with mode: 0755]
packaging/org.tizen.askuser-popup.xml [new file with mode: 0755]
po/CMakeLists.txt [new file with mode: 0755]
po/ar.po [new file with mode: 0755]
po/as.po [new file with mode: 0755]
po/az.po [new file with mode: 0755]
po/be_BY.po [new file with mode: 0755]
po/bg.po [new file with mode: 0755]
po/bn.po [new file with mode: 0755]
po/bn_BD.po [new file with mode: 0755]
po/bs_BA.po [new file with mode: 0755]
po/ca.po [new file with mode: 0755]
po/cs.po [new file with mode: 0755]
po/da.po [new file with mode: 0755]
po/de.po [new file with mode: 0755]
po/el_GR.po [new file with mode: 0755]
po/en.po [new file with mode: 0755]
po/en_PH.po [new file with mode: 0755]
po/en_US.po [new file with mode: 0755]
po/es_ES.po [new file with mode: 0755]
po/es_US.po [new file with mode: 0755]
po/et.po [new file with mode: 0755]
po/eu.po [new file with mode: 0755]
po/fa.po [new file with mode: 0755]
po/fi.po [new file with mode: 0755]
po/fr.po [new file with mode: 0755]
po/fr_CA.po [new file with mode: 0755]
po/ga.po [new file with mode: 0755]
po/gl.po [new file with mode: 0755]
po/gu.po [new file with mode: 0755]
po/he.po [new file with mode: 0755]
po/hi.po [new file with mode: 0755]
po/hr.po [new file with mode: 0755]
po/hu.po [new file with mode: 0755]
po/hy.po [new file with mode: 0755]
po/id.po [new file with mode: 0755]
po/is.po [new file with mode: 0755]
po/it_IT.po [new file with mode: 0755]
po/ja_JP.po [new file with mode: 0755]
po/ka.po [new file with mode: 0755]
po/kk.po [new file with mode: 0755]
po/km.po [new file with mode: 0755]
po/kn.po [new file with mode: 0755]
po/ko_KR.po [new file with mode: 0755]
po/ky_KG.po [new file with mode: 0755]
po/lo.po [new file with mode: 0755]
po/lt.po [new file with mode: 0755]
po/lv.po [new file with mode: 0755]
po/mk.po [new file with mode: 0755]
po/ml.po [new file with mode: 0755]
po/mn_MN.po [new file with mode: 0755]
po/mr.po [new file with mode: 0755]
po/ms.po [new file with mode: 0755]
po/my_MM.po [new file with mode: 0755]
po/my_ZG.po [new file with mode: 0755]
po/nb.po [new file with mode: 0755]
po/ne.po [new file with mode: 0755]
po/nl.po [new file with mode: 0755]
po/or.po [new file with mode: 0755]
po/pa.po [new file with mode: 0755]
po/pl.po [new file with mode: 0755]
po/pl_SP.po [new file with mode: 0755]
po/pt_BR.po [new file with mode: 0755]
po/pt_PT.po [new file with mode: 0755]
po/ro.po [new file with mode: 0755]
po/ru_RU.po [new file with mode: 0755]
po/si.po [new file with mode: 0755]
po/sk.po [new file with mode: 0755]
po/sl.po [new file with mode: 0755]
po/sq.po [new file with mode: 0755]
po/sr.po [new file with mode: 0755]
po/sv.po [new file with mode: 0755]
po/ta.po [new file with mode: 0755]
po/te.po [new file with mode: 0755]
po/tg_TJ.po [new file with mode: 0755]
po/th.po [new file with mode: 0755]
po/tk_TM.po [new file with mode: 0755]
po/tl.po [new file with mode: 0755]
po/tr_TR.po [new file with mode: 0755]
po/uk.po [new file with mode: 0755]
po/ur.po [new file with mode: 0755]
po/uz.po [new file with mode: 0755]
po/vi.po [new file with mode: 0755]
po/zh_CN.po [new file with mode: 0755]
po/zh_HK.po [new file with mode: 0755]
po/zh_TW.po [new file with mode: 0755]
res/icon/default.png [new file with mode: 0644]
ui/CMakeLists.txt [new file with mode: 0755]
ui/include/view.h [new file with mode: 0755]
ui/src/app_main.c [new file with mode: 0644]
ui/src/popup.c [new file with mode: 0644]

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..455a53b
--- /dev/null
@@ -0,0 +1,51 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(askuser-popup C)
+
+INCLUDE(FindPkgConfig)
+
+STRING(REGEX MATCH "([^.]*)" SO_VERSION "${VERSION}")
+
+# Set compiler flags
+SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall")
+SET(CMAKE_C_FLAGS_DEBUG "-O0 -Wall -g -ggdb")
+SET(CMAKE_C_FLAGS_CCOV "-O2 -Wall --coverage")
+
+ADD_DEFINITIONS("-Werror")                      # Make all warnings into errors.
+ADD_DEFINITIONS("-Wall")                        # Generate all warnings
+ADD_DEFINITIONS("-Wextra")                      # Generate even more extra warnings
+ADD_DEFINITIONS("-Wno-unused-parameter")        # Ignore unused parameter
+ADD_DEFINITIONS("-Wno-unused-function")
+ADD_DEFINITIONS("-Wno-unused-variable")
+
+# Set linker flags
+SET(CMAKE_SHARED_LINKER_FLAGS  "-Wl,--as-needed")
+SET(CMAKE_EXE_LINKER_FLAGS     "-Wl,--as-needed -pie")
+
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+SET(BINDIR "${PREFIX}/bin")
+SET(LIBDIR "${PREFIX}/lib")
+SET(RESDIR "${PREFIX}/res")
+SET(LOCALEDIR "${RESDIR}/locale")
+
+ADD_DEFINITIONS("-D_TZ_SYS_RO_APP=\"${TZ_SYS_RO_APP}\"")
+
+IF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
+ADD_DEFINITIONS("-DTIZEN_DEBUG_ENABLE")
+ADD_DEFINITIONS("-DBUILD_TYPE_DEBUG")
+ADD_DEFINITIONS("-DDPL_LOGS_ENABLED")
+ENDIF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
+
+ADD_DEFINITIONS("-DPACKAGE=\"${PROJECT_NAME}\"")
+ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
+ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
+ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
+
+SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+
+ADD_SUBDIRECTORY(ui)
+ADD_SUBDIRECTORY(po)
+
+INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/icon DESTINATION ${TZ_SYS_RO_APP}/org.tizen.askuser-popup/res FILES_MATCHING PATTERN "*.png")
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/org.tizen.askuser-popup.xml DESTINATION ${TZ_SYS_RO_PACKAGES}/)
+
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..9c13a9b
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,204 @@
+Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
+\r
+                                 Apache License\r
+                           Version 2.0, January 2004\r
+                        http://www.apache.org/licenses/\r
+\r
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r
+\r
+   1. Definitions.\r
+\r
+      "License" shall mean the terms and conditions for use, reproduction,\r
+      and distribution as defined by Sections 1 through 9 of this document.\r
+\r
+      "Licensor" shall mean the copyright owner or entity authorized by\r
+      the copyright owner that is granting the License.\r
+\r
+      "Legal Entity" shall mean the union of the acting entity and all\r
+      other entities that control, are controlled by, or are under common\r
+      control with that entity. For the purposes of this definition,\r
+      "control" means (i) the power, direct or indirect, to cause the\r
+      direction or management of such entity, whether by contract or\r
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the\r
+      outstanding shares, or (iii) beneficial ownership of such entity.\r
+\r
+      "You" (or "Your") shall mean an individual or Legal Entity\r
+      exercising permissions granted by this License.\r
+\r
+      "Source" form shall mean the preferred form for making modifications,\r
+      including but not limited to software source code, documentation\r
+      source, and configuration files.\r
+\r
+      "Object" form shall mean any form resulting from mechanical\r
+      transformation or translation of a Source form, including but\r
+      not limited to compiled object code, generated documentation,\r
+      and conversions to other media types.\r
+\r
+      "Work" shall mean the work of authorship, whether in Source or\r
+      Object form, made available under the License, as indicated by a\r
+      copyright notice that is included in or attached to the work\r
+      (an example is provided in the Appendix below).\r
+\r
+      "Derivative Works" shall mean any work, whether in Source or Object\r
+      form, that is based on (or derived from) the Work and for which the\r
+      editorial revisions, annotations, elaborations, or other modifications\r
+      represent, as a whole, an original work of authorship. For the purposes\r
+      of this License, Derivative Works shall not include works that remain\r
+      separable from, or merely link (or bind by name) to the interfaces of,\r
+      the Work and Derivative Works thereof.\r
+\r
+      "Contribution" shall mean any work of authorship, including\r
+      the original version of the Work and any modifications or additions\r
+      to that Work or Derivative Works thereof, that is intentionally\r
+      submitted to Licensor for inclusion in the Work by the copyright owner\r
+      or by an individual or Legal Entity authorized to submit on behalf of\r
+      the copyright owner. For the purposes of this definition, "submitted"\r
+      means any form of electronic, verbal, or written communication sent\r
+      to the Licensor or its representatives, including but not limited to\r
+      communication on electronic mailing lists, source code control systems,\r
+      and issue tracking systems that are managed by, or on behalf of, the\r
+      Licensor for the purpose of discussing and improving the Work, but\r
+      excluding communication that is conspicuously marked or otherwise\r
+      designated in writing by the copyright owner as "Not a Contribution."\r
+\r
+      "Contributor" shall mean Licensor and any individual or Legal Entity\r
+      on behalf of whom a Contribution has been received by Licensor and\r
+      subsequently incorporated within the Work.\r
+\r
+   2. Grant of Copyright License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      copyright license to reproduce, prepare Derivative Works of,\r
+      publicly display, publicly perform, sublicense, and distribute the\r
+      Work and such Derivative Works in Source or Object form.\r
+\r
+   3. Grant of Patent License. Subject to the terms and conditions of\r
+      this License, each Contributor hereby grants to You a perpetual,\r
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+      (except as stated in this section) patent license to make, have made,\r
+      use, offer to sell, sell, import, and otherwise transfer the Work,\r
+      where such license applies only to those patent claims licensable\r
+      by such Contributor that are necessarily infringed by their\r
+      Contribution(s) alone or by combination of their Contribution(s)\r
+      with the Work to which such Contribution(s) was submitted. If You\r
+      institute patent litigation against any entity (including a\r
+      cross-claim or counterclaim in a lawsuit) alleging that the Work\r
+      or a Contribution incorporated within the Work constitutes direct\r
+      or contributory patent infringement, then any patent licenses\r
+      granted to You under this License for that Work shall terminate\r
+      as of the date such litigation is filed.\r
+\r
+   4. Redistribution. You may reproduce and distribute copies of the\r
+      Work or Derivative Works thereof in any medium, with or without\r
+      modifications, and in Source or Object form, provided that You\r
+      meet the following conditions:\r
+\r
+      (a) You must give any other recipients of the Work or\r
+          Derivative Works a copy of this License; and\r
+\r
+      (b) You must cause any modified files to carry prominent notices\r
+          stating that You changed the files; and\r
+\r
+      (c) You must retain, in the Source form of any Derivative Works\r
+          that You distribute, all copyright, patent, trademark, and\r
+          attribution notices from the Source form of the Work,\r
+          excluding those notices that do not pertain to any part of\r
+          the Derivative Works; and\r
+\r
+      (d) If the Work includes a "NOTICE" text file as part of its\r
+          distribution, then any Derivative Works that You distribute must\r
+          include a readable copy of the attribution notices contained\r
+          within such NOTICE file, excluding those notices that do not\r
+          pertain to any part of the Derivative Works, in at least one\r
+          of the following places: within a NOTICE text file distributed\r
+          as part of the Derivative Works; within the Source form or\r
+          documentation, if provided along with the Derivative Works; or,\r
+          within a display generated by the Derivative Works, if and\r
+          wherever such third-party notices normally appear. The contents\r
+          of the NOTICE file are for informational purposes only and\r
+          do not modify the License. You may add Your own attribution\r
+          notices within Derivative Works that You distribute, alongside\r
+          or as an addendum to the NOTICE text from the Work, provided\r
+          that such additional attribution notices cannot be construed\r
+          as modifying the License.\r
+\r
+      You may add Your own copyright statement to Your modifications and\r
+      may provide additional or different license terms and conditions\r
+      for use, reproduction, or distribution of Your modifications, or\r
+      for any such Derivative Works as a whole, provided Your use,\r
+      reproduction, and distribution of the Work otherwise complies with\r
+      the conditions stated in this License.\r
+\r
+   5. Submission of Contributions. Unless You explicitly state otherwise,\r
+      any Contribution intentionally submitted for inclusion in the Work\r
+      by You to the Licensor shall be under the terms and conditions of\r
+      this License, without any additional terms or conditions.\r
+      Notwithstanding the above, nothing herein shall supersede or modify\r
+      the terms of any separate license agreement you may have executed\r
+      with Licensor regarding such Contributions.\r
+\r
+   6. Trademarks. This License does not grant permission to use the trade\r
+      names, trademarks, service marks, or product names of the Licensor,\r
+      except as required for reasonable and customary use in describing the\r
+      origin of the Work and reproducing the content of the NOTICE file.\r
+\r
+   7. Disclaimer of Warranty. Unless required by applicable law or\r
+      agreed to in writing, Licensor provides the Work (and each\r
+      Contributor provides its Contributions) on an "AS IS" BASIS,\r
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
+      implied, including, without limitation, any warranties or conditions\r
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r
+      PARTICULAR PURPOSE. You are solely responsible for determining the\r
+      appropriateness of using or redistributing the Work and assume any\r
+      risks associated with Your exercise of permissions under this License.\r
+\r
+   8. Limitation of Liability. In no event and under no legal theory,\r
+      whether in tort (including negligence), contract, or otherwise,\r
+      unless required by applicable law (such as deliberate and grossly\r
+      negligent acts) or agreed to in writing, shall any Contributor be\r
+      liable to You for damages, including any direct, indirect, special,\r
+      incidental, or consequential damages of any character arising as a\r
+      result of this License or out of the use or inability to use the\r
+      Work (including but not limited to damages for loss of goodwill,\r
+      work stoppage, computer failure or malfunction, or any and all\r
+      other commercial damages or losses), even if such Contributor\r
+      has been advised of the possibility of such damages.\r
+\r
+   9. Accepting Warranty or Additional Liability. While redistributing\r
+      the Work or Derivative Works thereof, You may choose to offer,\r
+      and charge a fee for, acceptance of support, warranty, indemnity,\r
+      or other liability obligations and/or rights consistent with this\r
+      License. However, in accepting such obligations, You may act only\r
+      on Your own behalf and on Your sole responsibility, not on behalf\r
+      of any other Contributor, and only if You agree to indemnify,\r
+      defend, and hold each Contributor harmless for any liability\r
+      incurred by, or claims asserted against, such Contributor by reason\r
+      of your accepting any such warranty or additional liability.\r
+\r
+   END OF TERMS AND CONDITIONS\r
+\r
+   APPENDIX: How to apply the Apache License to your work.\r
+\r
+      To apply the Apache License to your work, attach the following\r
+      boilerplate notice, with the fields enclosed by brackets "[]"\r
+      replaced with your own identifying information. (Don't include\r
+      the brackets!)  The text should be enclosed in the appropriate\r
+      comment syntax for the file format. We also recommend that a\r
+      file or class name and description of purpose be included on the\r
+      same "printed page" as the copyright notice for easier\r
+      identification within third-party archives.\r
+\r
+   Copyright [yyyy] [name of copyright owner]\r
+\r
+   Licensed under the Apache License, Version 2.0 (the "License");\r
+   you may not use this file except in compliance with the License.\r
+   You may obtain a copy of the License at\r
+\r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+\r
diff --git a/NOTICE b/NOTICE
new file mode 100644 (file)
index 0000000..9f7312e
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,4 @@
+
+Copyright (c) Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Apache License, Version 2.
+Please, see the LICENSE file for Apache License terms and conditions.
diff --git a/common/include/common_utils.h b/common/include/common_utils.h
new file mode 100644 (file)
index 0000000..44d705e
--- /dev/null
@@ -0,0 +1,100 @@
+/**
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *    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.
+ */
+/*
+ * @file        common_utils.h
+ * @author      Yunjin Lee (yunjin-.lee@samsung.com)
+ * @version     1.0
+ * @brief
+ */
+
+#ifndef __UI_PRIVACY_SETTING_COMMON_UTILS_H_
+#define __UI_PRIVACY_SETTING_COMMON_UTILS_H_
+
+#include <Elementary.h>
+#include <glib.h>
+#include <app.h>
+#include <dlog.h>
+#include <app_control_internal.h>
+#include <efl_extension.h>
+#include <ppm_popup.h>
+
+#ifdef _cplusplus
+extern "C" {
+#endif
+
+#define return_if(condition, expr, returnValue, ...) \
+       if (condition) { \
+               LOGE(__VA_ARGS__); \
+               expr; \
+               return returnValue; \
+       }
+
+#define lreturn_if(condition, expr, returnValue, ...) \
+       if (condition) { \
+               LOGD(__VA_ARGS__); \
+               expr; \
+               return returnValue; \
+       }
+
+#define log_if(condition, level, ...) \
+       if (condition) { \
+               if (level) { \
+                       LOGE(__VA_ARGS__); \
+               } else { \
+                       LOGD(__VA_ARGS__); \
+               } \
+       }
+
+#define HOME_KEY "XF86Home"
+#define BACK_KEY "XF86Back"
+
+typedef struct {
+       char* privacy;
+       ppm_popup_response_e response;
+} privacy_data_s;
+
+typedef struct _app_data_s {
+       Evas_Object *win;
+       Evas_Object *conform;
+       Evas_Object *nf;
+       Evas_Object *popup;
+       Evas_Object *btn_l;
+       Evas_Object *btn_r;
+       Evas_Object *ao_contents;
+
+       app_control_h caller;
+       char* caller_pkgid;
+
+       bool all_responded;
+       char* launch_type;
+       app_control_launch_mode_e mode;
+       int popup_id;
+
+       GList* privacy_list;
+       int privacy_num;
+       int privacy_idx;
+} app_data_s;
+
+privacy_data_s* new_privacy_data();
+
+void init_app_data(app_data_s *ad);
+void free_app_data(app_data_s *ad);
+
+#ifdef _cplusplus
+}
+#endif
+
+#endif /* __UI_PRIVACY_SETTING_COMMON_UTILS_H_ */
diff --git a/common/src/common_utils.c b/common/src/common_utils.c
new file mode 100644 (file)
index 0000000..ab18186
--- /dev/null
@@ -0,0 +1,70 @@
+/**
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *     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.
+ */
+/*
+ * @file       common_utils.c
+ * @author     Yunjin Lee (yunjin-.lee@samsung.com)
+ * @version    1.0
+ * @brief
+ */
+
+#include "common_utils.h"
+
+privacy_data_s* new_privacy_data()
+{
+       privacy_data_s* pd = (privacy_data_s*)malloc(sizeof(privacy_data_s));
+       if (!pd) {
+               LOGE("failed to malloc privacy_data_s");
+               return NULL;
+       }
+       pd->privacy = NULL;
+       pd->response = PRIVACY_PRIVILEGE_MANAGER_POPUP_RESPONSE_DENY_ONCE;
+       return pd;
+}
+
+void init_app_data(app_data_s* ad)
+{
+       ad->all_responded = false;
+       ad->mode = APP_CONTROL_LAUNCH_MODE_GROUP;
+       ad->launch_type = NULL;
+       ad->caller_pkgid = NULL;
+       ad->popup_id = 0;
+
+       ad->privacy_list = NULL;
+       ad->privacy_num = 0;
+       ad->privacy_idx = 0;
+}
+
+void __free_privacy_data(privacy_data_s* pd)
+{
+       if (pd->privacy)
+               free(pd->privacy);
+}
+
+void free_privacy_data(gpointer pd)
+{
+       __free_privacy_data((privacy_data_s*) pd);
+       free(pd);
+}
+
+void free_app_data(app_data_s* ad)
+{
+       if (ad->caller_pkgid != NULL)
+               free(ad->caller_pkgid);
+       if (ad->privacy_list != NULL)
+               g_list_free_full(ad->privacy_list, free_privacy_data);
+       if (ad->launch_type != NULL)
+               free(ad->launch_type);
+}
diff --git a/packaging/changes b/packaging/changes
new file mode 100644 (file)
index 0000000..2010353
--- /dev/null
@@ -0,0 +1,3 @@
+Release version 0.0.1
+- Askuser-poup for IoT profile
+- Inital empty repository
diff --git a/packaging/org.tizen.askuser-popup.manifest b/packaging/org.tizen.askuser-popup.manifest
new file mode 100644 (file)
index 0000000..a76fdba
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_" />
+       </request>
+</manifest>
diff --git a/packaging/org.tizen.askuser-popup.spec b/packaging/org.tizen.askuser-popup.spec
new file mode 100755 (executable)
index 0000000..b5e1a28
--- /dev/null
@@ -0,0 +1,78 @@
+%define alias org.tizen.askuser-popup
+%define        PREFIX  %{TZ_SYS_RO_APP}/%{alias}
+
+Name:    org.tizen.askuser-popup-profile_iot
+Summary: Ask user popup for IoT profile
+Version: 0.0.1
+Release: 0
+Provides: org.tizen.askuser-popup = %{version}-%{release}
+Group:   Applications/Other
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{alias}.manifest
+BuildRequires: cmake
+BuildRequires: gettext-tools
+BuildRequires: edje-tools
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(efl-extension)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(security-privilege-manager)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-privacy-privilege-manager)
+BuildRequires: pkgconfig(bundle)
+%description
+Application providing ui for requesting privacy permission to the user.
+
+%prep
+%setup -q
+cp -a %SOURCE1001 .
+
+%build
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+
+%{!?build_type:%define build_type "RELEASE"}
+
+%if %{?build_type} == "DEBUG"
+export CFLAGS="$CFLAGS -Wp,-U_FORTIFY_SOURCE"
+export CXXFLAGS="$CXXFLAGS -Wp,-U_FORTIFY_SOURCE"
+%endif
+
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+
+%ifarch %{ix86}
+export CFLAGS="$CFLAGS -DTIZEN_EMULATOR_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_EMULATOR_MODE"
+%endif
+
+%cmake . -DCMAKE_INSTALL_PREFIX=%PREFIX \
+        -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
+        -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
+        -DCMAKE_BUILD_TYPE=%{build_type} \
+        -DVERSION=%version
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang askuser-popup askuser-popup.lang
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f askuser-popup.lang
+%defattr(-,root,root,-)
+%manifest %alias.manifest
+%license LICENSE
+%{TZ_SYS_RO_PACKAGES}/%alias.xml
+%{PREFIX}/bin/
+%{PREFIX}/res/icon/
diff --git a/packaging/org.tizen.askuser-popup.xml b/packaging/org.tizen.askuser-popup.xml
new file mode 100755 (executable)
index 0000000..443aba1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.askuser-popup" api-version="6.0" version="0.1">
+       <ui-application appid="org.tizen.askuser-popup" launch_mode="caller" exec="org.tizen.askuser-popup" multiple="false" nodisplay="true" taskmanage="false" type="capp">
+               <label>askuser popup</label>
+       </ui-application>
+       <privileges>
+               <privilege>http://tizen.org/privilege/haptic</privilege>
+       </privileges>
+</manifest>
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100755 (executable)
index 0000000..552bb90
--- /dev/null
@@ -0,0 +1,106 @@
+SET(POFILES
+    ar.po
+    as.po
+    az.po
+    be_BY.po
+    bg.po
+    bn_BD.po
+    bn.po
+    bs_BA.po
+    ca.po
+    cs.po
+    da.po
+    de.po
+    el_GR.po
+    en_PH.po
+    en.po
+    en_US.po
+    es_ES.po
+    es_US.po
+    et.po
+    eu.po
+    fa.po
+    fi.po
+    fr_CA.po
+    fr.po
+    ga.po
+    gl.po
+    gu.po
+    he.po
+    hi.po
+    hr.po
+    hu.po
+    hy.po
+    id.po
+    is.po
+    it_IT.po
+    ja_JP.po
+    ka.po
+    kk.po
+    km.po
+    kn.po
+    ko_KR.po
+    ky_KG.po
+    lo.po
+    lt.po
+    lv.po
+    mk.po
+    ml.po
+    mn_MN.po
+    mr.po
+    ms.po
+    my_MM.po
+    my_ZG.po
+    nb.po
+    ne.po
+    nl.po
+    or.po
+    pa.po
+    pl.po
+    pl_SP.po
+    pt_BR.po
+    pt_PT.po
+    ro.po
+    ru_RU.po
+    si.po
+    sk.po
+    sl.po
+    sq.po
+    sr.po
+    sv.po
+    ta.po
+    te.po
+    tg_TJ.po
+    th.po
+    tk_TM.po
+    tl.po
+    tr_TR.po
+    uk.po
+    ur.po
+    uz.po
+    vi.po
+    zh_CN.po
+    zh_HK.po
+    zh_TW.po
+)
+
+SET(MSGFMT "/usr/bin/msgfmt")
+
+FOREACH(pofile ${POFILES})
+    SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
+    MESSAGE("PO: ${pofile}")
+    GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
+    GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
+    SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
+    ADD_CUSTOM_COMMAND(
+        OUTPUT ${moFile}
+        COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
+        DEPENDS ${absPofile}
+    )
+    INSTALL(FILES ${moFile}
+        DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
+    SET(moFiles ${moFiles} ${moFile})
+ENDFOREACH(pofile)
+
+MESSAGE(".mo files: ${moFiles}")
+ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
diff --git a/po/ar.po b/po/ar.po
new file mode 100755 (executable)
index 0000000..20bcb47
--- /dev/null
+++ b/po/ar.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "عدم التكرار."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "السماح"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "رفض"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "طلب الخصوصية"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "الصفحة %d من %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "اسمح لـ %1$s بالوصول إلى إذن %2$s."
+
diff --git a/po/as.po b/po/as.po
new file mode 100755 (executable)
index 0000000..fb71a33
--- /dev/null
+++ b/po/as.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "পুনৰাই নকৰিব।"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "অনুমতি দিয়ক"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "অস্বীকাৰ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "গোপনীয়তাৰ অনুৰোধ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d-ৰ %d পৃষ্ঠা৷"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s অনুমতিৰ বাবে %1$s প্ৰৱেশৰ অনুমতি দিয়ক।"
+
diff --git a/po/az.po b/po/az.po
new file mode 100755 (executable)
index 0000000..518c7d7
--- /dev/null
+++ b/po/az.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1; "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Təkrar etmə"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "İcazə ver"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Rədd et"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Məxfilik sorğusu"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Səhifə %d / %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s %2$s icazəsinə çıxış icazəsi ver."
+
diff --git a/po/be_BY.po b/po/be_BY.po
new file mode 100755 (executable)
index 0000000..0966f7d
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : (n%10>=2 && n%10<=4) && !(n%100>=12 && n%100<=14) ? 3 : n%10 == 0 || (n%10 >=5 && n%10 <= 9) || (n%100 >=11 && n%100 <= 14) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Не паўтараць."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Дазволіць"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Адхіліць"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Запыт аб прыватнасці"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Старонка %d з %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Даць %1$s дазвол на доступ %2$s."
+
diff --git a/po/bg.po b/po/bg.po
new file mode 100755 (executable)
index 0000000..b62eca5
--- /dev/null
+++ b/po/bg.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Не повтаряй"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Позволяв."
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Отказ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Заявка за поверителна информация"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Стр. %d от %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Позволете на %1$s достъп до разрешението %2$s."
+
diff --git a/po/bn.po b/po/bn.po
new file mode 100755 (executable)
index 0000000..68a833e
--- /dev/null
+++ b/po/bn.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "পুনরাবৃত্তি করবেন না।"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "অনুমতি দিন"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "অস্বীকার"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "গোপনীয়তার অনুরোধ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d-টির মধ্যে %dটি পৃষ্ঠা।"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$sকে %2$s অনুমতিতে অ্যাক্সেস করতে মঞ্জুর করুন।"
+
diff --git a/po/bn_BD.po b/po/bn_BD.po
new file mode 100755 (executable)
index 0000000..4747eb0
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "রিপিট করবেন না৷"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "অনুমতি দিন"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "প্রত্যাখ্যান"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "গোপনীয়তার অনুরোধ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d-এর মধ্যে পেইজ %d।"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s-কে %2$s অনুমতি অ্যাক্সেস করার অনুমোদন দিন৷"
+
diff --git a/po/bs_BA.po b/po/bs_BA.po
new file mode 100755 (executable)
index 0000000..4896b9a
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : n%10 >=2 && n%10 <=4 && !(n%100>=12 && n%100<=14) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne ponavljaj."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Dozvoli"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Odbij"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Zahtjev za privatnost"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Stranica %d od %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Dozvolite aplikaciji %1$s pristup dozvoli %2$s."
+
diff --git a/po/ca.po b/po/ca.po
new file mode 100755 (executable)
index 0000000..08a2da6
--- /dev/null
+++ b/po/ca.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "No repetir"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permetre"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Denegar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Sol·licitud de privadesa"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Pàgina %d de %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Permet que %1$s accedeixi al permís %2$s."
+
diff --git a/po/cs.po b/po/cs.po
new file mode 100755 (executable)
index 0000000..2cbf811
--- /dev/null
+++ b/po/cs.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=((n==1) ? 1 : (n>=2 && n<=4) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Neopakovat"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Povolit"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Odmítnout"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Požadavek na ochranu osobních údajů"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Stránka %d z %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Povolte aplikaci %1$s přístup k oprávnění %2$s."
+
diff --git a/po/da.po b/po/da.po
new file mode 100755 (executable)
index 0000000..ed9a603
--- /dev/null
+++ b/po/da.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Gentag ikke."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Tillad"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Afvis"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Fortrolighedsanmodning"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Side %d af %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Giv %1$s adgang til tilladelsen %2$s."
+
diff --git a/po/de.po b/po/de.po
new file mode 100755 (executable)
index 0000000..91f5240
--- /dev/null
+++ b/po/de.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Nicht wiederholen"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Zulassen"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Ablehnen"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Datenschutzanfrage"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Seite %d von %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s den Zugriff auf %2$s erlauben."
+
diff --git a/po/el_GR.po b/po/el_GR.po
new file mode 100755 (executable)
index 0000000..b6545b8
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Όχι επανάλ."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Να επιτρέπ."
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Απόρριψη"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Αίτηση απορρήτου"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Σελίδα %d από %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Επιτρέψτε στην εφαρμογή %1$s την πρόσβαση στο δικαίωμα %2$s."
+
diff --git a/po/en.po b/po/en.po
new file mode 100755 (executable)
index 0000000..b3074a4
--- /dev/null
+++ b/po/en.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Don't repeat."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Allow"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Deny"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Privacy request"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Page %d of %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Allow %1$s access to %2$s permission."
+
diff --git a/po/en_PH.po b/po/en_PH.po
new file mode 100755 (executable)
index 0000000..8f42eab
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Don't repeat"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Allow"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Deny"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Privacy request"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Page %d of %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Allow %1$s access to %2$s permission."
+
diff --git a/po/en_US.po b/po/en_US.po
new file mode 100755 (executable)
index 0000000..8f42eab
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Don't repeat"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Allow"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Deny"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Privacy request"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Page %d of %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Allow %1$s access to %2$s permission."
+
diff --git a/po/es_ES.po b/po/es_ES.po
new file mode 100755 (executable)
index 0000000..3edd426
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1; "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "No repetir."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitir"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Rechazar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Solicitud de privacidad"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Página %d de %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Conceder que %1$s acceda al permiso %2$s."
+
diff --git a/po/es_US.po b/po/es_US.po
new file mode 100755 (executable)
index 0000000..fa7e93a
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1; "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "No volver a mostrar"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitir"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Rechazar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Solicitud de privacidad"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Página %d de %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Permitir que %1$s acceda a %2$s."
+
diff --git a/po/et.po b/po/et.po
new file mode 100755 (executable)
index 0000000..dd40691
--- /dev/null
+++ b/po/et.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ära korda"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Luba"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Keela"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Privaatsustaotlus"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Lehekülg %d/%d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Andke rakendusele %1$s juurdepääs loale %2$s."
+
diff --git a/po/eu.po b/po/eu.po
new file mode 100755 (executable)
index 0000000..6b8f437
--- /dev/null
+++ b/po/eu.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1; "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ez errepik."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Baimendu"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Ukatu"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Pribatutasun eskaera"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d. orria %d-tik"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Baimendu %1$s aplikazioari %2$s atzitzea."
+
diff --git a/po/fa.po b/po/fa.po
new file mode 100755 (executable)
index 0000000..71a0acd
--- /dev/null
+++ b/po/fa.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "تکرار نشود"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "اجازه دادن"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "رد کردن"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "درخواست حریم خصوصی"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "صفحه %d از %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "به %1$s اجازه دسترسی به %2$s بدهید."
+
diff --git a/po/fi.po b/po/fi.po
new file mode 100755 (executable)
index 0000000..5578098
--- /dev/null
+++ b/po/fi.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Älä toista."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Salli"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Estä"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Tietosuojapyyntö"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Sivu %d / %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Salli, että %1$s käyttää käyttöoikeutta %2$s."
+
diff --git a/po/fr.po b/po/fr.po
new file mode 100755 (executable)
index 0000000..6116fb5
--- /dev/null
+++ b/po/fr.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne plus afficher"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Autoriser"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Refuser"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Demande de confidentialité"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Page %d sur %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Accordez à %1$s l'accès à %2$s."
+
diff --git a/po/fr_CA.po b/po/fr_CA.po
new file mode 100755 (executable)
index 0000000..53b5111
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne pas rép."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Autoriser"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Refuser"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Demande de confidentialité"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Page %d sur %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Accordez à %1$s l'accès à %2$s."
+
diff --git a/po/ga.po b/po/ga.po
new file mode 100755 (executable)
index 0000000..59d9ecd
--- /dev/null
+++ b/po/ga.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n==1 ? 1 : n==2 ? 2 : (n>=3 && n<=6) ? 3 : (n>=7 && n<=10) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ná hathdhéan"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Ceadaigh"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Diúltaigh"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Iarratas príobháide"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Leathanach %d de %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Ceadaigh do %1$s an cead %2$s a rochtain."
+
diff --git a/po/gl.po b/po/gl.po
new file mode 100755 (executable)
index 0000000..4c355a1
--- /dev/null
+++ b/po/gl.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Non repetir"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitir"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Denegar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Solicitude de privacidade"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Páxina %d de %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Permite que %1$s acceda ao permiso %2$s."
+
diff --git a/po/gu.po b/po/gu.po
new file mode 100755 (executable)
index 0000000..5ab8dd9
--- /dev/null
+++ b/po/gu.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "દોહરાવશો નહીં."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "મંજૂરી આપો"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "નકારો"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ગોપનીયતા વિનંતી"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d માંથી %d પૃષ્ઠ."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ને %2$s ની મંજૂરીથી સંમત થાઓ."
+
diff --git a/po/he.po b/po/he.po
new file mode 100755 (executable)
index 0000000..76c7e18
--- /dev/null
+++ b/po/he.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=((n==1) ? 1 : (n==2) ? 2 : !(n>=0 && n<=10) && (n%10 == 0) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "אל תציג שוב"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "אפשר"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "דחה"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "בקשת פרטיות"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "עמוד %d מתוך %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "אשר ל-%1$s גישה להרשאת %2$s."
+
diff --git a/po/hi.po b/po/hi.po
new file mode 100755 (executable)
index 0000000..30b8033
--- /dev/null
+++ b/po/hi.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "दोहराएं नहीं"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "अनुमति दें"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "अस्वीकारें"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "गोपनीयता अनुरोध"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "पेज %d के %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s को %2$s अनुमति एक्सेस करने की अनुमति दें।"
+
diff --git a/po/hr.po b/po/hr.po
new file mode 100755 (executable)
index 0000000..ed4e83d
--- /dev/null
+++ b/po/hr.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : n%10 >=2 && n%10 <=4 && !(n%100>=12 && n%100<=14) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne ponovi."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Dopusti"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Odbij"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Zahtjev za pristup privatnim podacima"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Stranica %d od %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Dopustite aplikaciji %1$s da pristupi dopuštenju %2$s."
+
diff --git a/po/hu.po b/po/hu.po
new file mode 100755 (executable)
index 0000000..f16fe79
--- /dev/null
+++ b/po/hu.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne ismételje"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Enged"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Tilt"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Adatvédelmi kérés"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d. oldal, összesen: %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "A(z) %2$s engedély megadása a(z) %1$s számára."
+
diff --git a/po/hy.po b/po/hy.po
new file mode 100755 (executable)
index 0000000..1461252
--- /dev/null
+++ b/po/hy.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Չկրկնել"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Թույլ տալ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Մերժել"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Գաղտնիության պահանջ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Էջ %d՝ %d-ից:"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Թույլ տալ, որ %1$s-ն օգտվի %2$s թույլտվությունից:"
+
diff --git a/po/id.po b/po/id.po
new file mode 100755 (executable)
index 0000000..b81a993
--- /dev/null
+++ b/po/id.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Jgn ulangi"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Izinkan"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Tolak"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Permintaan privasi"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Halaman %d dari %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Perbolehkan %1$s mengakses izin %2$s."
+
diff --git a/po/is.po b/po/is.po
new file mode 100755 (executable)
index 0000000..0d1e648
--- /dev/null
+++ b/po/is.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11) ? 1 : 5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ekki endurt."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Leyfa"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Hafna"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Persónuverndarbeiðni"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Bls. %d af %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Veita %1$s aðgang að heimild fyrir %2$s."
+
diff --git a/po/it_IT.po b/po/it_IT.po
new file mode 100755 (executable)
index 0000000..48ce3d9
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Non ripetere"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Consenti"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Nega"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Richiesta sulla privacy"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Pagina %d di %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Concedete a %1$s l’autorizzazione ad accedere a %2$s."
+
diff --git a/po/ja_JP.po b/po/ja_JP.po
new file mode 100755 (executable)
index 0000000..23eda6a
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "表示しない"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "許可"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "拒否"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "プライバシーの要求"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%2$dページ中%1$dページ"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$sの権限へのアクセスを%1$sに許可します。"
+
diff --git a/po/ka.po b/po/ka.po
new file mode 100755 (executable)
index 0000000..6b47963
--- /dev/null
+++ b/po/ka.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "არ გამეორდეს"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ნებართვა"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "უარყოფა"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "კონფიდენციალურობის მოთხოვნა"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "გვერდი %d, სულ %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s-ს მიეცით უფლება, რომ გამოიყენოს ნებართვა: %2$s."
+
diff --git a/po/kk.po b/po/kk.po
new file mode 100755 (executable)
index 0000000..93b3fd5
--- /dev/null
+++ b/po/kk.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Қайталамау"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Рұқсат ету"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Бас тарту"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Құпиялылық сұрауы"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d беттің ішіндегі %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s %2$s рұқсатын беріңіз."
+
diff --git a/po/km.po b/po/km.po
new file mode 100755 (executable)
index 0000000..8bce326
--- /dev/null
+++ b/po/km.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "កុំ​ធ្វើឡើងវិញ"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "អនុញ្ញាត"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "បដិសេធ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "សំណើ​ភាពឯកជន"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "ទំព័រ %d នៃ %d។"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "អនុញ្ញាត​ឲ្យ %1$s ចូលប្រើ​ការអនុញ្ញាត %2$s។"
+
diff --git a/po/kn.po b/po/kn.po
new file mode 100755 (executable)
index 0000000..eb3394e
--- /dev/null
+++ b/po/kn.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ಪುನರಾವರ್ತಿಸಬೇಡಿ."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ಅನುಮತಿಸಿ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ನಿರಾಕರಿಸು"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ಗೌಪ್ಯತೆ ವಿನಂತಿ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%dರ ಪುಟ %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ಪ್ರವೇಶಿಸಲು %2$s ಅನುಮತಿಸಿ."
+
diff --git a/po/ko_KR.po b/po/ko_KR.po
new file mode 100755 (executable)
index 0000000..06768ee
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "다시 보지 않기"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "허용"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "허용 안 함"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "개인정보 요청"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%2$d 페이지 중 %1$d 페이지입니다."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s 앱에 %2$s 권한을 허용합니다."
+
diff --git a/po/ky_KG.po b/po/ky_KG.po
new file mode 100755 (executable)
index 0000000..4d8825a
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Кайталабоо"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Уруксат бер"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Четке кагуу"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Жекелик талаптары"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d ичинен %d бет"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s %1$s кошулуусуна уруксат берүү."
+
diff --git a/po/lo.po b/po/lo.po
new file mode 100755 (executable)
index 0000000..cd6cb51
--- /dev/null
+++ b/po/lo.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ຢ່າເຮັດຊໍ້າຄືນ"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ອະນຸຍາດ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ປະຕິເສດ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ຄຳຂໍຄວາມເປັນສ່ວນຕົວ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "ໜ້າ %d ໃນ %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "ອະນຸຍາດໃຫ້ %1$s ເຂົ້າ​ໃຊ້ການອະນຸຍາດ %2$s."
+
diff --git a/po/lt.po b/po/lt.po
new file mode 100755 (executable)
index 0000000..38052eb
--- /dev/null
+++ b/po/lt.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && !(n%100>=11 && n%100<=19) ? 1 : (n%10>=2 && n%10<=9) && !(n%100>=11 && n%100<=19) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Nekartoti"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Leisti"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Atmesti"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Privatumo užklausa"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d puslapis: %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Suteikite %1$s leidimą pasiekti %2$s."
+
diff --git a/po/lv.po b/po/lv.po
new file mode 100755 (executable)
index 0000000..e107dfe
--- /dev/null
+++ b/po/lv.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10 == 0 || (n%100 >= 11 && n%100 <= 19) ? 0 : (n%10 == 1 && n%100 != 11) ? 1 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Neatkārtot"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Atļaut"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Noraidīt"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Konfidencialitātes pieprasījums"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d lapa no %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Piešķiriet programmai %1$s piekļuvi %2$s atļaujai."
+
diff --git a/po/mk.po b/po/mk.po
new file mode 100755 (executable)
index 0000000..daac3c0
--- /dev/null
+++ b/po/mk.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1) ? 1 : 5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Не повтор."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Дозволи"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Отфрли"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Барање за приватност"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Страница %d од %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Дозволи %1$s да пристапи до дозвола за %2$s."
+
diff --git a/po/ml.po b/po/ml.po
new file mode 100755 (executable)
index 0000000..fdea472
--- /dev/null
+++ b/po/ml.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ആവർത്തിക്കേണ്ട."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "അനുവദിക്കുക"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "നിഷേധിക്കുക"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "സ്വകാര്യതാ അഭ്യർത്ഥന"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "പേജ് %d ല്‍ %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s അനുമതിയിലേക്ക് %1$s ആക്സസ് അനുവദിക്കുക."
+
diff --git a/po/mn_MN.po b/po/mn_MN.po
new file mode 100755 (executable)
index 0000000..d29d649
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Бүү давт"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Зөвшөөр"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Татгалзах"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Нууцлалын хүсэлт"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Хуудас %d / %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s хандалтыг %2$s зөвшөөрөлд зөвшөөр."
+
diff --git a/po/mr.po b/po/mr.po
new file mode 100755 (executable)
index 0000000..eaed207
--- /dev/null
+++ b/po/mr.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "पुनरावृत्‍ती करू नका."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "अनुमती द्या"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "नकार द्या"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "गोपनीयता विनंती"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d पैकी %d पेज."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ला %2$s परवानगीच्या ऍक्सेसची अनुमती द्या."
+
diff --git a/po/ms.po b/po/ms.po
new file mode 100755 (executable)
index 0000000..cbae9de
--- /dev/null
+++ b/po/ms.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Jgn ulang"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Benarkan"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Nafi"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Permintaan privasi"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Halaman %d dari %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Benarkan capaian %1$s ke kebenaran %2$s."
+
diff --git a/po/my_MM.po b/po/my_MM.po
new file mode 100755 (executable)
index 0000000..7a79e66
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ထပ်ခါထပ်ခါ မလုပ်ပါနှင့်။"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ခွင့်ပြုပါ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ငြင်းဆိုပါ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ကိုယ်ရေးလုံခြုံမှု တောင်းဆိုချက်"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "စာမျက်နှာ %d  ၏ %d။"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ကို %2$s ခွင့်ပြုချက်ထဲ ဝင်သုံးခွင့် ပြုပါ။"
+
diff --git a/po/my_ZG.po b/po/my_ZG.po
new file mode 100755 (executable)
index 0000000..3d4c273
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ထပ္ခါထပ္ခါ မလုပ္ပါႏွင့္"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ခြင့္ျပဳပါ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ျငင္းဆိုပါ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ကုိယ္ေရးလံုျခံဳမႈ ေတာင္းဆုိခ်က္"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "စာမ်က္ႏွာ %d  ၏ %d။"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ကုိ %2$s ခြင့္ျပဳခ်က္ထဲ ဝင္သံုးခြင့္ ျပဳပါ။"
+
diff --git a/po/nb.po b/po/nb.po
new file mode 100755 (executable)
index 0000000..ee2b2b1
--- /dev/null
+++ b/po/nb.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ikke gjenta."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Tillat"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Avslå"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Personvernforespørsel"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Side %d av %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Gi %1$s tilgang til %2$s-tillatelsen."
+
diff --git a/po/ne.po b/po/ne.po
new file mode 100755 (executable)
index 0000000..a931219
--- /dev/null
+++ b/po/ne.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "नदोहर्‍याउनुहोस्।"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "अनुमति दिनु"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "अस्वीकार गर्नु"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "गोपनीयता अनुरोध"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d को %d पृष्ठ।"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s लाई %2$s सम्बन्धी अनुमतिमा पहुँच गर्न दिने हो।"
+
diff --git a/po/nl.po b/po/nl.po
new file mode 100755 (executable)
index 0000000..77c9203
--- /dev/null
+++ b/po/nl.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Niet herhalen"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Toestaan"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Weigeren"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Verzoek om privacy"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Pagina %d van %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s heeft toegang tot machtiging %2$s."
+
diff --git a/po/or.po b/po/or.po
new file mode 100755 (executable)
index 0000000..ffd75c7
--- /dev/null
+++ b/po/or.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ପୁନରାବୃତ୍ତି କରନ୍ତୁ ନାହିଁ।"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ଅନୁମତି"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ଅଗ୍ରାହ୍ୟ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ଗୋପନୀୟ ଅନୁରୋଧ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d ର %d ପୃଷ୍ଠା"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$sକୁ %2$s ଆକସେସ୍ ଅନୁମତି ଦିଅନ୍ତୁ।"
+
diff --git a/po/pa.po b/po/pa.po
new file mode 100755 (executable)
index 0000000..37e3bc8
--- /dev/null
+++ b/po/pa.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "ਦੁਹਰਾਉ ਨਹੀਂ।"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ਆਗਿਆ ਦਿਉ"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ਅਸਵੀਕਾਰ ਕਰੋ"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "ਗੋਪਨਿਯਤਾ ਬੇਨਤੀ"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "ਪੰਨਾ %d ਵਿੱਚੋਂ %d।"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s ਨੂੰ %2$s ਐਕਸੈੱਸ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿਉ।"
+
diff --git a/po/pl.po b/po/pl.po
new file mode 100755 (executable)
index 0000000..c9bf5c1
--- /dev/null
+++ b/po/pl.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n==1 ? 1 : n%10 >=2 && n%10 <=4 && !(n%100>=12 && n%100<=14) ? 3 : (n!=1 && n%10 <= 1) || (n%10 >=5 && n%10 <=9) || (n%100 >=12 && n%100 <=14) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Nie powt."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Zezwól"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Odmów"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Żądanie związane z prywatnością"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Strona %d z %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Zezwól aplikacji %1$s na dostęp do uprawnienia %2$s."
+
diff --git a/po/pl_SP.po b/po/pl_SP.po
new file mode 100755 (executable)
index 0000000..f88d31b
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n==1 ? 1 : n%10 >=2 && n%10 <=4 && !(n%100>=12 && n%100<=14) ? 3 : (n!=1 && n%10 <= 1) || (n%10 >=5 && n%10 <=9) || (n%100 >=12 && n%100 <=14) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Niy powt."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Przizwōl"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Ôdkoż"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Przikŏz pochytany z prywatnościōm"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Zajta %d z %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Przizwōl aplikacyji %1$s na dostymp do dozwŏlynio %2$s."
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100755 (executable)
index 0000000..11161ca
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Não repetir."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitir"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Negar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Solicitação de privacidade"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Página %d de %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Permita que %1$s acesse a permissão %2$s."
+
diff --git a/po/pt_PT.po b/po/pt_PT.po
new file mode 100755 (executable)
index 0000000..29196dd
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1; "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Não repetir"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitir"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Recusar"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Pedido de privacidade"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Página %d de %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Permita que %1$s aceda à permissão %2$s."
+
diff --git a/po/ro.po b/po/ro.po
new file mode 100755 (executable)
index 0000000..4f285af
--- /dev/null
+++ b/po/ro.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n==1 ? 1 : (n==0 || n!=1 && (n%100 >= 1 && n%100 <= 19)) ? 3 : 5); "
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Fără repet."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Permitere"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Refuz"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Solicitare confidențialitate"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Pagina %d din %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Acordați aplicației %1$s accesul la permisiunea %2$s."
+
diff --git a/po/ru_RU.po b/po/ru_RU.po
new file mode 100755 (executable)
index 0000000..8a10348
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : (n%10>=2 && n%10<=4) && !(n%100>=12 && n%100<=14) ? 3 : n%10 ==0 || (n%10>=5 && n%10<=9) || (n%100 >= 11 && n%100 <= 14) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Не повторять."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Разрешить"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Запретить"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Запрос на предоставление конфиденциальных данных"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Страница %d из %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Предоставление %1$s доступа к разрешению %2$s."
+
diff --git a/po/si.po b/po/si.po
new file mode 100755 (executable)
index 0000000..26fa09b
--- /dev/null
+++ b/po/si.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "පුනරා.නය නොකර."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "ඉඩ දෙන්න"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ප්‍රතික්."
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "රහස්‍යතා ඉල්ලීම"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d හි %d පිටුව."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s හට %2$s අවසරයට ඉඩ දෙන්න."
+
diff --git a/po/sk.po b/po/sk.po
new file mode 100755 (executable)
index 0000000..06dc319
--- /dev/null
+++ b/po/sk.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=((n==1) ? 1 : (n>=2 && n<=4) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Neopakovať"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Povoliť"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Zamietnuť"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Žiadosť o ochranu osobných údajov"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Strana %d z %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Udeľte aplikácii %1$s povolenie %2$s."
+
diff --git a/po/sl.po b/po/sl.po
new file mode 100755 (executable)
index 0000000..a1e9b56
--- /dev/null
+++ b/po/sl.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%100==1 ? 1 : n%100==2 ? 2 : (n%100==3 || n%100==4) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne ponovi"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Dovoli"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Zavrni"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Zahteva za zasebnost"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Stran %d od %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Aplikaciji %1$s omogočite dostop do dovoljenja %2$s."
+
diff --git a/po/sq.po b/po/sq.po
new file mode 100755 (executable)
index 0000000..5fd3ab1
--- /dev/null
+++ b/po/sq.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Mos përsër."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Lejo"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Refuzo"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Kërkesë privatësie"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Faqe %d nga %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Jepi %1$s akses në lejen %2$s."
+
diff --git a/po/sr.po b/po/sr.po
new file mode 100755 (executable)
index 0000000..f1545e0
--- /dev/null
+++ b/po/sr.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : n%10 >=2 && n%10 <=4 && !(n%100>=12 && n%100<=14) ? 3 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Ne ponavlj."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Dozvoli"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Odbij"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Zahtev za privatnim informacijama"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Strana %d od %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Dozvolite aplikaciji %1$s da pristupi dozvoli %2$s."
+
diff --git a/po/sv.po b/po/sv.po
new file mode 100755 (executable)
index 0000000..0901468
--- /dev/null
+++ b/po/sv.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Uppr. inte."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Tillåt"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Neka"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Sekretessbegäran"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Sida %d av %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Ge %1$s åtkomst till behörighet för %2$s."
+
diff --git a/po/ta.po b/po/ta.po
new file mode 100755 (executable)
index 0000000..0cbda80
--- /dev/null
+++ b/po/ta.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "மீ.காட்ட வேண்டாம்."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "அனுமதி"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "நிராகரி"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "தனிப்பயன் கோரிக்கை"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "பக்கம் %d-ல் %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s அனுமதிக்கு %1$s அணுகலை அனுமதிக்கவும்."
+
diff --git a/po/te.po b/po/te.po
new file mode 100755 (executable)
index 0000000..9f9a778
--- /dev/null
+++ b/po/te.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "పునరావృతం చేయవద్దు."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "అనుమతించు"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "తిరస్కరించు"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "గోప్యతా అభ్యర్థన"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d యొక్క %d పేజీ."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s అనుమతిని ప్రాప్యత చేయడానికి %1$sను అనుమతించాలా."
+
diff --git a/po/tg_TJ.po b/po/tg_TJ.po
new file mode 100755 (executable)
index 0000000..39649d7
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Такрор нак."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Иҷозат д-н"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Рад кардан"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Дархости махфият"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Саҳифаи %d аз %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Ба %1$s барои дастрас кардани %2$s иҷозат диҳед."
+
diff --git a/po/th.po b/po/th.po
new file mode 100755 (executable)
index 0000000..fe96893
--- /dev/null
+++ b/po/th.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "อย่าแสดงซ้ำ"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "อนุญาต"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "ไม่"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "การร้องขอความเป็นส่วนตัว"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "หน้าที่ %d ​จาก %d"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "อนุญาต %1$s ให้เข้าถึงการอนุญาต %2$s หรือไม่"
+
diff --git a/po/tk_TM.po b/po/tk_TM.po
new file mode 100755 (executable)
index 0000000..39fc897
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Gaýtalamaň."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Rugsat ber"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Ret et"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Gizlinlik haýyşy"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "%d-nyň %d sahypasy"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s %2$s rugsadyna girsin."
+
diff --git a/po/tl.po b/po/tl.po
new file mode 100755 (executable)
index 0000000..5928fa7
--- /dev/null
+++ b/po/tl.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n>=1 && n<=3 || n%10!=4 || n%10!=6 || n%10!=9 ? 1 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Wag ulitin"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Payagan"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Tanggihan"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Hiling sa privacy"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Pahina %d ng %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Payagan ang %1$s sa pahintulot na %2$s."
+
diff --git a/po/tr_TR.po b/po/tr_TR.po
new file mode 100755 (executable)
index 0000000..179ea65
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Tekrarlama"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "İzin ver"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Reddet"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Gizlilik isteği"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Sayfa %d / %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s uygulamasına %2$s izni verin."
+
diff --git a/po/uk.po b/po/uk.po
new file mode 100755 (executable)
index 0000000..5fbab62
--- /dev/null
+++ b/po/uk.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n%10==1 && n%100!=11 ? 1 : (n%10>=2 && n%10<=4) && !(n%100>=12 && n%100<=14) ? 3 : n%10 == 0 || (n%10 >= 5 && n%10 <= 9) || (n%100 >= 11 && n%100 <= 14) ? 4 : 5);"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Не повтор."
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Дозволити"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Заборонити"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Запит на надання конфіденційних даних"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Сторінка %d з %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Надання %1$s доступу до дозволу %2$s."
+
diff --git a/po/ur.po b/po/ur.po
new file mode 100755 (executable)
index 0000000..d0d74e7
--- /dev/null
+++ b/po/ur.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "نہ دہرائیں"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "اجازت دیں"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "انکار کریں"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "رازداری کی درخواست"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "صفحہ %d از %d۔"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%2$s کی رسائی کی اجازت کے لیے %1$s کی اجازت دیں۔"
+
diff --git a/po/uz.po b/po/uz.po
new file mode 100755 (executable)
index 0000000..5b62da0
--- /dev/null
+++ b/po/uz.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=(n != 1) ? 5 : 1;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Takrorlama"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Ruxsat ber"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Rad etish"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Maxfiylik so‘rovi"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Sahifa %d, %ddan."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "%1$s’ga %2$s ruxsatiga kirish uchun ijozat bering."
+
diff --git a/po/vi.po b/po/vi.po
new file mode 100755 (executable)
index 0000000..ef77d82
--- /dev/null
+++ b/po/vi.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "Không lặp lại"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "Cho phép"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "Từ chối"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "Yêu cầu về riêng tư"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "Trang %d của %d."
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "Cho phép %1$s truy cập %2$s."
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
new file mode 100755 (executable)
index 0000000..ddbf032
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "不重复"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "允许"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "拒绝"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "隐私请求"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "第 %d 页,共 %d 页。"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "允许%1$s访问%2$s。"
+
diff --git a/po/zh_HK.po b/po/zh_HK.po
new file mode 100755 (executable)
index 0000000..58ab3fb
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "不要重複。"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "允許"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "拒絕"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "私隱請求"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "第 %d 頁,共 %d 頁。"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "允許 %1$s 存取%2$s權限。"
+
diff --git a/po/zh_TW.po b/po/zh_TW.po
new file mode 100755 (executable)
index 0000000..641ed17
--- /dev/null
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Plural-Forms: nplurals=6; plural=5;"
+
+
+msgid "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+msgstr "不再顯示"
+
+msgid "IDS_IDLE_BUTTON_ALLOW_ABB7"
+msgstr "允許"
+
+msgid "IDS_IDLE_BUTTON_DENY"
+msgstr "拒絕"
+
+msgid "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+msgstr "隱私權要求"
+
+msgid "IDS_PB_BODY_PAGE_PD_OF_PD"
+msgstr "頁面 %d 為 %d。"
+
+msgid "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+msgstr "允許 %1$s 存取 %2$s 權限。"
+
diff --git a/res/icon/default.png b/res/icon/default.png
new file mode 100644 (file)
index 0000000..983c883
Binary files /dev/null and b/res/icon/default.png differ
diff --git a/ui/CMakeLists.txt b/ui/CMakeLists.txt
new file mode 100755 (executable)
index 0000000..ed005ba
--- /dev/null
@@ -0,0 +1,27 @@
+INCLUDE(FindPkgConfig)
+SET(pkg_name "org.tizen.askuser-popup")
+
+pkg_check_modules(${pkg_name} REQUIRED glib-2.0 evas elementary edje eina efl-extension security-privilege-manager dlog capi-appfw-app-control bundle capi-appfw-app-manager capi-appfw-application pkgmgr-info capi-privacy-privilege-manager)
+
+SET(SRCS
+       ${CMAKE_SOURCE_DIR}/common/src/common_utils.c
+       src/popup.c
+       src/app_main.c
+)
+
+FOREACH(flag ${${pkg_name}_CFLAGS})
+       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
+INCLUDE_DIRECTORIES(
+       ${CMAKE_SOURCE_DIR}/common/include
+       ${CMAKE_SOURCE_DIR}/ui/include
+)
+
+ADD_EXECUTABLE(${pkg_name} ${SRCS})
+
+TARGET_LINK_LIBRARIES(${pkg_name}
+       ${${pkg_name}_LDFLAGS}
+)
+INSTALL(TARGETS ${pkg_name} DESTINATION ${BINDIR})
+
diff --git a/ui/include/view.h b/ui/include/view.h
new file mode 100755 (executable)
index 0000000..bdf3e18
--- /dev/null
@@ -0,0 +1,36 @@
+/**
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *    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.
+ */
+/*
+ * @file        view.h
+ * @author      Yunjin Lee <yunjin-.lee@samsung.com>
+ * @version     1.0
+ * @brief
+ */
+
+
+#include <Elementary.h>
+#include <glib.h>
+#include <app.h>
+
+#include "common_utils.h"
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+#define LOG_TAG "ASKUSER_POPUP"
+
+void create_view(app_data_s *ad);
+void send_response(const char* response, app_data_s *ad);
diff --git a/ui/src/app_main.c b/ui/src/app_main.c
new file mode 100644 (file)
index 0000000..7b545e2
--- /dev/null
@@ -0,0 +1,253 @@
+/**
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *     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.
+ */
+/*
+ * @file               app_main.c
+ * @author             Yunjin Lee (yunjin-.lee@samsung.com)
+ * @version            1.0
+ * @brief
+ */
+
+#include <app_info.h>
+#include <app_manager.h>
+#include <bundle.h>
+#include <bundle_internal.h>
+
+#include "common_utils.h"
+#include "view.h"
+
+static void win_delete_request_cb(void *data, Evas_Object * obj, void *event_info)
+{
+       LOGD("win del req");
+       ui_app_exit();
+}
+
+static void app_start(void* data)
+{
+       LOGD("app_start()");
+       app_data_s* ad = (app_data_s*)data;
+
+       /* Add conformant to window */
+       ad->conform = elm_conformant_add(ad->win);
+       elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_SHOW);
+       elm_win_indicator_opacity_set(ad->win, ELM_WIN_INDICATOR_OPAQUE);
+       evas_object_size_hint_weight_set(ad->conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       elm_win_resize_object_add(ad->win, ad->conform);
+       evas_object_show(ad->conform);
+
+       evas_object_show(ad->win);
+
+       return ;
+}
+
+static bool app_create(void * data)
+{
+       LOGD("app_create()");
+       app_data_s *ad = (app_data_s*)data;
+
+       elm_app_base_scale_set(1.8);
+
+       ad->win = elm_win_add(NULL, "askuser-popup", ELM_WIN_BASIC);
+       elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_SHOW);
+       elm_win_indicator_opacity_set(ad->win, ELM_WIN_INDICATOR_TRANSPARENT);
+
+       if (elm_win_wm_rotation_supported_get(ad->win)) {
+               int rots[4] = { 0, 90, 180, 270 };
+               elm_win_wm_rotation_available_rotations_set(ad->win, (const int *)(&rots), 4);
+       }
+       evas_object_smart_callback_add(ad->win, "delete,request", win_delete_request_cb, NULL);
+
+       app_start(ad);
+
+       return true;
+}
+
+static void app_control(app_control_h app_control, void *data)
+{
+       LOGD("app_control()");
+       /* Handle the launch request. */
+       app_data_s *ad = (app_data_s *)data;
+       int ret = 0;
+
+       char* caller_appid = NULL;
+       ret = app_control_get_caller(app_control, &caller_appid);
+       if (ret != APP_CONTROL_ERROR_NONE) {
+               LOGE("app_control_get_caller() failed. Can't get caller info. Terminate. ret = %d", ret);
+               ui_app_exit();
+       }
+
+       LOGD("caller appid = %s", caller_appid);
+
+       ret = app_control_get_launch_mode(app_control, &(ad->mode));
+       if (ret != APP_CONTROL_ERROR_NONE) {
+               LOGE("app_control_get_launch_mode() failed. Terminate. ret = %d", ret);
+               ui_app_exit();
+       }
+
+       app_info_h app_info;
+       ret = app_info_create(caller_appid, &app_info);
+       free(caller_appid);
+       if (ret != APP_MANAGER_ERROR_NONE) {
+               LOGE("app_info_create() failed. ret = %d", ret);
+               ui_app_exit();
+       }
+
+       ret = app_info_get_package(app_info, &(ad->caller_pkgid));
+       if (ret != APP_MANAGER_ERROR_NONE) {
+               LOGE("app_info_get_package() failed. ret = %d", ret);
+               ui_app_exit();
+       }
+
+       if (ad->caller_pkgid == NULL) {
+               LOGE("Failed to get caller_pkgid");
+               ui_app_exit();
+       }
+
+       bundle *b = NULL;
+
+       ret = app_control_to_bundle(app_control, &b);
+       if (ret != APP_CONTROL_ERROR_NONE) {
+               LOGE("caller pkgid [%s]: app_control_to_bundle() failed. ret = %d", ad->caller_pkgid, ret);
+               ui_app_exit();
+       }
+
+       size_t popup_id_size;
+       int *popup_id;
+
+       ret = bundle_get_byte(b, "popup_id", (void**)&popup_id, &popup_id_size);
+       if (ret == BUNDLE_ERROR_NONE) {
+               ad->popup_id = *popup_id;
+               LOGD("popup_id = %d", *popup_id);
+       } else {
+               LOGE("caller pkgid [%s]: bundle_get_byte() failed. ret = %d", ad->caller_pkgid, ret);
+               ui_app_exit();
+       }
+
+       int privacy_num = 0;
+       const char** privacy_list = bundle_get_str_array(b, "privacy_list", &privacy_num);
+       if (privacy_list == NULL) {
+               LOGE("caller pkgid [%s]: key 'privacy_list' not found.", ad->caller_pkgid);
+               ui_app_exit();
+       }
+       if (privacy_num < 1) {
+               LOGE("caller_pkgid [%s]: key 'privacy_list' len: %d < 1", ad->caller_pkgid, ad->privacy_num);
+               ui_app_exit();
+       }
+
+       ad->privacy_num = privacy_num;
+       LOGD("privacy num = %d", ad->privacy_num);
+       int i = 0;
+       for (i = 0; i < ad->privacy_num; ++i) {
+               LOGD("privacy_list: %s", privacy_list[i]);
+               privacy_data_s *pd = new_privacy_data();
+               pd->privacy = strdup(privacy_list[i]);
+               ad->privacy_list = g_list_append(ad->privacy_list, pd);
+       }
+
+       if (ad->privacy_num > 1) {
+               ad->launch_type = strdup("multi");
+       } else {
+               ad->launch_type = strdup("single");
+       }
+
+       if (!ad->launch_type) {
+               LOGE("caller pkgid [%s]: strdup of 'launch_type' failed.", ad->caller_pkgid);
+               ui_app_exit();
+       }
+
+       LOGD("launch_type : %s", ad->launch_type);
+       create_view(ad);
+}
+
+static void app_pause(void *data)
+{
+       LOGD("app_pause");
+}
+
+static void app_resume(void *data)
+{
+       LOGD("app_resume()");
+       /* Take necessary actions when application becomes visible. */
+}
+
+static void app_terminate(void *data)
+{
+       LOGD("app_terminate()");
+
+       app_data_s *ad = (app_data_s*)data;
+       int ret = 0;
+
+       char *privacies[ad->privacy_num];
+       ppm_popup_response_e responses[ad->privacy_num];
+
+       int i = 0;
+       for (i = 0; i < ad->privacy_num; ++i) {
+               privacy_data_s *pd = (privacy_data_s*)g_list_nth_data(ad->privacy_list, i);
+               privacies[i] = strdup(pd->privacy);
+               responses[i] = pd->response;
+       }
+       ret = ppm_popup_send_response(ad->popup_id, (const char**)privacies, responses, ad->privacy_num);
+
+       for (i = 0; i < ad->privacy_num; ++i) {
+               free(privacies[i]);
+       }
+
+       if (ret != PRIVACY_PRIVILEGE_MANAGER_ERROR_NONE)
+               LOGE("ppm_popup_send_response() failed. ret = %d", ret);
+
+       free_app_data(ad);
+
+       LOGD("app_terminate() end");
+}
+
+static void ui_app_lang_changed(app_event_info_h event_info, void *user_data)
+{
+       /*APP_EVENT_LANGUAGE_CHANGED*/
+       char* lang = NULL;
+       app_event_get_language(event_info, &lang);
+       if (lang) {
+               elm_language_set(lang);
+               free(lang);
+       } else {
+               LOGE("app_event_get_language() failed");
+       }
+}
+
+int main(int argc, char *argv[])
+{
+       LOGD("main");
+       int ret = 0;
+       app_data_s ad;
+       memset(&ad, 0x0, sizeof(app_data_s));
+       init_app_data(&ad);
+
+       ui_app_lifecycle_callback_s event_callback = {0, };
+       app_event_handler_h handler = NULL;
+
+       ui_app_add_event_handler(&handler, APP_EVENT_LANGUAGE_CHANGED, ui_app_lang_changed, &ad);
+
+       event_callback.create = app_create;
+       event_callback.terminate = app_terminate;
+       event_callback.pause = app_pause;
+       event_callback.resume = app_resume;
+       event_callback.app_control = app_control;
+
+       ret = ui_app_main(argc, argv, &event_callback, &ad);
+       if (ret != APP_ERROR_NONE)
+               LOGD("ui_app_main() is failed. err = %d", ret);
+
+       return 0;
+}
+
diff --git a/ui/src/popup.c b/ui/src/popup.c
new file mode 100644 (file)
index 0000000..2dc8983
--- /dev/null
@@ -0,0 +1,299 @@
+/**
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *     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.
+ */
+/*
+ * @file       popup.c
+ * @author     Yunjin Lee (yunjin-.lee@samsung.com)
+ * @version    1.0
+ * @brief
+ */
+
+#define _GNU_SOURCE
+
+#include "common_utils.h"
+#include "view.h"
+
+#include <app_control_internal.h>
+#include <privilege_info.h>
+#include <pkgmgr-info.h>
+
+#define MSG_OK_BUTTON "IDS_IDLE_BUTTON_ALLOW_ABB7"
+#define MSG_CANCEL_BUTTON "IDS_IDLE_BUTTON_DENY"
+#define MSG_POPUP_TITLE "IDS_IDLE_HEADER_PRIVACY_REQUEST"
+#define MSG_POPUP_TEXT "WDS_TPLATFORM_POP_ALLOW_P1SS_ACCESS_TO_P2SS_PERMISSION"
+#define MSG_POPUP_CHECKBOX "IDS_CLOCK_BODY_DONT_REPEAT_ABB"
+#define AO_MSG_COUNTER "IDS_PB_BODY_PAGE_PD_OF_PD"
+
+#define LABEL_PADDING "<br>"
+#define AO_LABEL_PADDING " ..."
+
+#define TEXT_DOMAIN "askuser-popup"
+
+#define COUNTER_LEN 26
+
+
+void save_response(ppm_popup_response_e response, app_data_s *ad)
+{
+       privacy_data_s *pd = (privacy_data_s *)g_list_nth_data(ad->privacy_list, ad->privacy_idx);
+       pd->response = response;
+}
+
+
+static char* __get_privacy_display(const char* privacy)
+{
+       int ret = 0;
+       char* privacy_display = NULL;
+       ret = privilege_info_get_privacy_display(privacy, &privacy_display);
+       if (ret == PRVMGR_ERR_NONE && privacy_display != NULL)
+               return privacy_display;
+       else
+               LOGE("privilege_info_get_privacy_display() failed. ret = %d, privacy = %s", ret, privacy);
+
+       return NULL;
+}
+
+static char* __accessible_content_name_cb(void *data, Evas_Object *obj)
+{
+       Evas_Object *content = (Evas_Object*)data;
+       return strdup(elm_object_part_text_get(content, "default"));
+}
+
+static char* __make_message(const char* format, const char* pkg_label, const char* privacy)
+{
+       if (pkg_label == NULL || privacy == NULL)
+               return NULL;
+
+       char* message = NULL;
+       int ret = 0;
+
+       ret = asprintf(&message, dgettext(TEXT_DOMAIN, format), pkg_label, privacy);
+       if (ret == -1)
+               LOGE("asprintf() of message failed");
+
+       if (message != NULL) {
+               LOGD("message : %s", message);
+               return message;
+       }
+       return NULL;
+}
+
+static char* __get_pkg_label(const char* pkgid)
+{
+       pkgmgrinfo_pkginfo_h handle = NULL;
+       char* label = NULL;
+       char* pkg_label = NULL;
+
+       int ret = pkgmgrinfo_pkginfo_get_pkginfo(pkgid, &handle);
+       if (ret != PMINFO_R_OK)
+               LOGE("pkgmgrinfo_pkginfo_get_pkginfo() failed. ret = %d", ret);
+
+       ret = pkgmgrinfo_pkginfo_get_label(handle, &label);
+       if (ret != PMINFO_R_OK)
+               LOGE("pkgmgrinfo_pkginfo_get_label() failed. ret = %d", ret);
+
+       if (label != NULL)
+               pkg_label = strdup(label);
+
+       if (pkg_label == NULL)
+               LOGE("strdup() of pkg_label failed.");
+
+       if (handle != NULL)
+               pkgmgrinfo_pkginfo_destroy_pkginfo(handle);
+
+       return pkg_label;
+}
+
+static char* __get_accessible_counter(int idx, int num)
+{
+       char* counter = NULL;
+       int ret = 0;
+       char* format = AO_MSG_COUNTER;
+
+       ret = asprintf(&counter, dgettext(TEXT_DOMAIN, format), idx, num);
+       if (ret == -1)
+               LOGE("asprintf() of counter failed");
+
+       if (counter != NULL)
+               return counter;
+       return "";
+}
+
+static char* __get_popup_contents(const char* pkgid, const char* privacy,
+                                         int idx, __attribute__((unused)) int num,
+                                                                 __attribute__((unused)) bool is_accessible)
+{
+       LOGD("__get_popup_contents(%s, %s, %d, %d, %s)", pkgid, privacy, idx, num, is_accessible ? "AO text" : "text");
+       char* pkg_label = __get_pkg_label(pkgid);
+       char* privacy_display = __get_privacy_display(privacy);
+       char* message = __make_message(MSG_POPUP_TEXT, pkg_label, privacy_display);
+
+       if (strlen(pkg_label) > 0)
+               free(pkg_label);
+       if (strlen(privacy_display) > 0)
+               free(privacy_display);
+
+       if (idx == -1)
+               return message;
+
+       char* counter_message = NULL;
+       int ret = 0;
+
+       if (is_accessible) {
+               char* ao_counter = __get_accessible_counter(idx, num);
+               ret = asprintf(&counter_message, "%s%s%s%s",
+                               message, AO_LABEL_PADDING, AO_LABEL_PADDING, ao_counter);
+               if (strlen(ao_counter) > 0)
+                       free(ao_counter);
+       } else {
+               ret = asprintf(&counter_message, "%s%s%s<align=center>%d / %d</align>",
+                               message, LABEL_PADDING, LABEL_PADDING, idx, num);
+       }
+
+       free(message);
+
+       if (ret == -1)
+               LOGE("asprintf() of counter_message failed");
+
+       if (counter_message != NULL) {
+               LOGD("message with counter : %s", counter_message);
+               return counter_message;
+       }
+       return strdup("");
+}
+
+static void __set_popup_contents(app_data_s *ad)
+{
+       privacy_data_s *pd = (privacy_data_s *)g_list_nth_data(ad->privacy_list, ad->privacy_idx);
+
+       char* contents = NULL;
+       char* ao_contents = NULL;
+       if (!strcmp(ad->launch_type, "single")) {
+               contents = __get_popup_contents(ad->caller_pkgid, (const char*)pd->privacy, -1, -1, false);
+               ao_contents = __get_popup_contents(ad->caller_pkgid, (const char*)pd->privacy, -1, -1, true);
+       } else if (!strcmp(ad->launch_type, "multi")) {
+               contents = __get_popup_contents(ad->caller_pkgid, (const char*)pd->privacy, (ad->privacy_idx) + 1, ad->privacy_num, false);
+               ao_contents = __get_popup_contents(ad->caller_pkgid, (const char*)pd->privacy, (ad->privacy_idx) + 1, ad->privacy_num, true);
+       }
+
+       elm_object_part_text_set(ad->popup, "default", contents);
+       elm_atspi_accessible_name_set(ad->ao_contents, ao_contents);
+       elm_atspi_component_highlight_grab(ad->ao_contents);
+
+       if (contents != NULL)
+               free(contents);
+       if (ao_contents != NULL)
+               free(ao_contents);
+}
+
+static char* __get_accessible_popup_contents_cb(void *data, Evas_Object *obj)
+{
+       __set_popup_contents((app_data_s*)data);
+       return NULL;
+}
+
+static void __check_next_privacy(app_data_s *ad)
+{
+       LOGD("__check_next_privacy()");
+       ad->privacy_idx++;
+       if (ad->privacy_idx >= ad->privacy_num) {
+               ad->all_responded = true;
+               LOGD("all_responded, close the popup");
+       } else {
+               __set_popup_contents(ad);
+       }
+}
+
+static void __allow_response_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       LOGD("allow response");
+       app_data_s *ad = (app_data_s *)data;
+       save_response(PRIVACY_PRIVILEGE_MANAGER_POPUP_RESPONSE_ALLOW_FOREVER, ad);
+       __check_next_privacy(ad);
+       if (ad->all_responded)
+               ui_app_exit();
+}
+
+static void __deny_response_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       LOGD("deny response");
+       app_data_s *ad = (app_data_s *)data;
+       save_response(PRIVACY_PRIVILEGE_MANAGER_POPUP_RESPONSE_DENY_ONCE, ad);
+       __check_next_privacy(ad);
+       if (ad->all_responded)
+               ui_app_exit();
+}
+
+static void __lang_changed_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       LOGD("lang changed");
+       app_data_s *ad = (app_data_s *)data;
+       __set_popup_contents(ad);
+       elm_object_text_set(ad->btn_l, dgettext(TEXT_DOMAIN, MSG_CANCEL_BUTTON));
+       elm_object_text_set(ad->btn_r, dgettext(TEXT_DOMAIN, MSG_OK_BUTTON));
+       elm_atspi_accessible_name_set(ad->btn_l, dgettext(TEXT_DOMAIN, MSG_CANCEL_BUTTON));
+       elm_atspi_accessible_name_set(ad->btn_r, dgettext(TEXT_DOMAIN, MSG_OK_BUTTON));
+
+}
+
+Eina_Bool __hw_key_clicked_cb(void *data, int type, void *event_info)
+{
+       app_data_s *ad = (app_data_s*)data;
+       Ecore_Event_Key *ev = (Ecore_Event_Key*)event_info;
+       ALOGD("HW key clicked. type <%d> pressed key is <%s>", type, ev->key);
+       if (ev->event_flags & ECORE_EVENT_FLAG_CANCEL) return ECORE_CALLBACK_PASS_ON;
+       if (ad->mode == APP_CONTROL_LAUNCH_MODE_SINGLE && !strcmp(ev->key, HOME_KEY)) {
+               LOGD("launch mode single. home key terminate.");
+               ui_app_exit();
+       }
+       if (!strcmp(ev->key, BACK_KEY)) {
+               ui_app_exit();
+       }
+       return EINA_TRUE;
+}
+
+void create_view(app_data_s *ad)
+{
+       LOGD("popup launched");
+
+       /* Popup */
+       ad->popup = elm_popup_add(ad->win);
+       elm_popup_align_set(ad->popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
+       elm_object_part_text_set(ad->popup, "title,text", dgettext(TEXT_DOMAIN, MSG_POPUP_TITLE));
+       evas_object_size_hint_weight_set(ad->popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       evas_object_size_hint_align_set(ad->popup, EVAS_HINT_FILL, EVAS_HINT_FILL);
+
+       ecore_event_handler_add(ECORE_EVENT_KEY_UP, __hw_key_clicked_cb, ad);
+
+       /* Left button */
+       ad->btn_l = elm_button_add(ad->popup);
+       elm_object_part_content_set(ad->popup, "button1", ad->btn_l);
+       elm_object_text_set(ad->btn_l, dgettext(TEXT_DOMAIN, MSG_CANCEL_BUTTON));
+       evas_object_smart_callback_add(ad->btn_l, "clicked", __deny_response_cb, ad);
+
+       elm_atspi_accessible_name_set(ad->btn_l, dgettext(TEXT_DOMAIN, MSG_CANCEL_BUTTON));
+
+       /* Right button */
+       ad->btn_r = elm_button_add(ad->popup);
+       elm_object_part_content_set(ad->popup, "button2", ad->btn_r);
+       elm_object_text_set(ad->btn_r, dgettext(TEXT_DOMAIN, MSG_OK_BUTTON));
+       evas_object_smart_callback_add(ad->btn_r, "clicked", __allow_response_cb, ad);
+
+       elm_atspi_accessible_name_set(ad->btn_r, dgettext(TEXT_DOMAIN, MSG_OK_BUTTON));
+
+       __set_popup_contents(ad);
+
+       evas_object_show(ad->popup);
+}
+