ayatana-indicator-display-22.2.0/AUTHORS0000644000000000000000000000505314203534734014576 0ustar Abdusalam <1810010207@s.upc.edu.cn> account1 Ács Zoltán Adolfo Jayme Barrientos Adrià Martín Adrian Paun Ahmed Mahdi Ali AL Slais Alexie Brindusescu Allan Nordhøy antuketot76 Bileto Bot Charles Kerr CI Train Bot Dariusz Król Davit Mayilyan ElectrifiedSpeed Elizabeth Sherrock Emiliano Gabriele Heimen Stoffels Henrique Combochi Hosted Weblate iNetRoos Iván Seoane Jeannette L Kristjan Räts Louies Luca Weiss Marcela Korreshi Marius Gripsgard MarongHappy Matúš Baňas Mertcan Gokgoz Mike Gabriel Milo Ivir Moo M Ramani Priya MrJang Pavel Borecki Pete Woods Petter Reinholdtsen phlostically Prachi Joshi Quentin PAGÈS Reza Almanda Robert Tari Rodney Dawes Rui Mendes Ryo Nakano Sayed Mohamed Sebastian Rasmussen Sebastien Bacher Simon Picot ssantos Syahmin Sukhairi Ted Gould Tetra Homer THANOS SIOURDAKIS Tiago de Oliveira Tobias p Viktar Vauchkevich wdggg Weblate Yaron Shahrabani Yuji Hon Zeeshan Khan Володимир Бриняк Марс Ямбар Мира Странная ayatana-indicator-display-22.2.0/.build.yml0000644000000000000000000001125414203534734015426 0ustar ######################################################### # THE FOLLOWING LINES IS USED BY docker-build ########################################################## requires: archlinux: # Useful URL: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ayatana-indicator-display - clang - gcc - git - make - startup-notification - which - cmake - cmake-extras - dbus - intltool - glib2 # - libayatana-common - gobject-introspection # - liblomiri-url-dispatcher - vala # FIXME: add missing build-dependencies debian: # Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-indicator-display - clang - clang-tools - g++ - cppcheck - git - cmake - cmake-extras - dbus - intltool # - libayatana-common-dev - gobject-introspection - libgirepository1.0-dev - liblomiri-url-dispatcher-dev - valac - libglib2.0-dev - libgudev-1.0-dev - libproperties-cpp-dev - qtbase5-dev - libqtdbusmock1-dev - libqtdbustest1-dev - libgtest-dev - cppcheck - googletest - lcov - gcovr - systemd ubuntu: - clang - clang-tools - g++ - git - cmake - cmake-extras - dbus - intltool # - libayatana-common-dev - gobject-introspection - libgirepository1.0-dev - liblomiri-url-dispatcher-dev - valac - libglib2.0-dev - libgudev-1.0-dev - libproperties-cpp-dev - qtbase5-dev - libqtdbusmock1-dev - libqtdbustest1-dev - libgtest-dev - cppcheck - googletest - lcov - gcovr - systemd - gsettings-ubuntu-schemas ubuntu:focal: - clang - clang-tools - g++ - git - cmake - cmake-extras - dbus - intltool # - libayatana-common-dev - gobject-introspection - libgirepository1.0-dev # - liblomiri-url-dispatcher-dev - valac - libglib2.0-dev - libgudev-1.0-dev - libproperties-cpp-dev - qtbase5-dev - libqtdbusmock1-dev - libqtdbustest1-dev - libgtest-dev - cppcheck - googletest - lcov - gcovr - systemd - gsettings-ubuntu-schemas variables: - 'CHECKERS=" -enable-checker deadcode.DeadStores -enable-checker alpha.deadcode.UnreachableCode -enable-checker alpha.core.CastSize -enable-checker alpha.core.CastToStruct -enable-checker alpha.core.IdenticalExpr -enable-checker alpha.core.SizeofPtr -enable-checker alpha.security.ArrayBoundV2 -enable-checker alpha.security.MallocOverflow -enable-checker alpha.security.ReturnPtrRange -enable-checker alpha.unix.SimpleStream -enable-checker alpha.unix.cstring.BufferOverlap -enable-checker alpha.unix.cstring.NotNullTerminated -enable-checker alpha.unix.cstring.OutOfBounds -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' before_scripts: - cd ${START_DIR} - if [ ! -d libayatana-common-build ]; then - git clone --depth 1 https://github.com/AyatanaIndicators/libayatana-common.git libayatana-common-build - fi - cd libayatana-common-build - if [ ${DISTRO_NAME} == "debian" ]; then - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_LOMIRI_FEATURES=ON - else - cmake . -DCMAKE_INSTALL_PREFIX=/usr - fi - make - make install - cd - - rm -Rf libayatana-common-build/ build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - fi - - if [ -e ./CMakeLists.txt ]; then - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON - else - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON - fi - else - exit 1 - fi - - if [ $CPU_COUNT -gt 1 ]; then - if [ ${DISTRO_NAME} == "debian" ];then - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT - make clean - fi - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - else - if [ ${DISTRO_NAME} == "debian" ];then - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make - make clean - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi - XVFB_RUN="$(which xvfb-run || true)" - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then - if [ -e ./CMakeLists.txt ]; then - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - fi - fi ayatana-indicator-display-22.2.0/ChangeLog0000644000000000000000000000743014203534734015301 0ustar ayatana-indicator-display (22.2.0-0) unstable; urgency=medium * Upstream-provided Debian package for ayatana-indicator-display. See upstream ChangeLog for recent changes. -- Mike Gabriel Thu, 17 Feb 2022 22:05:36 +0100 ayatana-indicator-display (0.9.0-0) unstable; urgency=medium * Fork ayatana-indicator-datetime from Ubuntu's indicator-display. * Upstream-provided Debian package for ayatana-indicator-display. See upstream ChangeLog for recent changes. -- Mike Gabriel Thu, 18 Nov 2021 10:45:46 +0100 indicator-display (0.1+17.04.20170210-0ubuntu1) zesty; urgency=medium * Remove old autostart files. * Fix the google test dependency. * Use intltool support from cmake-extras. * Make coverage reporting work. * Enable parallel builds. -- Rodney Dawes Fri, 10 Feb 2017 17:10:00 +0000 indicator-display (0.1+17.04.20170106-0ubuntu1) zesty; urgency=medium * Compatibility with unversioned cmake-extras modules (LP: #1563573) -- Pete Woods Fri, 06 Jan 2017 10:44:49 +0000 indicator-display (0.1+17.04.20161021.1-0ubuntu1) zesty; urgency=medium [ Charles Kerr ] * Fix test error in adbd-client-test [ Ted Gould ] * Adding a systemd user session unit -- Martin Pitt Fri, 21 Oct 2016 14:20:11 +0000 indicator-display (0.1+16.04.20160324.1-0ubuntu1) xenial; urgency=medium [ Charles Kerr ] * When a new device appears to ADB, prompt the user whether or not to allow the connection. -- Simon Fels Thu, 24 Mar 2016 16:16:55 +0000 indicator-display (0.1+15.10.20150727-0ubuntu2~gcc5.1) wily; urgency=medium * No-change test rebuild for g++5 ABI transition -- Steve Langasek Mon, 27 Jul 2015 22:57:15 +0000 indicator-display (0.1+15.10.20150727-0ubuntu1) wily; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Charles Kerr ] * drop build-dependency on g++-4.9 (LP: #1452323) -- CI Train Bot Mon, 27 Jul 2015 18:06:30 +0000 indicator-display (0.1+15.04.20150302-0ubuntu1) vivid; urgency=medium [ Charles Kerr ] * Fix action-state-to-variant mapping (LP: #1410915) -- CI Train Bot Mon, 02 Mar 2015 16:56:31 +0000 indicator-display (0.1+15.04.20141103-0ubuntu1) vivid; urgency=low [ Ted Gould ] * Small typo in integration test plan -- Ubuntu daily release Mon, 03 Nov 2014 21:06:33 +0000 indicator-display (0.1+14.10.20141009-0ubuntu1) utopic; urgency=low [ Charles Kerr ] * Use com.ubuntu.touch.system's "rotation-lock" boolean for the rotation lock indicator. (LP: #1378078) -- Ubuntu daily release Thu, 09 Oct 2014 13:44:22 +0000 indicator-display (0.1+14.10.20141007-0ubuntu1) utopic; urgency=low [ Charles Kerr ] * Change the phone header's title from "Rotation Lock" to "Rotation". (LP: #1377286) -- Ubuntu daily release Tue, 07 Oct 2014 19:45:58 +0000 indicator-display (0.1+14.10.20140915-0ubuntu1) utopic; urgency=low [ Sebastien Bacher ] * Tag to use langpacks, so launchpad imports the translations template -- Ubuntu daily release Mon, 15 Sep 2014 21:05:52 +0000 indicator-display (0.1+14.10.20140905.1-0ubuntu1) utopic; urgency=low [ Charles Kerr ] * Add a rotation lock indicator [ Ted Gould ] * First commit, README * First release in CI Train -- Ubuntu daily release Fri, 05 Sep 2014 22:18:08 +0000 indicator-display (0.1-0ubuntu1) utopic; urgency=medium * Initial release. -- Charles Kerr Wed, 20 Aug 2014 15:29:27 -0500 ayatana-indicator-display-22.2.0/CMakeLists.txt0000644000000000000000000000500114203534734016257 0ustar project(ayatana-indicator-display LANGUAGES C CXX) cmake_minimum_required(VERSION 3.13) if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE) endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) ## ## GNU standard paths ## include(GNUInstallDirs) set(PROJECT_VERSION "22.2.0") set(PACKAGE ${CMAKE_PROJECT_NAME}) set(SERVICE_LIB ${PACKAGE}) set(SERVICE_EXEC "${PACKAGE}-service") # Options option(ENABLE_TESTS "Enable all tests and checks" OFF) option(ENABLE_COVERAGE "Enable coverage reports (includes enabling all tests and checks)" OFF) option(ENABLE_WERROR "Treat all build warnings as errors" OFF) if(ENABLE_COVERAGE) set(ENABLE_TESTS ON) set(CMAKE_BUILD_TYPE "Coverage") else() set(CMAKE_BUILD_TYPE "Release") endif() if(ENABLE_WERROR) add_definitions("-Werror") endif() if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_definitions("-Weverything") elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") add_definitions("-Wall") endif() ## ## Gettext ## set(GETTEXT_PACKAGE "ayatana-indicator-display") add_definitions( -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" -DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}" ) ## ## Check for prerequisites ## # threads... set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 3.1) set(THREAD_LINK_LIBRARIES -pthread) else() set(THREAD_LINK_LIBRARIES Threads::Threads) # introduced in cmake 3.1 endif() find_package(PkgConfig REQUIRED) # glib... set(GLIB_MINIMUM 2.36) pkg_check_modules(SERVICE_DEPS REQUIRED libayatana-common>=0.9.3 gio-unix-2.0>=${GLIB_MINIMUM} glib-2.0>=${GLIB_MINIMUM} gudev-1.0 properties-cpp>=0.0.1 ) include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS} ) ## ## Compiler settings ## include_directories(${CMAKE_CURRENT_SOURCE_DIR}) add_compile_options(-fPIC) add_subdirectory(src) add_subdirectory(data) add_subdirectory(po) ## ## Testing & Coverage ## if (ENABLE_TESTS) include(CTest) enable_testing() add_subdirectory(tests) if (ENABLE_COVERAGE) find_package(CoverageReport) ENABLE_COVERAGE_REPORT( TARGETS ${SERVICE_LIB} ${SERVICE_EXEC} TESTS ${COVERAGE_TEST_TARGETS} FILTER /usr/include ${CMAKE_BINARY_DIR}/* ) endif() endif() # Display config info message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}") message(STATUS "Unit tests: ${ENABLE_TESTS}") message(STATUS "Build with -Werror: ${ENABLE_WERROR}") ayatana-indicator-display-22.2.0/COPYING0000644000000000000000000010451314203534734014562 0ustar GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ayatana-indicator-display-22.2.0/data/ayatana-indicator-display.conf.in0000644000000000000000000000041714203534734022745 0ustar description "Ayatana Indicator Display Backend" start on ayatana-indicator-services-start stop on desktop-end or ayatana-indicator-services-end respawn respawn limit 2 10 exec @CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-display/ayatana-indicator-display-service ayatana-indicator-display-22.2.0/data/ayatana-indicator-display.desktop.in0000644000000000000000000000037414203534734023473 0ustar [Desktop Entry] Type=Application Name=Ayatana Indicator Display Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-display/ayatana-indicator-display-service OnlyShowIn=Unity;MATE;XFCE;Budgie:GNOME; NoDisplay=true StartupNotify=false Terminal=false ayatana-indicator-display-22.2.0/data/ayatana-indicator-display.service.in0000644000000000000000000000045014203534734023455 0ustar [Unit] Description=Ayatana Indicator Display Backend PartOf=graphical-session.target PartOf=ayatana-indicators.target [Service] ExecStart=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-display/ayatana-indicator-display-service Restart=on-failure [Install] WantedBy=ayatana-indicators.target ayatana-indicator-display-22.2.0/data/CMakeLists.txt0000644000000000000000000000370414203534734017200 0ustar find_package(GSettings) ## ## GSettings schema ## set (SCHEMA_NAME "org.ayatana.display.gschema.xml") set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}") set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in") # generate the .xml file using intltool find_package(Intltool REQUIRED) set (ENV{LC_ALL} "C") intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) # let GSettings do the rest find_package(GSettings REQUIRED) add_schema (${SCHEMA_NAME}) ## ## Systemd Unit File ## pkg_check_modules(SYSTEMD systemd) if (${SYSTEMD_FOUND}) # where to install pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir) message (STATUS "${SYSTEMD_USER_DIR} is the systemd user unit file install dir") set (SYSTEMD_USER_NAME "${CMAKE_PROJECT_NAME}.service") set (SYSTEMD_USER_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SYSTEMD_USER_NAME}") set (SYSTEMD_USER_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SYSTEMD_USER_NAME}.in") # build it configure_file ("${SYSTEMD_USER_FILE_IN}" "${SYSTEMD_USER_FILE}") # install it install (FILES "${SYSTEMD_USER_FILE}" DESTINATION "${SYSTEMD_USER_DIR}") endif() ## ## XDG Autostart Config File ## # build it configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop") # install it install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" DESTINATION "/etc/xdg/autostart") ## ## Ayatana Indicator File ## # where to install set (AYATANA_INDICATOR_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/ayatana/indicators") message (STATUS "${AYATANA_INDICATOR_DIR} is the Ayatana Indicator install dir") set (AYATANA_INDICATOR_NAME "org.ayatana.indicator.rotation_lock") set (AYATANA_INDICATOR_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${AYATANA_INDICATOR_NAME}") install (FILES "${AYATANA_INDICATOR_FILE}" DESTINATION "${AYATANA_INDICATOR_DIR}") ayatana-indicator-display-22.2.0/data/org.ayatana.display.gschema.xml.in0000644000000000000000000000174414203534734023047 0ustar false <_summary>Lock rotation <_description> Lock automatic display rotation. "none" <_summary>Orientation lock <_description>Locks orientation to a specific value. ayatana-indicator-display-22.2.0/data/org.ayatana.indicator.rotation_lock0000644000000000000000000000047614203534734023413 0ustar [Indicator Service] Name=ayatana-indicator-rotation-lock ObjectPath=/org/ayatana/indicator/rotation_lock Position=90 [phone] ObjectPath=/org/ayatana/indicator/rotation_lock/phone [phone_greeter] ObjectPath=/org/ayatana/indicator/rotation_lock/phone [desktop] ObjectPath=/org/ayatana/indicator/rotation_lock/desktop ayatana-indicator-display-22.2.0/INSTALL.md0000644000000000000000000000177214203534734015162 0ustar # Build and installation instructions ## Compile-time build dependencies - cmake (>= 3.13) - cmake-extras - intltool - libayatana-common (>=0.9.5) - glib-2.0 (>= 2.36) - gudev-1.0 - properties-cpp - gtest (>= 1.6.0) - **For testing** - qt5-base5 - **For testing** - libqtdbusmock1 - **For testing** - libqtdbustest1 - **For testing** - cppcheck - **For testing** - gcovr (>= 2.4) - **For coverage** - lcov (>= 1.9) - **For coverage** ## For end-users and packagers ``` cd ayatana-indicator-display-X.Y.Z mkdir build cd build cmake .. make sudo make install ``` **The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`** ## For testers - unit tests only ``` cd ayatana-indicator-display-X.Y.Z mkdir build cd build cmake .. -DENABLE_TESTS=ON make make test make cppcheck ``` ## For testers - both unit tests and code coverage ``` cd ayatana-indicator-display-X.Y.Z mkdir build-coverage cd build-coverage cmake .. -DENABLE_COVERAGE=ON make make coverage-html ``` ayatana-indicator-display-22.2.0/NEWS0000644000000000000000000000411314203534734014221 0ustar Overview of changes in ayatana-indicator-display 22.2.0 - Upstream version bump to new release versioning scheme: .., where . will be bumped in Ayatana Indicators bundle releases and gets incremented with minor changeset releases. - Drop pkglibexecdir and use native CMake file configuration. - CMakeLists.txt: Clean up compilation flags. - tests/integration/usb-manager-test.cpp: Remove unneded lambda capture. - tests/utils/CMakeLists.txt: Fix qt5_use_modules warning. - Fix wrong Exec= in .desktop file. - INSTALL.md: Update dependency list. - CMakeLists.txt: Fix missing check for properties-cpp dependency. - Do not install systemd service file if not found. - GSettings: Use org.ayatana.display.gschema.xml for non-Lomiri sessions and unit tests. - Translation updates. Overview of changes in ayatana-indicator-display 0.9.0 - Rename Lomiri-specific properties to x-lomiri. - Rename com.ubuntu.touch.system to com.lomiri.touch.system. - Rename x-canonical properties to x-ayatana. - tests/CMakeFiles.txt: Suppress some cppchecks. - tests/integration/usb-manager-test.cpp: Fix cppcheck test in Ubuntu 20.04. Mark unused adbd_server and usb_manager as such. - po/CMakeLists.txt: Don't touch .pot file during builds. - Add info and install instructions. - Only create UsbManager instance if ADBD socket is available. (Allows running this indicator on systems without ADBD support). - Add XDG autostart stuff. - Use -no-pie build flag for tests only. - Fix rotation lock switch display. - Create desktop profile. Allows using this indicator on systems that are not phones. - tests/test-dbus-fixture.h: Turn TestDBusFixture::TestDBusFixture into an explicitly declared constructor. - src/adbd-client.cpp: Fix several type warnings. - Drop all references to upstart. - Replace x-canonical attributes. - Start indicator in systemd when ayatana-indicators.target is started. - Add Travis CI configuration. - Translation updates. - Fork from Ubuntus' indicator-display project. ayatana-indicator-display-22.2.0/po/aa.po0000644000000000000000000000167514203534734015073 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: aa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/af.po0000644000000000000000000000234614203534734015074 0ustar # Afrikaans translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-05-10 06:12+0000\n" "Last-Translator: iNetRoos \n" "Language-Team: Afrikaans \n" "Language: af\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotasie Versperring" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotasie" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Die rekenaar se RSA vingerafdruk sleutel is: \"%s\"" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Laat Toe" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Weier" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Laat USB ontfouting toe?" ayatana-indicator-display-22.2.0/po/am.po0000644000000000000000000000171214203534734015077 0ustar # Amharic translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: am\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/an.po0000644000000000000000000000171414203534734015102 0ustar # Aragonese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: an\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ar.po0000644000000000000000000000251714203534734015110 0ustar # Arabic translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-03 18:21+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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;\n" "X-Generator: Weblate 4.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "قفل الدوران" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "الدوران" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "بصمة مفتاح RSA للكمبيوتر هي: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "السماح" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "لا تسمح" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "السماح تصحيح USB؟" ayatana-indicator-display-22.2.0/po/as.po0000644000000000000000000000167514203534734015115 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: as\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ast.po0000644000000000000000000000171414203534734015273 0ustar # Asturian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ast\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ayatana-indicator-display.pot0000644000000000000000000000173014203534734021721 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/az.po0000644000000000000000000000171614203534734015120 0ustar # Azerbaijani translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: az\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/bem.po0000644000000000000000000000171114203534734015244 0ustar # Bemba translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: bem\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/be.po0000644000000000000000000000257014203534734015073 0ustar # Belarusian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-12-18 21:59+0000\n" "Last-Translator: Viktar Vauchkevich \n" "Language-Team: Belarusian \n" "Language: be\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 2.18\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Блок павароту" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Паварот" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Адбітак RSA-ключа кампутара: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Дазволіць" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Не дазваляць" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Дазволіць USB-адладку?" ayatana-indicator-display-22.2.0/po/bg.po0000644000000000000000000000177314203534734015101 0ustar # Bulgarian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/bn.po0000644000000000000000000000171214203534734015101 0ustar # Bengali translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: bn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/bo.po0000644000000000000000000000171214203534734015102 0ustar # Tibetan translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: bo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/br.po0000644000000000000000000000171114203534734015104 0ustar # Breton translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: br\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/bs.po0000644000000000000000000000171214203534734015106 0ustar # Bosnian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ca.po0000644000000000000000000000240414203534734015064 0ustar # Catalan translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-23 20:11+0000\n" "Last-Translator: Adolfo Jayme Barrientos \n" "Language-Team: Catalan \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.0.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Blocatge del gir" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Gir" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "L'empremta de la clau RSA de l'ordinador és: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permet" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "No ho permetis" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Voleu permetre la depuració mitjançant USB?" ayatana-indicator-display-22.2.0/po/ca@valencia.po0000644000000000000000000000172314203534734016672 0ustar # Catalan translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ca@valencia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ce.po0000644000000000000000000000171214203534734015071 0ustar # Chechen translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ce\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ckb.po0000644000000000000000000000172014203534734015240 0ustar # Language ckb translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ckb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/CMakeLists.txt0000644000000000000000000000016114203534734016677 0ustar find_package(Intltool REQUIRED) intltool_install_translations( ALL GETTEXT_PACKAGE ${GETTEXT_PACKAGE} ) ayatana-indicator-display-22.2.0/po/co.po0000644000000000000000000000171314203534734015104 0ustar # Corsican translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: co\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/crh.po0000644000000000000000000000172114203534734015256 0ustar # Crimean Tatar translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: crh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/csb.po0000644000000000000000000000167614203534734015262 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: csb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/cs.po0000644000000000000000000000240114203534734015103 0ustar # Czech translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-04-04 14:35+0000\n" "Last-Translator: Pavel Borecki \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 2.20-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Zámek otáčení" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Otáčení" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Otisk RSA klíče počítače je: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Umožnit" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Neumožnit" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Umožnit ladění přes USB?" ayatana-indicator-display-22.2.0/po/cv.po0000644000000000000000000000171214203534734015112 0ustar # Chuvash translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: cv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/cy.po0000644000000000000000000000171014203534734015113 0ustar # Welsh translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: cy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/da.po0000644000000000000000000000226314203534734015070 0ustar # Danish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-07-04 23:41+0000\n" "Last-Translator: Tobias p \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotations lås" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Tillad" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Tillad Ikke" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Tillad USB Fejlfinding?" ayatana-indicator-display-22.2.0/po/de.po0000644000000000000000000000234714203534734015077 0ustar # German translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-09-02 14:16+0000\n" "Last-Translator: account1 \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotationssperre" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Der RSA Fingerabdruck dieses Computers ist: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Erlauben" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nicht zulassen" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USB Fehlersuche erlauben?" ayatana-indicator-display-22.2.0/po/dv.po0000644000000000000000000000167514203534734015123 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: dv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/el.po0000644000000000000000000000260114203534734015100 0ustar # Greek translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-05-21 12:43+0000\n" "Last-Translator: THANOS SIOURDAKIS \n" "Language-Team: Greek \n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.7-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Κλείδωμα Περιστροφής" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Περιστροφή" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Το αποτύπωμα κλειδιού RSA του υπολογιστή είναι: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Επέτρεψε" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Μην Επιτρέψεις" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Να επιτραπεί ο εντοπισμός σφαλμάτων USB;" ayatana-indicator-display-22.2.0/po/en_AU.po0000644000000000000000000000213614203534734015472 0ustar # English translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_AU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotation Lock" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "The computer's RSA key fingerprint is: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Allow" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Don't Allow" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Allow USB Debugging?" ayatana-indicator-display-22.2.0/po/en_CA.po0000644000000000000000000000213614203534734015450 0ustar # English translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotation Lock" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "The computer's RSA key fingerprint is: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Allow" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Don't Allow" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Allow USB Debugging?" ayatana-indicator-display-22.2.0/po/en_GB.po0000644000000000000000000000213614203534734015455 0ustar # English translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotation Lock" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "The computer's RSA key fingerprint is: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Allow" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Don't Allow" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Allow USB Debugging?" ayatana-indicator-display-22.2.0/po/eo.po0000644000000000000000000000241514203534734015106 0ustar # Esperanto translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2021-11-19 13:51+0000\n" "Last-Translator: phlostically \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.9.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Ŝloso kontraŭ turniĝo" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Turniĝo" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Jen la haketaĵo de la RSA-ŝlosilo de la komputilo: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permesi" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Malpermesi" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Ĉu permesi erarserĉadon per USB?" ayatana-indicator-display-22.2.0/po/es.po0000644000000000000000000000241114203534734015106 0ustar # Spanish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-05-02 18:51+0000\n" "Last-Translator: Adolfo Jayme Barrientos \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Bloqueo de giro" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Giro" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "La huella digital de la clave RSA del equipo es: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permitir" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "No permitir" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "¿Quiere permitir la depuración a través de USB?" ayatana-indicator-display-22.2.0/po/et.po0000644000000000000000000000234114203534734015111 0ustar # Estonian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-12-10 09:26+0000\n" "Last-Translator: Kristjan Räts \n" "Language-Team: Estonian \n" "Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.18-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Pööramise lukustus" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Pööramine" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Arvuti RSA võtme sõrmejälg on: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Luba" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Keela" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Kas lubada USB silumine?" ayatana-indicator-display-22.2.0/po/eu.po0000644000000000000000000000171114203534734015112 0ustar # Basque translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fa.po0000644000000000000000000000243614203534734015074 0ustar # Persian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-07-20 20:41+0000\n" "Last-Translator: Tetra Homer \n" "Language-Team: Persian \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "قفل چرخش" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "چرخش" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "اثر انگشت کلید RSA این رایانه هست: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "اجازه" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "اجازه ندادن" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "اجازه دادن به خطا یابی کابل USB؟" ayatana-indicator-display-22.2.0/po/fil.po0000644000000000000000000000171414203534734015256 0ustar # Filipino translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: fil\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fi.po0000644000000000000000000000177114203534734015105 0ustar # Finnish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fo.po0000644000000000000000000000177114203534734015113 0ustar # Faroese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: fo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fr_CA.po0000644000000000000000000000240314203534734015452 0ustar # French translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-28 11:11+0000\n" "Last-Translator: Jeannette L \n" "Language-Team: French (Canada) \n" "Language: fr_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.0.2\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Verrouiller la rotation" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "La clé de l'empreinte de l'ordinateur du RSA est %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Autoriser" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Ne pas autoriser" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Autoriser le débogage USB?" ayatana-indicator-display-22.2.0/po/fr.po0000644000000000000000000000237414203534734015116 0ustar # French translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-08-01 05:12+0000\n" "Last-Translator: Simon Picot \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.8-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Verrouiller la rotation" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "La clé de l'empreinte de l'ordinateur du RSA est %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Autoriser" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Ne pas autoriser" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Autoriser le débogage USB ?" ayatana-indicator-display-22.2.0/po/frp.po0000644000000000000000000000172014203534734015270 0ustar # Language frp translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: frp\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fur.po0000644000000000000000000000167614203534734015307 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: fur\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/fy.po0000644000000000000000000000172214203534734015121 0ustar # Western Frisian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: fy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ga.po0000644000000000000000000000200614203534734015066 0ustar # Irish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ga\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/gd.po0000644000000000000000000000172214203534734015075 0ustar # Scottish Gaelic translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: gd\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/gl.po0000644000000000000000000000242414203534734015105 0ustar # Galician translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-10-24 16:29+0000\n" "Last-Translator: Iván Seoane \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.3-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Bloqueo da rotación" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotación" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "A pegada dixital da chave ou clave RSA do computador é: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permitir" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Non permitir" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Desexa permiti-la depuración a través do USB?" ayatana-indicator-display-22.2.0/po/gu.po0000644000000000000000000000171314203534734015116 0ustar # Gujarati translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: gu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/gv.po0000644000000000000000000000167514203534734015126 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: gv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/he.po0000644000000000000000000000252514203534734015101 0ustar # Hebrew translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-08-05 20:53+0000\n" "Last-Translator: Yaron Shahrabani \n" "Language-Team: Hebrew \n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && " "n % 10 == 0) ? 2 : 3));\n" "X-Generator: Weblate 3.1.1\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "נעילת סיבוב" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "סיבוב" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "טביעת אצבע ה־RSA של המחשב הזה היא: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "לאפשר" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "לא לאפשר" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "לאפשר ניפוי שגיאות דרך USB?" ayatana-indicator-display-22.2.0/po/hi.po0000644000000000000000000000237514203534734015110 0ustar # Hindi translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-07 19:51+0000\n" "Last-Translator: Zeeshan Khan \n" "Language-Team: Hindi \n" "Language: hi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "अनुमति है" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "अनुमति नहीं है" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "यु.एस.बी डिबगिंग की अनुमति दें" ayatana-indicator-display-22.2.0/po/hr.po0000644000000000000000000000247714203534734015124 0ustar # Croatian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-01-03 22:21+0000\n" "Last-Translator: Milo Ivir \n" "Language-Team: Croatian \n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.10\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Zaključavanje okretanja" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Okretanje" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Otisak RSA ključa računala je: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Dozvoli" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nemoj dozvoliti" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Dozvoliti uklanjanje grešaka putem USB-a?" ayatana-indicator-display-22.2.0/po/ht.po0000644000000000000000000000171214203534734015115 0ustar # Haitian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ht\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/hu.po0000644000000000000000000000240414203534734015115 0ustar # Hungarian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2021-02-08 21:50+0000\n" "Last-Translator: Ács Zoltán \n" "Language-Team: Hungarian \n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.5-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Elforgatás zárolása" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Elforgatás" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "A számítógép RSA kulcs ujjlenyomata: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Engedélyezés" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Elutasítás" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Engedélyezi az USB hibakeresést?" ayatana-indicator-display-22.2.0/po/hy.po0000644000000000000000000000224514203534734015124 0ustar # Armenian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-02 21:09+0000\n" "Last-Translator: Davit Mayilyan \n" "Language-Team: Armenian \n" "Language: hy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Թույլ տալ" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Թույլ չտալ" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ia.po0000644000000000000000000000171614203534734015077 0ustar # Interlingua translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/id.po0000644000000000000000000000234014203534734015074 0ustar # Indonesian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2021-03-18 17:29+0000\n" "Last-Translator: Reza Almanda \n" "Language-Team: Indonesian \n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.5.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Kunci Rotasi" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotasi" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Sidik jari kunci RSA komputer adalah: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Izinkan" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Tidak Izinkan" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Izinkan USB Debugging?" ayatana-indicator-display-22.2.0/po/is.po0000644000000000000000000000171414203534734015117 0ustar # Icelandic translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/it_CARES.po0000644000000000000000000000170314203534734016033 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: it_CARES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/it.po0000644000000000000000000000235414203534734015121 0ustar # Italian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-01-26 13:21+0000\n" "Last-Translator: Emiliano Gabriele \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Blocco rotazione" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotazione" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "La chiave RSA del computer è:%s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Accetta" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Non accetta" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Permetti il debugging tramite USB?" ayatana-indicator-display-22.2.0/po/ja.po0000644000000000000000000000240514203534734015074 0ustar # Japanese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-12-17 11:21+0000\n" "Last-Translator: Ryo Nakano \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.10-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "回転ロック" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "回転" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "コンピューターの RSA 鍵の指紋は以下の通りです: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "許可" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "不許可" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USBデバックを許可しますか?" ayatana-indicator-display-22.2.0/po/ka.po0000644000000000000000000000171314203534734015076 0ustar # Georgian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/kk.po0000644000000000000000000000171114203534734015106 0ustar # Kazakh translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: kk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/kl.po0000644000000000000000000000171614203534734015114 0ustar # Kalaallisut translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: kl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/km.po0000644000000000000000000000172014203534734015110 0ustar # Central Khmer translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: km\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/kmr.po0000644000000000000000000000167614203534734015304 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: kmr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/kn.po0000644000000000000000000000171214203534734015112 0ustar # Kannada translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: kn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ko.po0000644000000000000000000000233314203534734015113 0ustar # Korean translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-06-15 04:41+0000\n" "Last-Translator: MarongHappy \n" "Language-Team: Korean \n" "Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "회전 잠금" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "회전" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "컴퓨터의 RSA 키 지문: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "허용" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "허용 안함" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USB 디버깅을 허용하시겠습니까?" ayatana-indicator-display-22.2.0/po/ku.po0000644000000000000000000000171214203534734015121 0ustar # Kurdish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ku\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/kw.po0000644000000000000000000000171214203534734015123 0ustar # Cornish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: kw\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ky.po0000644000000000000000000000171214203534734015125 0ustar # Kirghiz translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ky\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/la.po0000644000000000000000000000171014203534734015074 0ustar # Latin translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: la\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/lb.po0000644000000000000000000000172014203534734015076 0ustar # Letzeburgesch translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: lb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/LINGUAS0000644000000000000000000000072414203534734015171 0ustar af am an ar ast az bem be bg bn bo br bs ca ca@valencia ce ckb co crh cs cv cy da de el en_AU en_CA en_GB eo es et eu fa fil fi fo fr_CA fr frp fy ga gd gl gu he hi hr ht hu hy ia id is it ja ka kk kl km kn ko ku kw ky la lb lo lt lv mg mhr mi ml mr ms my nb ne nl nn oc os pa pl ps pt_BR pt ro ru sa sc sd se shn si sk sl sq sr sv sw szl ta te tg th ti tr ug uk ur uz vi wae zh_CN zh_HK ny aa as wo gv fur it_CARES dv mk vec csb tt ta_LK zh_LATN@pinyin zh_TW kmr sdh ayatana-indicator-display-22.2.0/po/lo.po0000644000000000000000000000171214203534734015114 0ustar # Laotian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: lo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/lt.po0000644000000000000000000000253414203534734015124 0ustar # Lithuanian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-02-28 22:15+0000\n" "Last-Translator: Moo \n" "Language-Team: Lithuanian \n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n % 10 == 1 && (n % 100 < 11 || n % 100 > " "19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? " "1 : 2);\n" "X-Generator: Weblate 2.20-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Pasukimo užraktas" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Pasukimas" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Kompiuterio RSA rakto kontrolinis kodas yra: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Leisti" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Neleisti" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Leisti USB derinimą?" ayatana-indicator-display-22.2.0/po/lv.po0000644000000000000000000000203714203534734015124 0ustar # Latvian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " "2);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/mg.po0000644000000000000000000000171314203534734015106 0ustar # Malagasy translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: mg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/mhr.po0000644000000000000000000000172014203534734015267 0ustar # Language mhr translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: mhr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/mi.po0000644000000000000000000000171014203534734015105 0ustar # Maori translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: mi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/mk.po0000644000000000000000000000226214203534734015112 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2021-11-04 17:37+0000\n" "Last-Translator: ElectrifiedSpeed \n" "Language-Team: Macedonian \n" "Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n==1 || n%10==1 ? 0 : 1;\n" "X-Generator: Weblate 4.9-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Заклучување на ротација" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ml.po0000644000000000000000000000171414203534734015114 0ustar # Malayalam translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ml\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/mr.po0000644000000000000000000000264514203534734015126 0ustar # Marathi translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-03-18 17:36+0000\n" "Last-Translator: Prachi Joshi \n" "Language-Team: Marathi \n" "Language: mr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "रोटेशन लॉक" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "रोटेशन" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "संगणकाची आरएसए की फिंगरप्रिंट आहे: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "परवानगी द्या" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "परवानगी देऊ नका" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "यूएसबी डीबगिंगला अनुमती द्यायची?" ayatana-indicator-display-22.2.0/po/ms.po0000644000000000000000000000233114203534734015117 0ustar # Malay translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-09-05 08:36+0000\n" "Last-Translator: antuketot76 \n" "Language-Team: Malay \n" "Language: ms\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.3-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Kunci Rotasi" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotasi" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Data komputer RSA adalah seperti: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Dibenarkan" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Tidak Dibenarkan" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Benarkan USB Debugging?" ayatana-indicator-display-22.2.0/po/my.po0000644000000000000000000000171214203534734015127 0ustar # Burmese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: my\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/nb.po0000644000000000000000000000237514203534734015107 0ustar # Norwegian Bokmal translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-11-01 07:22+0000\n" "Last-Translator: Petter Reinholdtsen \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.3-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotasjonslås" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotering" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Datamaskinens RSA-nøkkelfingeravtrykk er: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Tillat" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Ikke tillat" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Tillat USB-feilretting?" ayatana-indicator-display-22.2.0/po/ne.po0000644000000000000000000000171114203534734015103 0ustar # Nepali translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ne\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/nl.po0000644000000000000000000000234514203534734015116 0ustar # Dutch translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-05-08 12:53+0000\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Draaivergrendeling" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Draaiing" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "De RSA-vingerafdruk van de computer is: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Toestaan" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Weigeren" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USB-foutopsporing toestaan?" ayatana-indicator-display-22.2.0/po/nn.po0000644000000000000000000000200314203534734015107 0ustar # Norwegian Nynorsk translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: nn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ny.po0000644000000000000000000000167514203534734015140 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ny\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/oc.po0000644000000000000000000000240714203534734015105 0ustar # Occitan translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-10-19 17:26+0000\n" "Last-Translator: Quentin PAGÈS \n" "Language-Team: Occitan \n" "Language: oc\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.3.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Verrolhar la rotacion" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotacion" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "La clau de l’emprunta RSA de l’ordenador es : %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Autorizar" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Interdire" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Volètz autorizar lo desbugatge USB ?" ayatana-indicator-display-22.2.0/po/os.po0000644000000000000000000000171314203534734015124 0ustar # Ossetian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: os\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/pa.po0000644000000000000000000000171214203534734015102 0ustar # Punjabi translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: pa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/pl.po0000644000000000000000000000243014203534734015113 0ustar # Polish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-04-17 20:50+0000\n" "Last-Translator: Dariusz Król \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Blokada Obrotu" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Obrót" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Odcisk palca klucza RSA komputera: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Pozwól" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nie Pozwól" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Pozwolić na debugowanie USB?" ayatana-indicator-display-22.2.0/po/POTFILES.in0000644000000000000000000000024314203534734015715 0ustar src/adbd-client.cpp src/exporter.cpp src/greeter.cpp src/indicator.cpp src/main.cpp src/rotation-lock.cpp src/usb-manager.cpp src/usb-monitor.cpp src/usb-snap.cpp ayatana-indicator-display-22.2.0/po/ps.po0000644000000000000000000000171114203534734015123 0ustar # Pashto translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ps\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/pt_BR.po0000644000000000000000000000245114203534734015511 0ustar # Portuguese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-07-01 12:42+0000\n" "Last-Translator: Tiago de Oliveira \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Bloqueio de rotação" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotação" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "A impressão digital da chave RSA do computador é: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permitir" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Não permitir" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Você quer permitir a depuração através do USB?" ayatana-indicator-display-22.2.0/po/pt.po0000644000000000000000000000237214203534734015130 0ustar # Portuguese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-04-18 15:03+0000\n" "Last-Translator: Rui Mendes \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.6-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Bloquear rotação" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotação" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "A impressão digital da chave RSA do computador é: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permitir" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Não permitir" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Permitir depuração por USB?" ayatana-indicator-display-22.2.0/po/ro.po0000644000000000000000000000243314203534734015123 0ustar # Romanian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-04-03 18:21+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" "X-Generator: Weblate 4.0-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Blocarea rotatiei" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotire" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Amprenta cheii RSA a computerului este: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permite" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nu Permite" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Permite debugging via USB?" ayatana-indicator-display-22.2.0/po/ru.po0000644000000000000000000000261414203534734015132 0ustar # Russian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-02-28 01:41+0000\n" "Last-Translator: Мира Странная \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 2.20-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Блокировка вращения" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Вращение" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "RSA отпечаток компьютера: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Разрешать" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Не разрешать" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Разрешать отладку по USB?" ayatana-indicator-display-22.2.0/po/sa.po0000644000000000000000000000171314203534734015106 0ustar # Sanskrit translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sc.po0000644000000000000000000000236314203534734015112 0ustar # Sardinian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-10-27 14:36+0000\n" "Last-Translator: Adrià Martín \n" "Language-Team: Sardinian \n" "Language: sc\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.3.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Blocu de sa rotatzione" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotatzione" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Permite" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Non permitas" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Boles permìtere sa curretzione de faddinas pro mèdiu de USB?" ayatana-indicator-display-22.2.0/po/sdh.po0000644000000000000000000000167614203534734015271 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sdh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sd.po0000644000000000000000000000171114203534734015107 0ustar # Sindhi translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sd\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/se.po0000644000000000000000000000172014203534734015110 0ustar # Northern Sami translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: se\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/shn.po0000644000000000000000000000171014203534734015270 0ustar # Shan translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: shn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/si.po0000644000000000000000000000171214203534734015115 0ustar # Sinhala translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: si\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sk.po0000644000000000000000000000240214203534734015114 0ustar # Slovak translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-08-14 19:23+0000\n" "Last-Translator: Matúš Baňas \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 3.8-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Zámok otáčania" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Otáčanie" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Odtlačok kľúča RSA počítača je: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Povoliť" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nepovoliť" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Povoliť ladenie cez USB?" ayatana-indicator-display-22.2.0/po/sl.po0000644000000000000000000000206214203534734015117 0ustar # Slovenian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sq.po0000644000000000000000000000222514203534734015125 0ustar # Albanian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-10-31 14:03+0000\n" "Last-Translator: Marcela Korreshi \n" "Language-Team: Albanian \n" "Language: sq\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.10-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rrotullim" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Lejon" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Nuk lejon" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sr.po0000644000000000000000000000210614203534734015124 0ustar # Serbian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/sv.po0000644000000000000000000000235114203534734015132 0ustar # Swedish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-12-31 15:13+0000\n" "Last-Translator: Sebastian Rasmussen \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.19-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Rotationslås" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Rotation" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Fingeravtrycket för datorns RSA-nyckel är: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Tillåt" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Tillåt inte" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Tillåt USB-felsökning?" ayatana-indicator-display-22.2.0/po/sw.po0000644000000000000000000000171214203534734015133 0ustar # Swahili translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: sw\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/szl.po0000644000000000000000000000172014203534734015311 0ustar # Language szl translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: szl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ta_LK.po0000644000000000000000000000170014203534734015471 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ta_LK\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ta.po0000644000000000000000000000171014203534734015104 0ustar # Tamil translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ta\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/te.po0000644000000000000000000000246314203534734015116 0ustar # Telugu translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-08-11 09:23+0000\n" "Last-Translator: M Ramani Priya \n" "Language-Team: Telugu \n" "Language: te\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.8-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "పరిక్రమణ" #: ../src/usb-snap.cpp:107 #, c-format, fuzzy msgid "The computer's RSA key fingerprint is: %s" msgstr "కంప్యూటర్ యొక్క RSA కీ వేలిముద్ర:% s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "అనుమతించడం" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "అనుమతి నిషేధం" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/tg.po0000644000000000000000000000171014203534734015112 0ustar # Tajik translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: tg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/th.po0000644000000000000000000000170714203534734015121 0ustar # Thai translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ti.po0000644000000000000000000000171314203534734015117 0ustar # Tigrinya translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ti\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/tr.po0000644000000000000000000000237214203534734015132 0ustar # Turkish translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-02-08 11:34+0000\n" "Last-Translator: Mertcan Gokgoz \n" "Language-Team: Turkish \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.19-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Ekran yön kilidi" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Döndürme" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "Bilgisayarın RSA anahtar parmak izi: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "İzin Ver" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "İzin verme" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USB hata ayıklamaya izin verilsin mi?" ayatana-indicator-display-22.2.0/po/tt.po0000644000000000000000000000167514203534734015141 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: tt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/ug.po0000644000000000000000000000250714203534734015120 0ustar # Uighur translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-05-10 06:12+0000\n" "Last-Translator: Abdusalam <1810010207@s.upc.edu.cn>\n" "Language-Team: Uyghur \n" "Language: ug\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "ئايلىنىش قۇلۇپى" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "ئايلىنىش" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "كومپيۇتېرنىڭ RSA ئاچقۇچ بارماق ئىزى: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "رۇخسەت قىلىڭ" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "رۇخسەت قىلماڭ" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "USB ھەل قىلىشقا يول قويامسىز؟" ayatana-indicator-display-22.2.0/po/uk.po0000644000000000000000000000262414203534734015124 0ustar # Ukrainian translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2018-09-28 19:37+0000\n" "Last-Translator: Володимир Бриняк \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.2-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "Блокування обертання" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "Обертання" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "RSA відбиток комп'ютера: %s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "Дозволити" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "Не дозволяти" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "Дозволити USB-налагодження?" ayatana-indicator-display-22.2.0/po/ur.po0000644000000000000000000000170714203534734015134 0ustar # Urdu translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ur\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/uz.po0000644000000000000000000000171014203534734015136 0ustar # Uzbek translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: uz\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/vec.po0000644000000000000000000000167614203534734015270 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: vec\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/vi.po0000644000000000000000000000176514203534734015130 0ustar # Vietnamese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/wae.po0000644000000000000000000000172014203534734015255 0ustar # Language wae translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: wae\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/wo.po0000644000000000000000000000167514203534734015137 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: wo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/zh_CN.po0000644000000000000000000000233114203534734015501 0ustar # Chinese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2020-05-22 00:41+0000\n" "Last-Translator: wdggg \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.1-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "旋转锁定" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "旋转" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "此电脑的RSA指纹密匙是:%s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "允许" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "不允许" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "允许使用USB调试模式?" ayatana-indicator-display-22.2.0/po/zh_HK.po0000644000000000000000000000171514203534734015510 0ustar # Chinese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2017-11-28 08:50+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: zh_HK\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/zh_LATN@pinyin.po0000644000000000000000000000171114203534734017267 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: zh_LATN@pinyin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "" ayatana-indicator-display-22.2.0/po/zh_TW.po0000644000000000000000000000232414203534734015535 0ustar # Chinese translations for PACKAGE package. # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2017. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-28 08:50+0000\n" "PO-Revision-Date: 2019-01-12 04:06+0000\n" "Last-Translator: Louies \n" "Language-Team: Chinese (Traditional) \n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.4-dev\n" #: ../src/rotation-lock.cpp:125 msgid "Rotation Lock" msgstr "旋轉鎖定" #: ../src/rotation-lock.cpp:136 msgid "Rotation" msgstr "旋轉" #: ../src/usb-snap.cpp:107 #, c-format msgid "The computer's RSA key fingerprint is: %s" msgstr "電腦的 RSA 金鑰指紋是:%s" #: ../src/usb-snap.cpp:112 msgid "Allow" msgstr "允許" #: ../src/usb-snap.cpp:114 msgid "Don't Allow" msgstr "不允許" #: ../src/usb-snap.cpp:126 msgid "Allow USB Debugging?" msgstr "允許USB偵錯?" ayatana-indicator-display-22.2.0/README0000644000000000000000000000007414203534734014404 0ustar Control of display related things, currently rotation lock. ayatana-indicator-display-22.2.0/README.md0000644000000000000000000000377214203534734015013 0ustar # Ayatana System Indicator — Display [![Build Status](https://api.travis-ci.com/AyatanaIndicators/ayatana-indicator-display.svg)](https://travis-ci.com/github/AyatanaIndicators/ayatana-indicator-display) ## About Ayatana Indicators The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, two technologies developed by Canonical Ltd. for the Unity7 desktop. Application Indicators are a GTK implementation of the StatusNotifierItem Specification (SNI) that was originally submitted to freedesktop.org by KDE. System Indicators are an extensions to the Application Indicators idea. System Indicators allow for far more widgets to be displayed in the indicator's menu. The Ayatana Indicators project is the new upstream for application indicators, system indicators and associated projects with a focus on making Ayatana Indicators a desktop agnostic technology. On GNU/Linux, Ayatana Indicators are currently available for desktop envinronments like MATE (used by default in [Ubuntu MATE](https://ubuntu-mate.com)), XFCE (used by default in [Xubuntu](https://bluesabre.org/2021/02/25/xubuntu-21-04-progress-update/), LXDE, and the Budgie Desktop). The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly known as Unity8) uses Ayatana Indicators for rendering its notification area and the [UBports](https://ubports.com) project is a core contributor to the Ayatana Indicators project. For further info, please visit: https://ayatana-indicators.org ## The Display Ayatana System Indicator The -display Ayatana System Indicator is the display menu indicator for Lomiri (Currently rotation-lock only, but we are planning to add further functionality for desktops, e.g. MATE, XFCE, LXDE). Its behavior and features will be listed at https://wiki.ayatana-indicators.org/AyatanaIndicatorDisplay ## License and Copyright See COPYING and AUTHORS file in this project. ## Building and Testing For instructions on building and running built-in tests, see the INSTALL.md file. ayatana-indicator-display-22.2.0/src/adbd-client.cpp0000644000000000000000000002434514203534734017174 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include #include #include #include #include #include #include class GAdbdClient::Impl { public: explicit Impl(const std::string& socket_path): m_socket_path{socket_path}, m_cancellable{g_cancellable_new()}, m_worker_thread{&Impl::worker_func, this} { } ~Impl() { // tell the worker thread to stop whatever it's doing and exit. g_debug("%s Client::Impl dtor, cancelling m_cancellable", G_STRLOC); g_cancellable_cancel(m_cancellable); m_pkresponse_cv.notify_one(); m_sleep_cv.notify_one(); if (m_worker_thread.joinable()) { m_worker_thread.join(); } g_clear_object(&m_cancellable); } core::Signal& on_pk_request() { return m_on_pk_request; } private: // struct to carry request info from the worker thread to the GMainContext thread struct PKIdleData { Impl* self = nullptr; GCancellable* cancellable = nullptr; const std::string public_key; PKIdleData(Impl* self_, GCancellable* cancellable_, const std::string& public_key_): self(self_), cancellable(G_CANCELLABLE(g_object_ref(cancellable_))), public_key(public_key_) {} ~PKIdleData() {g_clear_object(&cancellable);} }; void pass_public_key_to_main_thread(const std::string& public_key) { g_idle_add_full(G_PRIORITY_DEFAULT_IDLE, on_public_key_request_static, new PKIdleData{this, m_cancellable, public_key}, [](gpointer id){delete static_cast(id);}); } static gboolean on_public_key_request_static (gpointer gdata) // runs in main thread { /* NB: It's possible (though unlikely) that data.self was destroyed while this callback was pending, so we must check is-cancelled FIRST */ auto data = static_cast(gdata); if (!g_cancellable_is_cancelled(data->cancellable)) { // notify our listeners of the request auto self = data->self; struct PKRequest req; req.public_key = data->public_key; req.fingerprint = get_fingerprint(req.public_key); req.respond = [self](PKResponse response){self->on_public_key_response(response);}; self->m_on_pk_request(req); } return G_SOURCE_REMOVE; } void on_public_key_response(PKResponse response) { g_debug("%s thread %p got response %d", G_STRLOC, (void*)g_thread_self(), int(response)); // set m_pkresponse and wake up the waiting worker thread m_pkresponse = response; m_pkresponse_ready = true; m_pkresponse_cv.notify_one(); } /*** **** ***/ void worker_func() // runs in worker thread { const std::string socket_path {m_socket_path}; while (!g_cancellable_is_cancelled(m_cancellable)) { g_debug("%s thread %p creating a client socket to '%s'", G_STRLOC, (void*)g_thread_self(), socket_path.c_str()); auto socket = create_client_socket(socket_path); bool got_valid_req = false; g_debug("%s thread %p calling read_request", G_STRLOC, (void*)g_thread_self()); std::string reqstr; if (socket != nullptr) reqstr = read_request(socket); if (!reqstr.empty()) g_debug("%s got request [%s]", G_STRLOC, reqstr.c_str()); if (reqstr.substr(0,2) == "PK") { PKResponse response = PKResponse::DENY; const auto public_key = reqstr.substr(2); g_debug("%s thread %p got pk [%s]", G_STRLOC, (void*)g_thread_self(), public_key.c_str()); if (!public_key.empty()) { got_valid_req = true; std::unique_lock lk(m_pkresponse_mutex); m_pkresponse_ready = false; m_pkresponse = AdbdClient::PKResponse::DENY; pass_public_key_to_main_thread(public_key); m_pkresponse_cv.wait(lk, [this](){ return m_pkresponse_ready || g_cancellable_is_cancelled(m_cancellable); }); response = m_pkresponse; g_debug("%s thread %p got response '%d', is-cancelled %d", G_STRLOC, (void*)g_thread_self(), int(response), int(g_cancellable_is_cancelled(m_cancellable))); } if (!g_cancellable_is_cancelled(m_cancellable)) { send_pk_response(socket, response); } } else if (!reqstr.empty()) { g_warning("Invalid ADB request: [%s]", reqstr.c_str()); } g_clear_object(&socket); // If nothing interesting's happening, sleep a bit. // (Interval copied from UsbDebuggingManager.java) static constexpr std::chrono::seconds sleep_interval {std::chrono::seconds(1)}; if (!got_valid_req && !g_cancellable_is_cancelled(m_cancellable)) { std::unique_lock lk(m_sleep_mutex); m_sleep_cv.wait_for(lk, sleep_interval); } } } // connect to a local domain socket GSocket* create_client_socket(const std::string& socket_path) { GError* error {}; auto socket = g_socket_new(G_SOCKET_FAMILY_UNIX, G_SOCKET_TYPE_STREAM, G_SOCKET_PROTOCOL_DEFAULT, &error); if (error != nullptr) { g_warning("Error creating adbd client socket: %s", error->message); g_clear_error(&error); g_clear_object(&socket); return nullptr; } auto address = g_unix_socket_address_new(socket_path.c_str()); const auto connected = g_socket_connect(socket, address, m_cancellable, &error); g_clear_object(&address); if (!connected) { g_debug("unable to connect to '%s': %s", socket_path.c_str(), error->message); g_clear_error(&error); g_clear_object(&socket); return nullptr; } return socket; } std::string read_request(GSocket* socket) { char buf[4096] = {}; g_debug("%s calling g_socket_receive()", G_STRLOC); const auto n_bytes = g_socket_receive (socket, buf, sizeof(buf), m_cancellable, nullptr); std::string ret; if (n_bytes > 0) ret.append(buf, std::string::size_type(n_bytes)); g_debug("%s g_socket_receive got %d bytes: [%s]", G_STRLOC, int(n_bytes), ret.c_str()); return ret; } void send_pk_response(GSocket* socket, PKResponse response) { std::string response_str; switch(response) { case PKResponse::ALLOW: response_str = "OK"; break; case PKResponse::DENY: response_str = "NO"; break; } g_debug("%s sending reply: [%s]", G_STRLOC, response_str.c_str()); GError* error {}; g_socket_send(socket, response_str.c_str(), response_str.size(), m_cancellable, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_warning("GAdbdServer: Error accepting socket connection: %s", error->message); g_clear_error(&error); } } static std::string get_fingerprint(const std::string& public_key) { // The first token is base64-encoded data, so cut on the first whitespace const std::string base64 ( public_key.begin(), std::find_if( public_key.begin(), public_key.end(), [](const std::string::value_type& ch){return std::isspace(ch);} ) ); gsize digest_len {}; auto digest = g_base64_decode(base64.c_str(), &digest_len); auto checksum = g_compute_checksum_for_data(G_CHECKSUM_MD5, digest, digest_len); const gsize checksum_len = checksum ? strlen(checksum) : 0; // insert ':' between character pairs; eg "ff27b5f3" --> "ff:27:b5:f3" std::string fingerprint; for (gsize i=0; i m_on_pk_request; std::mutex m_sleep_mutex; std::condition_variable m_sleep_cv; std::mutex m_pkresponse_mutex; std::condition_variable m_pkresponse_cv; std::atomic m_pkresponse_ready {false}; PKResponse m_pkresponse = PKResponse::DENY; }; /*** **** ***/ AdbdClient::~AdbdClient() { } /*** **** ***/ GAdbdClient::GAdbdClient(const std::string& socket_path): impl{new Impl{socket_path}} { } GAdbdClient::~GAdbdClient() { } core::Signal& GAdbdClient::on_pk_request() { return impl->on_pk_request(); } ayatana-indicator-display-22.2.0/src/adbd-client.h0000644000000000000000000000374114203534734016636 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include #include #include #include /** * Receives public key requests from ADBD and sends a response back. * * AdbClient only provides a receive/respond mechanism. The decision * of what response gets sent is delegated out to a listener via * the on_pk_request signal. * * The decider should connect to on_pk_request, listen for PKRequests, * and call the request's `respond' method with the desired response. */ class AdbdClient { public: virtual ~AdbdClient(); enum class PKResponse { DENY, ALLOW }; struct PKRequest { std::string public_key; std::string fingerprint; std::function respond; }; virtual core::Signal& on_pk_request() =0; protected: AdbdClient() =default; }; /** * An AdbdClient designed to work with GLib's event loop. * * The on_pk_request() signal will be called in global GMainContext's thread; * ie, just like a function passed to g_idle_add() or g_timeout_add(). */ class GAdbdClient: public AdbdClient { public: explicit GAdbdClient(const std::string& socket_path); ~GAdbdClient(); core::Signal& on_pk_request() override; private: class Impl; std::unique_ptr impl; }; ayatana-indicator-display-22.2.0/src/CMakeLists.txt0000644000000000000000000000112614203534734017052 0ustar add_definitions(-DG_LOG_DOMAIN="${CMAKE_PROJECT_NAME}") add_compile_options( ${CXX_WARNING_ARGS} ) add_library( ${SERVICE_LIB} STATIC adbd-client.cpp exporter.cpp greeter.cpp indicator.cpp rotation-lock.cpp usb-manager.cpp usb-monitor.cpp usb-snap.cpp ) add_executable( ${SERVICE_EXEC} main.cpp ) target_link_libraries(${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${THREAD_LINK_LIBRARIES} ) install( TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_LIBEXECDIR}/${CMAKE_PROJECT_NAME}" ) ayatana-indicator-display-22.2.0/src/dbus-names.h0000644000000000000000000000354614203534734016531 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once namespace DBusNames { namespace Notify { static constexpr char const * NAME = "org.freedesktop.Notifications"; static constexpr char const * PATH = "/org/freedesktop/Notifications"; static constexpr char const * INTERFACE = "org.freedesktop.Notifications"; namespace ActionInvoked { static constexpr char const * NAME = "ActionInvoked"; } namespace NotificationClosed { static constexpr char const * NAME = "NotificationClosed"; enum Reason { EXPIRED=1, DISMISSED=2, API=3, UNDEFINED=4 }; } } namespace Greeter { static constexpr char const * NAME = "org.ayatana.Greeter"; static constexpr char const * PATH = "/"; static constexpr char const * INTERFACE = "org.ayatana.Greeter"; } namespace Properties { static constexpr char const * INTERFACE = "org.freedesktop.DBus.Properties"; namespace PropertiesChanged { static constexpr char const* NAME = "PropertiesChanged"; static constexpr char const* ARGS_VARIANT_TYPE = "(sa{sv}as)"; } } } ayatana-indicator-display-22.2.0/src/exporter.cpp0000644000000000000000000001474214203534734016676 0ustar /* * Copyright 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include class Exporter::Impl { public: explicit Impl(const std::shared_ptr& indicator): m_indicator(indicator) { auto bus_name = g_strdup_printf("org.ayatana.indicator.%s", indicator->name()); m_own_id = g_bus_own_name(G_BUS_TYPE_SESSION, bus_name, G_BUS_NAME_OWNER_FLAGS_NONE, on_bus_acquired, nullptr, on_name_lost, this, nullptr); g_free(bus_name); } ~Impl() { if (m_bus != nullptr) { for(const auto& id : m_exported_menu_ids) g_dbus_connection_unexport_menu_model(m_bus, id); if (m_exported_actions_id) g_dbus_connection_unexport_action_group(m_bus, m_exported_actions_id); } if (m_own_id) g_bus_unown_name(m_own_id); g_clear_object(&m_bus); } core::Signal& name_lost() { return m_name_lost; } private: void emit_name_lost(const char* bus_name) { m_name_lost(bus_name); } static void on_bus_acquired(GDBusConnection * connection, const gchar * name, gpointer gself) { static_cast(gself)->on_bus_acquired(connection, name); } void on_bus_acquired(GDBusConnection* connection, const gchar* /*name*/) { m_bus = G_DBUS_CONNECTION(g_object_ref(G_OBJECT(connection))); export_actions(m_indicator); for (auto& profile : m_indicator->profiles()) export_profile(m_indicator, profile); } void export_actions(const std::shared_ptr& indicator) { GError* error; char* object_path; guint id; // export the actions error = nullptr; object_path = g_strdup_printf("/org/ayatana/indicator/%s", indicator->name()); id = g_dbus_connection_export_action_group(m_bus, object_path, G_ACTION_GROUP(indicator->action_group()), &error); if (id) m_exported_actions_id = id; else g_warning("Can't export action group to '%s': %s", object_path, error->message); g_clear_error(&error); g_free(object_path); } static GVariant* create_header_state(const Header& h) { GVariantBuilder b; g_variant_builder_init(&b, G_VARIANT_TYPE_VARDICT); g_variant_builder_add(&b, "{sv}", "visible", g_variant_new_boolean(h.is_visible)); if (!h.title.empty()) g_variant_builder_add(&b, "{sv}", "title", g_variant_new_string(h.title.c_str())); if (!h.label.empty()) g_variant_builder_add(&b, "{sv}", "label", g_variant_new_string(h.label.c_str())); if (!h.title.empty() || !h.label.empty()) g_variant_builder_add(&b, "{sv}", "accessible-desc", g_variant_new_string(!h.label.empty() ? h.label.c_str() : h.title.c_str())); if (h.icon) g_variant_builder_add(&b, "{sv}", "icon", g_icon_serialize(h.icon.get())); return g_variant_builder_end (&b); } void export_profile(const std::shared_ptr& indicator, const std::shared_ptr& profile) { // build the header action auto action_group = indicator->action_group(); std::string action_name = profile->name() + "-header"; auto a = g_simple_action_new_stateful(action_name.c_str(), nullptr, create_header_state(profile->header())); g_action_map_add_action(G_ACTION_MAP(action_group), G_ACTION(a)); profile->header().changed().connect([action_group,action_name](const Header& header){ auto state = create_header_state(header); char* tmp = g_variant_print(state, true); g_debug("header changed; updating action state to '%s'", tmp); g_action_group_change_action_state(G_ACTION_GROUP(action_group), action_name.c_str(), create_header_state(header)); g_free(tmp); }); // build the header menu auto detailed_action = g_strdup_printf("indicator.%s", action_name.c_str()); GMenuItem* header = g_menu_item_new(nullptr, detailed_action); g_menu_item_set_attribute(header, "x-ayatana-type", "s", "org.ayatana.indicator.root"); g_menu_item_set_submenu(header, profile->menu_model().get()); g_free(detailed_action); // build the menu auto menu = g_menu_new(); g_menu_append_item(menu, header); g_object_unref(header); // export the menu auto object_path = g_strdup_printf("/org/ayatana/indicator/%s/%s", indicator->name(), profile->name().c_str()); GError* error = nullptr; auto id = g_dbus_connection_export_menu_model(m_bus, object_path, G_MENU_MODEL(menu), &error); if (id) m_exported_menu_ids.insert(id); else if (error != nullptr) g_warning("cannot export '%s': %s", object_path, error->message); g_free(object_path); g_clear_error(&error); //g_object_unref(menu); } static void on_name_lost(GDBusConnection * /*connection*/, const gchar * name, gpointer gthis) { static_cast(gthis)->emit_name_lost(name); } const std::string m_bus_name; core::Signal m_name_lost; std::shared_ptr m_indicator; std::set m_exported_menu_ids; guint m_own_id = 0; guint m_exported_actions_id = 0; GDBusConnection * m_bus = nullptr; }; /*** **** ***/ Exporter::Exporter(const std::shared_ptr& indicator): impl(new Impl(indicator)) { } Exporter::~Exporter() { } core::Signal& Exporter::name_lost() { return impl->name_lost(); } /*** **** ***/ ayatana-indicator-display-22.2.0/src/exporter.h0000644000000000000000000000225314203534734016335 0ustar /* * Copyright 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #ifndef INDICATOR_DISPLAY_EXPORTER_H #define INDICATOR_DISPLAY_EXPORTER_H #include #include #include class Exporter { public: explicit Exporter(const std::shared_ptr& indicator); ~Exporter(); core::Signal& name_lost(); private: class Impl; std::unique_ptr impl; Exporter(const Exporter&) =delete; Exporter& operator=(const Exporter&) =delete; }; #endif /* INDICATOR_DISPLAY_EXPORTER_H */ ayatana-indicator-display-22.2.0/src/greeter.cpp0000644000000000000000000001414514203534734016460 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include class Greeter::Impl { public: Impl() { m_cancellable.reset( g_cancellable_new(), [](GCancellable* o){ g_cancellable_cancel(o); g_clear_object(&o); } ); g_bus_get(G_BUS_TYPE_SESSION, m_cancellable.get(), on_bus_ready, this); } ~Impl() =default; core::Property& state() { return m_state; } private: void set_state(const State& state) { m_state.set(state); } static void on_bus_ready( GObject* /*source*/, GAsyncResult* res, gpointer gself) { GError* error {}; auto bus = g_bus_get_finish(res, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_warning("Greeter: Error getting bus: %s", error->message); g_clear_error(&error); } else { auto self = static_cast(gself); const auto watcher_id = g_bus_watch_name_on_connection( bus, DBusNames::Greeter::NAME, G_BUS_NAME_WATCHER_FLAGS_AUTO_START, on_greeter_appeared, on_greeter_vanished, gself, nullptr); const auto subscription_id = g_dbus_connection_signal_subscribe( bus, DBusNames::Greeter::NAME, DBusNames::Properties::INTERFACE, DBusNames::Properties::PropertiesChanged::NAME, DBusNames::Greeter::PATH, DBusNames::Greeter::INTERFACE, G_DBUS_SIGNAL_FLAGS_NONE, on_properties_changed_signal, gself, nullptr); self->m_bus.reset( bus, [watcher_id, subscription_id](GDBusConnection* o){ g_bus_unwatch_name(watcher_id); g_dbus_connection_signal_unsubscribe(o, subscription_id); g_clear_object(&o); } ); } } static void on_greeter_appeared( GDBusConnection* bus, const char* /*name*/, const char* name_owner, gpointer gself) { auto self = static_cast(gself); self->m_owner = name_owner; g_dbus_connection_call( bus, DBusNames::Greeter::NAME, DBusNames::Greeter::PATH, DBusNames::Properties::INTERFACE, "Get", g_variant_new("(ss)", DBusNames::Greeter::INTERFACE, "IsActive"), G_VARIANT_TYPE("(v)"), G_DBUS_CALL_FLAGS_NONE, -1, self->m_cancellable.get(), on_get_is_active_ready, gself); } static void on_greeter_vanished( GDBusConnection* /*bus*/, const char* /*name*/, gpointer gself) { auto self = static_cast(gself); self->m_owner.clear(); self->set_state(State::UNAVAILABLE); } static void on_get_is_active_ready( GObject* source, GAsyncResult* res, gpointer gself) { GError* error {}; auto v = g_dbus_connection_call_finish(G_DBUS_CONNECTION(source), res, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { g_warning("Greeter: Error getting IsActive property: %s", error->message); } g_clear_error(&error); } else { GVariant* is_active {}; g_variant_get_child(v, 0, "v", &is_active); static_cast(gself)->set_state(g_variant_get_boolean(is_active) ? State::ACTIVE : State::INACTIVE); g_clear_pointer(&is_active, g_variant_unref); } g_clear_pointer(&v, g_variant_unref); } static void on_properties_changed_signal( GDBusConnection* /*bus*/, const gchar* sender_name, const gchar* object_path, const gchar* interface_name, const gchar* signal_name, GVariant* parameters, gpointer gself) { auto self = static_cast(gself); g_return_if_fail(!g_strcmp0(sender_name, self->m_owner.c_str())); g_return_if_fail(!g_strcmp0(object_path, DBusNames::Greeter::PATH)); g_return_if_fail(!g_strcmp0(interface_name, DBusNames::Properties::INTERFACE)); g_return_if_fail(!g_strcmp0(signal_name, DBusNames::Properties::PropertiesChanged::NAME)); g_return_if_fail(g_variant_is_of_type(parameters, G_VARIANT_TYPE(DBusNames::Properties::PropertiesChanged::ARGS_VARIANT_TYPE))); auto v = g_variant_get_child_value(parameters, 1); gboolean is_active {}; if (g_variant_lookup(v, "IsActive", "b", &is_active)) self->set_state(is_active ? State::ACTIVE : State::INACTIVE); g_clear_pointer(&v, g_variant_unref); } core::Property m_state {State::UNAVAILABLE}; std::shared_ptr m_cancellable; std::shared_ptr m_bus; std::string m_owner; }; /*** **** ***/ BaseGreeter::BaseGreeter() =default; BaseGreeter::~BaseGreeter() =default; Greeter::Greeter(): impl{new Impl{}} { } Greeter::~Greeter() =default; core::Property& Greeter::state() { return impl->state(); } ayatana-indicator-display-22.2.0/src/greeter.h0000644000000000000000000000250714203534734016124 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include #include #include class BaseGreeter { public: BaseGreeter(); virtual ~BaseGreeter(); enum class State { UNAVAILABLE, INACTIVE, ACTIVE }; static inline const char* state_str(const State& state) { static constexpr char const * state_str[] = { "Unavailable", "Inactive", "Active" }; return state_str[int(state)]; } virtual core::Property& state() =0; }; class Greeter: public BaseGreeter { public: Greeter(); virtual ~Greeter(); core::Property& state() override; protected: class Impl; std::unique_ptr impl; }; ayatana-indicator-display-22.2.0/src/indicator.cpp0000644000000000000000000000153014203534734016771 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include Profile::Profile() { } Profile::~Profile() { } SimpleProfile::~SimpleProfile() { } Indicator::~Indicator() { } ayatana-indicator-display-22.2.0/src/indicator.h0000644000000000000000000000435714203534734016450 0ustar /* * Copyright 2014-2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include #include // GIcon #include #include struct Header { bool is_visible = false; std::string title; std::string label; std::string a11y; std::shared_ptr icon; bool operator== (const Header& that) const { return (is_visible == that.is_visible) && (title == that.title) && (label == that.label) && (a11y == that.a11y) && (icon == that.icon); } bool operator!= (const Header& that) const { return !(*this == that);} }; class Profile { public: virtual std::string name() const =0; virtual const core::Property
& header() const =0; virtual std::shared_ptr menu_model() const =0; virtual ~Profile(); protected: Profile(); }; class SimpleProfile: public Profile { public: SimpleProfile(const char* name, const std::shared_ptr& menu): m_name(name), m_menu(menu) {} virtual ~SimpleProfile(); std::string name() const override {return m_name;} core::Property
& header() {return m_header;} const core::Property
& header() const override {return m_header;} std::shared_ptr menu_model() const override {return m_menu;} protected: const std::string m_name; core::Property
m_header; std::shared_ptr m_menu; }; class Indicator { public: virtual ~Indicator(); virtual const char* name() const =0; virtual GSimpleActionGroup* action_group() const =0; virtual std::vector> profiles() const =0; }; ayatana-indicator-display-22.2.0/src/main.cpp0000644000000000000000000000611414203534734015744 0ustar /* * Copyright 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include #include // bindtextdomain() #include #include #include #include extern "C" { #include } int main(int /*argc*/, char** /*argv*/) { // Work around a deadlock in glib's type initialization. // It can be removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is fixed. g_type_ensure(G_TYPE_DBUS_CONNECTION); // boilerplate i18n setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); textdomain(GETTEXT_PACKAGE); auto loop = g_main_loop_new(nullptr, false); auto on_name_lost = [loop](const std::string& name){ g_warning("busname lost: '%s'", name.c_str()); g_main_loop_quit(loop); }; // build all our indicators. // Right now we've only got one -- rotation lock -- but hey, we can dream. std::vector> indicators; std::vector> exporters; indicators.push_back(std::make_shared()); for (auto& indicator : indicators) { auto exporter = std::make_shared(indicator); exporter->name_lost().connect(on_name_lost); exporters.push_back(exporter); } gboolean bHasSocket = FALSE; if (ayatana_common_utils_is_lomiri()) { struct stat cStat; if (stat("/dev/socket/adbd", &cStat) == 0) { if (S_ISSOCK(cStat.st_mode)) { // We need the ADBD handler running, // even though it doesn't have an indicator component yet static constexpr char const * ADB_SOCKET_PATH {"/dev/socket/adbd"}; static constexpr char const * PUBLIC_KEYS_FILENAME {"/data/misc/adb/adb_keys"}; auto usb_monitor = std::make_shared(); auto greeter = std::make_shared(); UsbManager usb_manager {ADB_SOCKET_PATH, PUBLIC_KEYS_FILENAME, usb_monitor, greeter}; bHasSocket = TRUE; } } } if (bHasSocket == FALSE) { g_message("No /dev/socket/adbd socket found, skipping UsbManager"); } // let's go! g_main_loop_run(loop); // cleanup g_main_loop_unref(loop); return 0; } ayatana-indicator-display-22.2.0/src/rotation-lock.cpp0000644000000000000000000001613214203534734017606 0ustar /* * Copyright 2014 Canonical Ltd. * Copyright 2021 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . * * Authors: * Charles Kerr * Robert Tari */ #include #include extern "C" { #include } class RotationLockIndicator::Impl { public: Impl() { GSettingsSchemaSource *pSource = g_settings_schema_source_get_default(); if (pSource != NULL) { if (ayatana_common_utils_is_lomiri()) { GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "com.lomiri.touch.system", FALSE); if (pSchema != NULL) { g_settings_schema_unref(pSchema); m_settings = g_settings_new("com.lomiri.touch.system"); } else { g_error("No schema could be found"); } } else { GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "org.ayatana.indicator.display", FALSE); if (pSchema != NULL) { g_settings_schema_unref(pSchema); m_settings = g_settings_new("org.ayatana.indicator.display"); } else { g_error("No schema could be found"); } } } m_action_group = create_action_group(); // build the icon const char *rotation_lock_icon_name {"orientation-lock"}; if (!ayatana_common_utils_is_lomiri()) { rotation_lock_icon_name = "display"; } auto icon = g_themed_icon_new_with_default_fallbacks(rotation_lock_icon_name); auto icon_deleter = [](GIcon* o){g_object_unref(G_OBJECT(o));}; m_icon.reset(icon, icon_deleter); // build the phone profile auto menu_model_deleter = [](GMenuModel* o){g_object_unref(G_OBJECT(o));}; std::shared_ptr phone_menu (create_phone_menu(), menu_model_deleter); m_phone = std::make_shared("phone", phone_menu); update_phone_header(); // build the desktop profile std::shared_ptr desktop_menu (create_desktop_menu(), menu_model_deleter); m_desktop = std::make_shared("desktop", desktop_menu); update_desktop_header(); } ~Impl() { g_signal_handlers_disconnect_by_data(m_settings, this); g_clear_object(&m_action_group); g_clear_object(&m_settings); } GSimpleActionGroup* action_group() const { return m_action_group; } std::vector> profiles() { std::vector> ret; ret.push_back(m_phone); ret.push_back(m_desktop); return ret; } private: /*** **** Actions ***/ static gboolean settings_to_action_state(GValue *value, GVariant *variant, gpointer /*unused*/) { g_value_set_variant(value, variant); return TRUE; } static GVariant* action_state_to_settings(const GValue *value, const GVariantType * /*expected_type*/, gpointer /*unused*/) { return g_value_dup_variant(value); } GSimpleActionGroup* create_action_group() { GSimpleActionGroup* group; GSimpleAction* action; group = g_simple_action_group_new(); GVariantType *pVariantType = g_variant_type_new("b"); action = g_simple_action_new_stateful("rotation-lock", pVariantType, g_variant_new_boolean(false)); g_variant_type_free(pVariantType); g_settings_bind_with_mapping(m_settings, "rotation-lock", action, "state", G_SETTINGS_BIND_DEFAULT, settings_to_action_state, action_state_to_settings, nullptr, nullptr); g_action_map_add_action(G_ACTION_MAP(group), G_ACTION(action)); g_object_unref(G_OBJECT(action)); g_signal_connect_swapped(m_settings, "changed::rotation-lock", G_CALLBACK(on_rotation_lock_setting_changed), this); return group; } /*** **** Phone profile ***/ static void on_rotation_lock_setting_changed (gpointer gself) { static_cast(gself)->update_phone_header(); } GMenuModel* create_phone_menu() { GMenu* menu; GMenu* section; GMenuItem* menu_item; menu = g_menu_new(); section = g_menu_new(); menu_item = g_menu_item_new(_("Rotation Lock"), "indicator.rotation-lock"); g_menu_item_set_attribute(menu_item, "x-ayatana-type", "s", "org.ayatana.indicator.switch"); g_menu_append_item(section, menu_item); g_menu_append_section(menu, NULL, G_MENU_MODEL(section)); g_object_unref(section); g_object_unref(menu_item); return G_MENU_MODEL(menu); } GMenuModel* create_desktop_menu() { GMenu* menu; GMenu* section; GMenuItem* menu_item; menu = g_menu_new(); section = g_menu_new(); menu_item = g_menu_item_new(_("Rotation Lock"), "indicator.rotation-lock"); g_menu_item_set_attribute(menu_item, "x-ayatana-type", "s", "org.ayatana.indicator.switch"); g_menu_append_item(section, menu_item); g_menu_append_section(menu, NULL, G_MENU_MODEL(section)); g_object_unref(section); g_object_unref(menu_item); return G_MENU_MODEL(menu); } void update_phone_header() { Header h; h.title = _("Rotation"); h.a11y = h.title; h.is_visible = g_settings_get_boolean(m_settings, "rotation-lock"); h.icon = m_icon; m_phone->header().set(h); } void update_desktop_header() { Header h; h.title = _("Rotation"); h.a11y = h.title; h.is_visible = TRUE; h.icon = m_icon; m_desktop->header().set(h); } /*** **** ***/ GSettings* m_settings = nullptr; GSimpleActionGroup* m_action_group = nullptr; std::shared_ptr m_phone; std::shared_ptr m_desktop; std::shared_ptr m_icon; }; /*** **** ***/ RotationLockIndicator::RotationLockIndicator(): impl(new Impl()) { } RotationLockIndicator::~RotationLockIndicator() { } std::vector> RotationLockIndicator::profiles() const { return impl->profiles(); } GSimpleActionGroup* RotationLockIndicator::action_group() const { return impl->action_group(); } const char* RotationLockIndicator::name() const { return "rotation_lock"; } /*** **** ***/ ayatana-indicator-display-22.2.0/src/rotation-lock.h0000644000000000000000000000226014203534734017250 0ustar /* * Copyright 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #ifndef INDICATOR_DISPLAY_ROTATION_LOCK_H #define INDICATOR_DISPLAY_ROTATION_LOCK_H #include #include // std::unique_ptr class RotationLockIndicator: public Indicator { public: RotationLockIndicator(); ~RotationLockIndicator(); const char* name() const override; GSimpleActionGroup* action_group() const override; std::vector> profiles() const override; protected: class Impl; std::unique_ptr impl; }; #endif ayatana-indicator-display-22.2.0/src/usb-manager.cpp0000644000000000000000000001365214203534734017226 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include #include #include #include #include class UsbManager::Impl { public: explicit Impl( const std::string& socket_path, const std::string& public_keys_filename, const std::shared_ptr& usb_monitor, const std::shared_ptr& greeter ): m_socket_path{socket_path}, m_public_keys_filename{public_keys_filename}, m_usb_monitor{usb_monitor}, m_greeter{greeter} { m_usb_monitor->on_usb_disconnected().connect([this](const std::string& /*usb_name*/) { m_req.reset(); }); m_greeter->state().changed().connect([this](const Greeter::State& state) { if (state == Greeter::State::INACTIVE) { maybe_snap(); } else { stop_snap(); } }); // create a new adbd client m_adbd_client.reset(new GAdbdClient{m_socket_path}); m_adbd_client->on_pk_request().connect( [this](const AdbdClient::PKRequest& req) { g_debug("%s got pk request: %s, calling maybe_snap()", G_STRLOC, req.fingerprint.c_str()); m_response = AdbdClient::PKResponse::DENY; // set the fallback response m_req.reset( new AdbdClient::PKRequest(req), [this](AdbdClient::PKRequest* r) { stop_snap(); r->respond(m_response); delete r; } ); maybe_snap(); } ); } ~Impl() { if (m_request_complete_idle_tag) { g_source_remove(m_request_complete_idle_tag); } } private: void stop_snap() { m_snap_connections.clear(); m_snap.reset(); } void maybe_snap() { // only prompt if there's something to prompt about if (!m_req) { return; } // only prompt in an unlocked session if (m_greeter->state().get() != Greeter::State::INACTIVE) { return; } snap(); } void snap() { m_snap = std::make_shared(m_req->fingerprint); m_snap_connections.insert((*m_snap).on_user_response().connect( [this](AdbdClient::PKResponse response, bool remember_choice){ if (remember_choice && (response == AdbdClient::PKResponse::ALLOW)) { write_public_key(m_req->public_key); } m_response = response; // defer finishing the request into an idle func because // ScopedConnections can't be destroyed inside their callbacks if (m_request_complete_idle_tag == 0) { m_request_complete_idle_tag = g_idle_add([](gpointer gself){ auto self = static_cast(gself); self->m_request_complete_idle_tag = 0; self->m_req.reset(); return G_SOURCE_REMOVE; }, this); } } )); } void write_public_key(const std::string& public_key) { g_debug("%s writing public key '%s' to '%s'", G_STRLOC, public_key.c_str(), m_public_keys_filename.c_str()); // confirm the directory exists auto dirname = g_path_get_dirname(m_public_keys_filename.c_str()); const auto dir_exists = g_file_test(dirname, G_FILE_TEST_IS_DIR); if (!dir_exists) g_warning("ADB data directory '%s' does not exist", dirname); g_clear_pointer(&dirname, g_free); if (!dir_exists) return; // open the file in append mode, with user rw and group r permissions const auto fd = open( m_public_keys_filename.c_str(), O_APPEND|O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP ); if (fd == -1) { g_warning("Error opening ADB datafile: %s", g_strerror(errno)); return; } // write the new public key on its own line std::string buf {public_key + '\n'}; if (write(fd, buf.c_str(), buf.size()) == -1) g_warning("Error writing ADB datafile: %d %s", errno, g_strerror(errno)); close(fd); } const std::string m_socket_path; const std::string m_public_keys_filename; const std::shared_ptr m_usb_monitor; const std::shared_ptr m_greeter; unsigned int m_request_complete_idle_tag {}; std::shared_ptr m_adbd_client; std::shared_ptr m_snap; std::set m_snap_connections; AdbdClient::PKResponse m_response {AdbdClient::PKResponse::DENY}; std::shared_ptr m_req; }; /*** **** ***/ UsbManager::UsbManager( const std::string& socket_path, const std::string& public_keys_filename, const std::shared_ptr& usb_monitor, const std::shared_ptr& greeter ): impl{new Impl{socket_path, public_keys_filename, usb_monitor, greeter}} { } UsbManager::~UsbManager() { } ayatana-indicator-display-22.2.0/src/usb-manager.h0000644000000000000000000000230614203534734016665 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include #include #include #include /** * Manager class that connects the AdbdClient, UsbSnap, and manages the public key file */ class UsbManager { public: UsbManager( const std::string& socket_path, const std::string& public_key_filename, const std::shared_ptr&, const std::shared_ptr& ); ~UsbManager(); protected: class Impl; std::unique_ptr impl; }; ayatana-indicator-display-22.2.0/src/usb-monitor.cpp0000644000000000000000000000404314203534734017275 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include class GUDevUsbMonitor::Impl { public: Impl() { const char* subsystems[] = {"android_usb", nullptr}; m_udev_client = g_udev_client_new(subsystems); g_signal_connect(m_udev_client, "uevent", G_CALLBACK(on_android_usb_event), this); } ~Impl() { g_signal_handlers_disconnect_by_data(m_udev_client, this); g_clear_object(&m_udev_client); } core::Signal& on_usb_disconnected() { return m_on_usb_disconnected; } private: static void on_android_usb_event(GUdevClient*, gchar* action, GUdevDevice* device, gpointer gself) { if (!g_strcmp0(action, "change")) if (!g_strcmp0(g_udev_device_get_property(device, "USB_STATE"), "DISCONNECTED")) static_cast(gself)->m_on_usb_disconnected(g_udev_device_get_name(device)); } core::Signal m_on_usb_disconnected; GUdevClient* m_udev_client = nullptr; }; /*** **** ***/ UsbMonitor::UsbMonitor() =default; UsbMonitor::~UsbMonitor() =default; GUDevUsbMonitor::GUDevUsbMonitor(): impl{new Impl{}} { } GUDevUsbMonitor::~GUDevUsbMonitor() =default; core::Signal& GUDevUsbMonitor::on_usb_disconnected() { return impl->on_usb_disconnected(); } ayatana-indicator-display-22.2.0/src/usb-monitor.h0000644000000000000000000000246714203534734016752 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include #include #include /** * Simple interface that emits signals on USB device state changes */ class UsbMonitor { public: UsbMonitor(); virtual ~UsbMonitor(); virtual core::Signal& on_usb_disconnected() =0; }; /** * Simple GUDev wrapper that notifies on android_usb device state changes */ class GUDevUsbMonitor: public UsbMonitor { public: GUDevUsbMonitor(); virtual ~GUDevUsbMonitor(); core::Signal& on_usb_disconnected() override; protected: class Impl; std::unique_ptr impl; }; ayatana-indicator-display-22.2.0/src/usb-snap.cpp0000644000000000000000000002232014203534734016545 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include /*** **** ***/ class UsbSnap::Impl { public: explicit Impl(const std::string& fingerprint): m_fingerprint{fingerprint}, m_cancellable{g_cancellable_new()} { g_bus_get (G_BUS_TYPE_SESSION, m_cancellable, on_bus_ready_static, this); } ~Impl() { g_cancellable_cancel(m_cancellable); g_clear_object(&m_cancellable); if (m_subscription_id != 0) g_dbus_connection_signal_unsubscribe (m_bus, m_subscription_id); if (m_notification_id != 0) { GError* error {}; g_dbus_connection_call_sync(m_bus, DBusNames::Notify::NAME, DBusNames::Notify::PATH, DBusNames::Notify::INTERFACE, "CloseNotification", g_variant_new("(u)", m_notification_id), nullptr, G_DBUS_CALL_FLAGS_NONE, -1, nullptr, &error); if (error != nullptr) { g_warning("Error closing notification: %s", error->message); g_clear_error(&error); } } g_clear_object(&m_bus); } core::Signal& on_user_response() { return m_on_user_response; } private: static void on_bus_ready_static(GObject* /*source*/, GAsyncResult* res, gpointer gself) { GError* error {}; auto bus = g_bus_get_finish (res, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_warning("UsbSnap: Error getting session bus: %s", error->message); g_clear_error(&error); } else { static_cast(gself)->on_bus_ready(bus); } g_clear_object(&bus); } void on_bus_ready(GDBusConnection* bus) { m_bus = G_DBUS_CONNECTION(g_object_ref(G_OBJECT(bus))); m_subscription_id = g_dbus_connection_signal_subscribe(m_bus, DBusNames::Notify::NAME, DBusNames::Notify::INTERFACE, nullptr, DBusNames::Notify::PATH, nullptr, G_DBUS_SIGNAL_FLAGS_NONE, on_notification_signal_static, this, nullptr); auto body = g_strdup_printf(_("The computer's RSA key fingerprint is: %s"), m_fingerprint.c_str()); GVariantBuilder actions_builder; g_variant_builder_init(&actions_builder, G_VARIANT_TYPE_STRING_ARRAY); g_variant_builder_add(&actions_builder, "s", ACTION_ALLOW); g_variant_builder_add(&actions_builder, "s", _("Allow")); g_variant_builder_add(&actions_builder, "s", ACTION_DENY); g_variant_builder_add(&actions_builder, "s", _("Don't Allow")); GVariantBuilder hints_builder; g_variant_builder_init(&hints_builder, G_VARIANT_TYPE_VARDICT); g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-non-shaped-icon", g_variant_new_string("true")); g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-snap-decisions", g_variant_new_string("true")); g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-private-affirmative-tint", g_variant_new_string("true")); auto args = g_variant_new("(susssasa{sv}i)", "", uint32_t(0), "computer-symbolic", _("Allow USB Debugging?"), body, &actions_builder, &hints_builder, -1); g_dbus_connection_call(m_bus, DBusNames::Notify::NAME, DBusNames::Notify::PATH, DBusNames::Notify::INTERFACE, "Notify", args, G_VARIANT_TYPE("(u)"), G_DBUS_CALL_FLAGS_NONE, -1, // timeout m_cancellable, on_notify_reply_static, this); g_clear_pointer(&body, g_free); } static void on_notify_reply_static(GObject* obus, GAsyncResult* res, gpointer gself) { GError* error {}; auto reply = g_dbus_connection_call_finish (G_DBUS_CONNECTION(obus), res, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_warning("UsbSnap: Error calling Notify: %s", error->message); g_clear_error(&error); } else { uint32_t id {}; g_variant_get(reply, "(u)", &id); static_cast(gself)->on_notify_reply(id); } g_clear_pointer(&reply, g_variant_unref); } void on_notify_reply(uint32_t id) { m_notification_id = id; } static void on_notification_signal_static(GDBusConnection* /*connection*/, const gchar* /*sender_name*/, const gchar* object_path, const gchar* interface_name, const gchar* signal_name, GVariant* parameters, gpointer gself) { g_return_if_fail(!g_strcmp0(object_path, DBusNames::Notify::PATH)); g_return_if_fail(!g_strcmp0(interface_name, DBusNames::Notify::INTERFACE)); auto self = static_cast(gself); if (!g_strcmp0(signal_name, DBusNames::Notify::ActionInvoked::NAME)) { uint32_t id {}; const char* action_name {}; g_variant_get(parameters, "(u&s)", &id, &action_name); if (id == self->m_notification_id) self->on_action_invoked(action_name); } else if (!g_strcmp0(signal_name, DBusNames::Notify::NotificationClosed::NAME)) { uint32_t id {}; uint32_t close_reason {}; g_variant_get(parameters, "(uu)", &id, &close_reason); if (id == self->m_notification_id) self->on_notification_closed(close_reason); } } void on_action_invoked(const char* action_name) { const auto response = !g_strcmp0(action_name, ACTION_ALLOW) ? AdbdClient::PKResponse::ALLOW : AdbdClient::PKResponse::DENY; // FIXME: the current default is to cover the most common use case. // We need to get the notification ui's checkbox working ASAP so // that the user can provide this flag const bool remember_this_choice = response == AdbdClient::PKResponse::ALLOW; m_on_user_response(response, remember_this_choice); m_notification_id = 0; } void on_notification_closed(uint32_t close_reason) { if (close_reason == DBusNames::Notify::NotificationClosed::Reason::EXPIRED) m_on_user_response(AdbdClient::PKResponse::DENY, false); m_notification_id = 0; } static constexpr char const * ACTION_ALLOW {"allow"}; static constexpr char const * ACTION_DENY {"deny"}; const std::string m_fingerprint; core::Signal m_on_user_response; GCancellable* m_cancellable {}; GDBusConnection* m_bus {}; uint32_t m_notification_id {}; unsigned int m_subscription_id {}; }; /*** **** ***/ UsbSnap::UsbSnap(const std::string& public_key): impl{new Impl{public_key}} { } UsbSnap::~UsbSnap() { } core::Signal& UsbSnap::on_user_response() { return impl->on_user_response(); } ayatana-indicator-display-22.2.0/src/usb-snap.h0000644000000000000000000000217514203534734016220 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include // AdbdClient::PKResponse #include #include #include /** * A snap decision prompt for whether or not to allow an ADB connection */ class UsbSnap { public: explicit UsbSnap(const std::string& public_key); ~UsbSnap(); core::Signal& on_user_response(); protected: class Impl; std::unique_ptr impl; }; ayatana-indicator-display-22.2.0/tests/CMakeLists.txt0000644000000000000000000000234214203534734017426 0ustar set(CMAKE_AUTOMOC ON) find_package(GMock REQUIRED) find_package(Qt5Core REQUIRED) find_package(Qt5Test REQUIRED) find_package(Qt5DBus COMPONENTS Qt5DBusMacros REQUIRED) pkg_check_modules(TEST_DEPS libqtdbustest-1 REQUIRED libqtdbusmock-1 REQUIRED ) include_directories(SYSTEM ${DBUSTEST_INCLUDE_DIRS} ${TEST_DEPS_INCLUDE_DIRS} ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} ) list(APPEND CTEST_ENVIRONMENT G_MESSAGES_DEBUG=all G_DBUS_DEBUG=call,signal,return,message ) # turn off the warnings that break Google Test if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") list(APPEND CXX_WARNING_ARGS -Wno-global-constructors -Wno-weak-vtables) endif() add_compile_options(${CXX_WARNING_ARGS}) add_test(cppcheck cppcheck --enable=all -USCHEMA_DIR --error-exitcode=2 --inline-suppr --library=qt -I${CMAKE_SOURCE_DIR} -i${CMAKE_SOURCE_DIR}/tests/utils/qmain.cpp -i${CMAKE_SOURCE_DIR}/tests/gmock ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests --suppress=missingIncludeSystem --suppress=uninitDerivedMemberVar --suppress=unmatchedSuppression --suppress=constParameter) add_subdirectory(integration) add_subdirectory(unit) add_subdirectory(utils) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} PARENT_SCOPE ) ayatana-indicator-display-22.2.0/tests/integration/CMakeLists.txt0000644000000000000000000000155514203534734021756 0ustar set(SERVICE_LINK_LIBRARIES ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ) set(QT_LINK_LIBRARIES test-utils Qt5::Core Qt5::Test Qt5::DBus ) set(TEST_LINK_LIBRARIES ${TEST_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} ) function(add_qt_test_by_name name) set(TEST_NAME ${name}) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME} PARENT_SCOPE) add_executable (${TEST_NAME} ${TEST_NAME}.cpp) target_link_options(${TEST_NAME} PRIVATE -no-pie) add_test(${TEST_NAME} ${TEST_NAME}) set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT ${CTEST_ENVIRONMENT}) target_link_libraries(${TEST_NAME} ${SERVICE_LINK_LIBRARIES} ${QT_LINK_LIBRARIES} ${TEST_LINK_LIBRARIES} ${THREAD_LINK_LIBRARIES}) endfunction() add_qt_test_by_name(usb-manager-test) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} PARENT_SCOPE ) ayatana-indicator-display-22.2.0/tests/integration/usb-manager-test.cpp0000644000000000000000000002324314203534734023076 0ustar /* * Copyright 2016 Canonical Ltd. * Copyright 2022 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr * Robert Tari */ #include #include #include #include #include #include #include #include #include #include #include #include /*** **** ***/ class UsbManagerFixture: public QtFixture { using super = QtFixture; public: UsbManagerFixture(): dbusMock{dbusTestRunner} { dbusTestRunner.startServices(); } ~UsbManagerFixture() =default; protected: static void file_deleter (std::string* s) { fprintf(stderr, "remove \"%s\"\n", s->c_str()); g_remove(s->c_str()); delete s; } void SetUp() override { super::SetUp(); m_usb_monitor.reset(new MockUsbMonitor{}); m_greeter.reset(new MockGreeter{}); char tmpl[] = {"usb-manager-test-XXXXXX"}; m_tmpdir.reset(new std::string{g_mkdtemp(tmpl)}, file_deleter); g_message("using tmpdir '%s'", m_tmpdir->c_str()); dbusMock.registerNotificationDaemon(); dbusTestRunner.startServices(); } OrgFreedesktopDBusMockInterface& notificationsMockInterface() { return dbusMock.mockInterface(DBusNames::Notify::NAME, DBusNames::Notify::PATH, DBusNames::Notify::INTERFACE, QDBusConnection::SessionBus); } QtDBusTest::DBusTestRunner dbusTestRunner; QtDBusMock::DBusMock dbusMock; std::shared_ptr m_tmpdir; std::shared_ptr m_usb_monitor; std::shared_ptr m_greeter; }; TEST_F(UsbManagerFixture, Allow) { const std::shared_ptr socket_path {new std::string{*m_tmpdir+"/socket"}, file_deleter}; const std::shared_ptr public_keys_path {new std::string{*m_tmpdir+"/adb_keys"}, file_deleter}; // add a signal spy to listen to the notification daemon QSignalSpy notificationsSpy( ¬ificationsMockInterface(), SIGNAL(MethodCalled(const QString &, const QVariantList &)) ); // start a mock AdbdServer ready to submit a request const std::string public_key {"qAAAALUHllFjEZjl5jbS9ivjpQpaTNpibl28Re71D/S8sV3usNJTkbpvZYoVPfxtmHSNdCgLkWN6qcDZsHZqE/4myzmx/8Y/RqBy1oirudugi3YUUcJh7aWkY8lKQe9shCLTcrT7cFLZIJIidTvfmWTm0UcU+xmdPALze11I3lGo1Ty5KpCe9oP+qYM8suHbxhm78LKLlo0QJ2QqM8T5isr1pvoPHDgRb+mSESElG+xDIfPWA2BTu77/xk4EnXmOYfcuCr5akF3N4fRo/ACnYgXWDZFX2XdklBXyDj78lVlinF37xdMk7BMQh166X7UNkpH1uG2y5F6lUzyLg8SsFtRnJkw7eVe/gnJj3feQaFQbF5oVDhWhLMtWLtejhX6umvroVBVA4rynG4xEgs00K4u4ly8DUIIJYDO22Ml4myFR5CUm3lOlyitNdzYGh0utLXPq9oc8EbMVxM3i+O7PRxQw5Ul04X6K8GLiGUDV98DB+xYUqfEveq1BRnXi/ZrdPDhQ8Lfkg5xnLccPTFamAqutPtZXV6s7dXJInBTZf0NtBaWL0RdR2cOJBrpeBYkrc9yIyeqFLFdxr66rjaehjaa4pS4S+CD6PkGiIpPWSQtwNC4RlT10qTQ0/K9lRux2p0D8Z8ubUTFuh4kBScGUkN1OV3Z+7d7B+ghmBtZrrgleXsbehjRuKgEAAQA= foo@bar"}; const std::string fingerprint {"12:23:5f:2d:8c:40:ae:1d:05:7b:ae:bd:88:8a:f0:80"}; auto adbd_server = std::make_shared(*socket_path, std::vector{"PK"+public_key}); // set up a UsbManager to process the request auto usb_manager = std::make_shared(*socket_path, *public_keys_path, m_usb_monitor, m_greeter); // cppcheck in Ubuntu 20.04 requires the unused attribute to be set here... Q_UNUSED(usb_manager); // wait for the notification to show up, confirm it looks right wait_for_signals(notificationsSpy, 1); { QVariantList const& call(notificationsSpy.at(0)); EXPECT_EQ("Notify", call.at(0)); QVariantList const& args(call.at(1).toList()); ASSERT_EQ(8, args.size()); EXPECT_EQ("", args.at(0)); // app name EXPECT_EQ(0, args.at(1)); // replaces-id EXPECT_EQ("computer-symbolic", args.at(2)); // icon name EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + QString::fromUtf8(fingerprint.c_str()), args.at(4)); // body EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions EXPECT_EQ(-1, args.at(7)); QVariantMap hints; ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints)); ASSERT_EQ(3, hints.size()); ASSERT_TRUE(hints.contains("x-lomiri-private-affirmative-tint")); ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon")); ASSERT_TRUE(hints.contains("x-lomiri-snap-decisions")); } notificationsSpy.clear(); // click on allow in the notification notificationsMockInterface().EmitSignal( DBusNames::Notify::INTERFACE, DBusNames::Notify::ActionInvoked::NAME, "us", QVariantList() << uint32_t(1) << "allow" ); // confirm that the AdbdServer got the right response wait_for([adbd_server](){return !adbd_server->m_responses.empty();}, 5000); ASSERT_EQ(1, adbd_server->m_responses.size()); EXPECT_EQ("OK", adbd_server->m_responses.front()); // confirm that the public_keys file got the public key appended to it std::ifstream ifkeys {*public_keys_path}; std::vector lines; std::string line; while(getline(ifkeys, line)) lines.emplace_back(std::move(line)); ASSERT_EQ(1, lines.size()); EXPECT_EQ(public_key, lines[0]); } TEST_F(UsbManagerFixture, USBDisconnectedDuringPrompt) { const std::shared_ptr socket_path {new std::string{*m_tmpdir+"/socket"}, file_deleter}; const std::shared_ptr public_keys_path {new std::string{*m_tmpdir+"/adb_keys"}, file_deleter}; // start a mock AdbdServer ready to submit a request const size_t N_TESTS {3}; const std::string public_key {"public_key"}; const std::vector requests(N_TESTS, "PK"+public_key); const std::vector expected_responses(N_TESTS, "NO"); auto adbd_server = std::make_shared(*socket_path, requests); // set up a UsbManager to process the request auto usb_manager = std::make_shared(*socket_path, *public_keys_path, m_usb_monitor, m_greeter); // cppcheck in Ubuntu 20.04 requires the unused attribute to be set here... Q_UNUSED(usb_manager); for (std::remove_const::type i=0; im_on_usb_disconnected("android0"); // confirm that we requested the notification to be pulled down wait_for_signals(notificationsSpy, 1); EXPECT_EQ("CloseNotification", notificationsSpy.at(0).at(0)); notificationsSpy.clear(); } EXPECT_TRUE(wait_for([adbd_server](){return adbd_server->m_responses.size() == N_TESTS;}, 5000)); EXPECT_EQ(expected_responses, adbd_server->m_responses); } TEST_F(UsbManagerFixture, Greeter) { const std::shared_ptr socket_path {new std::string{*m_tmpdir+"/socket"}, file_deleter}; const std::shared_ptr public_keys_path {new std::string{*m_tmpdir+"/adb_keys"}, file_deleter}; // start a mock AdbdServer ready to submit a request const std::string public_key {"public_key"}; auto adbd_server = std::make_shared(*socket_path, std::vector{"PK"+public_key}); // cppcheck in Ubuntu 20.04 requires the unused attribute to be set here... Q_UNUSED(adbd_server); // set up a UsbManager to process the request m_greeter->m_state.set(Greeter::State::ACTIVE); auto usb_manager = std::make_shared(*socket_path, *public_keys_path, m_usb_monitor, m_greeter); // cppcheck in Ubuntu 20.04 requires the unused attribute to be set here... Q_UNUSED(usb_manager); // add a signal spy to listen to the notification daemon QSignalSpy notificationsSpy( ¬ificationsMockInterface(), SIGNAL(MethodCalled(const QString &, const QVariantList &)) ); // the greeter is active, so the notification should not appear EXPECT_FALSE(notificationsSpy.wait(2000)); // disable the greeter, the notification should appear m_greeter->m_state.set(Greeter::State::INACTIVE); wait_for_signals(notificationsSpy, 1); EXPECT_EQ("Notify", notificationsSpy.at(0).at(0)); notificationsSpy.clear(); } ayatana-indicator-display-22.2.0/tests/manual0000644000000000000000000000171514203534734016071 0ustar Test-case indicator-display/rotation-indicator
On the phone, enable the rotation lock in ubuntu-system-settings.
The rotation lock indicator should appear, and its switch menuitem should be set to 'true'.
With the rotation locked, click on the indicator's switch menuitem to toggle from locked to unlocked.
The rotation lock indicator should disappear
In ubuntu-system-settings, the rotation lock control should change to 'none'.
If all actions produce the expected results listed, please submit a 'passed' result. If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result. ayatana-indicator-display-22.2.0/tests/unit/adbd-client-test.cpp0000644000000000000000000000630014203534734021472 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include class AdbdClientFixture: public TestDBusFixture { private: typedef TestDBusFixture super; protected: static void file_deleter (std::string* s) { fprintf(stderr, "remove \"%s\"\n", s->c_str()); g_remove(s->c_str()); delete s; } std::shared_ptr m_tmpdir; void SetUp() override { super::SetUp(); char tmpl[] = {"adb-client-test-XXXXXX"}; m_tmpdir.reset(new std::string{g_mkdtemp(tmpl)}, file_deleter); g_message("using tmpdir '%s'", m_tmpdir->c_str()); } }; TEST_F(AdbdClientFixture, SocketPlumbing) { struct { const std::string request; const std::string expected_pk; AdbdClient::PKResponse response; const std::string expected_response; } tests[] = { { "PKHelloWorld", "HelloWorld", AdbdClient::PKResponse::ALLOW, "OK" }, { "PKHelloWorld", "HelloWorld", AdbdClient::PKResponse::DENY, "NO" }, { "PKFooBar", "FooBar", AdbdClient::PKResponse::ALLOW, "OK" }, { "PK", "", AdbdClient::PKResponse::DENY, "NO" } }; const auto main_thread = g_thread_self(); const auto socket_path = *m_tmpdir + "/test-socket-plumbing"; g_message("socket_path is %s", socket_path.c_str()); for (const auto& test : tests) { // start an AdbdClient that listens for PKRequests std::string pk; auto adbd_client = std::make_shared(socket_path); auto connection = adbd_client->on_pk_request().connect([&pk, main_thread, test](const AdbdClient::PKRequest& req){ EXPECT_EQ(main_thread, g_thread_self()); g_message("in on_pk_request with %s", req.public_key.c_str()); pk = req.public_key; req.respond(test.response); }); // start a mock AdbdServer with to fire test key requests and wait for a response auto adbd_server = std::make_shared(socket_path, std::vector{test.request}); wait_for([adbd_server](){return !adbd_server->m_responses.empty();}, 5000); EXPECT_EQ(test.expected_pk, pk); ASSERT_EQ(1, adbd_server->m_responses.size()); EXPECT_EQ(test.expected_response, adbd_server->m_responses.front()); // cleanup connection.disconnect(); adbd_client.reset(); adbd_server.reset(); g_unlink(socket_path.c_str()); } } ayatana-indicator-display-22.2.0/tests/unit/CMakeLists.txt0000644000000000000000000000533514203534734020412 0ustar ########################### # GSettings Schema ########################### # build the necessary schemas set_directory_properties (PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES gschemas.compiled) set_source_files_properties (gschemas.compiled GENERATED) # GSettings: # compile the org.ayatana.display schema into a gschemas.compiled file in this directory, # and help the tests to find that file by setting -DSCHEMA_DIR set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas") set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas") set (DISPLAY_SCHEMA ${CMAKE_BINARY_DIR}/data/org.ayatana.display.gschema.xml) add_definitions(-DSCHEMA_DIR="${SCHEMA_DIR}") execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE COMPILE_SCHEMA_EXECUTABLE OUTPUT_STRIP_TRAILING_WHITESPACE) add_custom_command (OUTPUT gschemas.compiled DEPENDS ${CMAKE_BINARY_DIR}/data/org.ayatana.display.gschema.xml COMMAND mkdir -p ${SCHEMA_DIR} COMMAND cp -f ${DISPLAY_SCHEMA} ${SCHEMA_DIR} COMMAND ${COMPILE_SCHEMA_EXECUTABLE} ${SCHEMA_DIR}) set(SERVICE_LINK_LIBRARIES ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ) set(QT_LINK_LIBRARIES test-utils Qt5::Core Qt5::Test Qt5::DBus ) set(TEST_LINK_LIBRARIES ${TEST_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} ) add_definitions( -DGREETER_TEMPLATE="${CMAKE_SOURCE_DIR}/tests/utils/mock-greeter.py" ) function(add_test_by_name name) set(TEST_NAME ${name}) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME} PARENT_SCOPE) add_executable (${TEST_NAME} ${TEST_NAME}.cpp gschemas.compiled) target_link_options(${TEST_NAME} PRIVATE -no-pie) add_test(${TEST_NAME} ${TEST_NAME}) set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT ${CTEST_ENVIRONMENT}) target_link_libraries(${TEST_NAME} ${SERVICE_LINK_LIBRARIES} ${TEST_LINK_LIBRARIES} ${THREAD_LINK_LIBRARIES}) endfunction() add_test_by_name(adbd-client-test) add_test_by_name(rotation-lock-test) function(add_qt_test_by_name name) set(TEST_NAME ${name}) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME} PARENT_SCOPE) add_executable (${TEST_NAME} ${TEST_NAME}.cpp) target_link_options(${TEST_NAME} PRIVATE -no-pie) add_test(${TEST_NAME} ${TEST_NAME}) set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT ${CTEST_ENVIRONMENT}) target_link_libraries(${TEST_NAME} ${SERVICE_LINK_LIBRARIES} ${QT_LINK_LIBRARIES} ${TEST_LINK_LIBRARIES} ${THREAD_LINK_LIBRARIES}) endfunction() add_qt_test_by_name(greeter-test) add_qt_test_by_name(usb-snap-test) set(COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} PARENT_SCOPE ) ayatana-indicator-display-22.2.0/tests/unit/greeter-test.cpp0000644000000000000000000001037414203534734020767 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include #include #include class GreeterFixture: public QtFixture { private: using super = QtFixture; public: GreeterFixture() =default; ~GreeterFixture() =default; protected: std::shared_ptr m_dbus_runner; std::shared_ptr m_dbus_mock; GDBusConnection* m_bus {}; void SetUp() override { super::SetUp(); // use a fresh bus for each test run m_dbus_runner.reset(new QtDBusTest::DBusTestRunner()); m_dbus_mock.reset(new QtDBusMock::DBusMock(*m_dbus_runner.get())); GError* error {}; m_bus = g_bus_get_sync (G_BUS_TYPE_SESSION, nullptr, &error); g_assert_no_error(error); g_dbus_connection_set_exit_on_close(m_bus, FALSE); } void TearDown() override { g_clear_object(&m_bus); super::TearDown(); } void start_greeter_service(bool is_active) { // set a watcher to look for our mock greeter to appear bool owned {}; QDBusServiceWatcher watcher( DBusNames::Greeter::NAME, m_dbus_runner->sessionConnection() ); QObject::connect( &watcher, &QDBusServiceWatcher::serviceRegistered, [&owned](const QString&){owned = true;} ); // start the mock greeter QVariantMap parameters; parameters["IsActive"] = QVariant(is_active); m_dbus_mock->registerTemplate( DBusNames::Greeter::NAME, GREETER_TEMPLATE, parameters, QDBusConnection::SessionBus ); m_dbus_runner->startServices(); // wait for the watcher ASSERT_TRUE(wait_for([&owned]{return owned;})); } }; #define ASSERT_PROPERTY_EQ_EVENTUALLY(expected_in, property_in) \ do { \ const auto& e = expected_in; \ const auto& p = property_in; \ ASSERT_TRUE(wait_for([e, &p](){return e == p.get();})) \ << "expected " << e << " but got " << p.get(); \ } while(0) /** * Test startup timing by looking at four different cases: * [unity greeter shows up on bus (before, after) we start listening] * x [unity greeter is (active, inactive)] */ TEST_F(GreeterFixture, ActiveServiceStartsBeforeWatcher) { constexpr bool is_active {true}; constexpr Greeter::State expected {Greeter::State::ACTIVE}; start_greeter_service(is_active); Greeter greeter; ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } TEST_F(GreeterFixture, WatcherStartsBeforeActiveService) { constexpr bool is_active {true}; constexpr Greeter::State expected {Greeter::State::ACTIVE}; Greeter greeter; start_greeter_service(is_active); ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } TEST_F(GreeterFixture, InactiveServiceStartsBeforeWatcher) { constexpr bool is_active {false}; constexpr Greeter::State expected {Greeter::State::INACTIVE}; start_greeter_service(is_active); Greeter greeter; ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } TEST_F(GreeterFixture, WatcherStartsBeforeInactiveService) { constexpr bool is_active {false}; constexpr Greeter::State expected {Greeter::State::INACTIVE}; Greeter greeter; start_greeter_service(is_active); ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } ayatana-indicator-display-22.2.0/tests/unit/rotation-lock-test.cpp0000644000000000000000000000327514203534734022121 0ustar /* * Copyright 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include class RotationLockFixture: public TestDBusFixture { private: typedef TestDBusFixture super; protected: void SetUp() override { super::SetUp(); } void TearDown() override { super::TearDown(); } }; /*** **** ***/ TEST_F(RotationLockFixture, CheckIndicator) { RotationLockIndicator indicator; ASSERT_STREQ("rotation_lock", indicator.name()); auto actions = indicator.action_group(); ASSERT_TRUE(actions != nullptr); ASSERT_TRUE(g_action_group_has_action(G_ACTION_GROUP(actions), "rotation-lock")); std::vector> profiles = indicator.profiles(); ASSERT_EQ(2, profiles.size()); std::shared_ptr phone = profiles[0]; ASSERT_EQ(std::string("phone"), phone->name()); ASSERT_FALSE(phone->header()->is_visible); std::shared_ptr desktop = profiles[1]; ASSERT_EQ(std::string("desktop"), desktop->name()); ASSERT_TRUE(desktop->header()->is_visible); } ayatana-indicator-display-22.2.0/tests/unit/usb-snap-test.cpp0000644000000000000000000001143314203534734021057 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include #include class UsbSnapFixture: public QtFixture { using super = QtFixture; public: UsbSnapFixture(): dbusMock{dbusTestRunner} { dbusTestRunner.startServices(); } ~UsbSnapFixture() =default; protected: void SetUp() override { super::SetUp(); dbusMock.registerNotificationDaemon(); dbusTestRunner.startServices(); } OrgFreedesktopDBusMockInterface& notificationsMockInterface() { return dbusMock.mockInterface(DBusNames::Notify::NAME, DBusNames::Notify::PATH, DBusNames::Notify::INTERFACE, QDBusConnection::SessionBus); } QtDBusTest::DBusTestRunner dbusTestRunner; QtDBusMock::DBusMock dbusMock; }; TEST_F(UsbSnapFixture, TestRoundTrip) { struct { const char* fingerprint; const char* action_to_invoke; const AdbdClient::PKResponse expected_response; } tests[] = { { "Fingerprint", "allow", AdbdClient::PKResponse::ALLOW }, { "Fingerprint", "deny", AdbdClient::PKResponse::DENY } }; uint32_t next_id = 1; for(const auto& test : tests) { // Minor wart: we don't have a way of getting the fdo notification id // from dbusmock so instead we copy its (simple) id generation here const auto id = next_id++; QSignalSpy notificationsSpy( ¬ificationsMockInterface(), SIGNAL(MethodCalled(const QString &, const QVariantList &))); // start up a UsbSnap to ask about a fingerprint auto snap = std::make_shared(test.fingerprint); AdbdClient::PKResponse user_response {}; bool user_response_set = false; auto connection = snap->on_user_response().connect([&user_response,&user_response_set](AdbdClient::PKResponse response, bool /*remember*/){ user_response = response; user_response_set = true; }); // test that UsbSnap creates a fdo notification wait_for_signals(notificationsSpy, 1); { QVariantList const& call(notificationsSpy.at(0)); EXPECT_EQ("Notify", call.at(0)); QVariantList const& args(call.at(1).toList()); ASSERT_EQ(8, args.size()); EXPECT_EQ("", args.at(0)); // app name EXPECT_EQ(0, args.at(1)); // replaces-id EXPECT_EQ("computer-symbolic", args.at(2)); // icon name EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + test.fingerprint, args.at(4)); // body EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions EXPECT_EQ(-1, args.at(7)); QVariantMap hints; ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints)); ASSERT_EQ(3, hints.size()); ASSERT_TRUE(hints.contains("x-lomiri-private-affirmative-tint")); ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon")); ASSERT_TRUE(hints.contains("x-lomiri-snap-decisions")); } notificationsSpy.clear(); // fake a user interaction with the fdo notification notificationsMockInterface().EmitSignal( DBusNames::Notify::INTERFACE, DBusNames::Notify::ActionInvoked::NAME, "us", QVariantList() << id << test.action_to_invoke); // test that UsbSnap emits on_user_response() as a result wait_for([&user_response_set](){return user_response_set;}); EXPECT_TRUE(user_response_set); ASSERT_EQ(test.expected_response, user_response); // confirm that the snap dtor doesn't try to close // the notification that's already been closed by user choice snap.reset(); EXPECT_FALSE(notificationsSpy.wait(1000)); } } ayatana-indicator-display-22.2.0/tests/utils/adbd-server.h0000644000000000000000000001204014203534734020371 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #include #include #include #include #include /** * A Mock ADBD server. * * Binds to a local domain socket, sends public key requests across it, * and reads back the client's responses. */ class GAdbdServer { public: GAdbdServer(const std::string& socket_path, const std::vector& requests): m_requests{requests}, m_server_socket{create_server_socket(socket_path)}, m_cancellable{g_cancellable_new()}, m_worker_thread{&GAdbdServer::worker_func, this} { } ~GAdbdServer() { // tell the worker thread to stop whatever it's doing and exit. g_cancellable_cancel(m_cancellable); m_worker_thread.join(); g_clear_object(&m_cancellable); g_clear_object(&m_server_socket); } const std::vector m_requests; std::vector m_responses; private: void worker_func() // runs in worker thread { auto requests = m_requests; while (!g_cancellable_is_cancelled(m_cancellable) && !requests.empty()) { // wait for a client connection g_message("GAdbdServer::Impl::worker_func() calling g_socket_accept()"); GError* error {}; auto client_socket = g_socket_accept(m_server_socket, m_cancellable, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_message("GAdbdServer: Error accepting socket connection: %s", error->message); g_clear_error(&error); break; } // pop the next request off the stack auto request = requests.front(); // send the request g_message("GAdbdServer::Impl::worker_func() sending req [%s]", request.c_str()); g_socket_send(client_socket, request.c_str(), request.size(), m_cancellable, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_message("GAdbdServer: Error sending request: %s", error->message); g_clear_error(&error); g_clear_object(&client_socket); break; } // read the response g_message("GAdbdServer::Impl::worker_func() reading response"); char buf[4096]; const auto n_bytes = g_socket_receive(client_socket, buf, sizeof(buf), m_cancellable, &error); if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_message("GAdbdServer: Error reading response: %s", error->message); g_clear_error(&error); g_clear_object(&client_socket); continue; } const std::string response(buf, std::string::size_type(n_bytes)); g_message("server read %d bytes, got response: '%s'", int(n_bytes), response.c_str()); if (!response.empty()) { m_responses.push_back(response); requests.erase(requests.begin()); } // cleanup g_clear_object(&client_socket); } } // bind to a local domain socket static GSocket* create_server_socket(const std::string& socket_path) { GError* error {}; auto socket = g_socket_new(G_SOCKET_FAMILY_UNIX, G_SOCKET_TYPE_STREAM, G_SOCKET_PROTOCOL_DEFAULT, &error); g_assert_no_error(error); auto address = g_unix_socket_address_new (socket_path.c_str()); g_socket_bind (socket, address, false, &error); g_assert_no_error (error); g_clear_object (&address); g_socket_listen (socket, &error); g_assert_no_error (error); return socket; } GSocket* m_server_socket {}; GCancellable* m_cancellable {}; std::thread m_worker_thread; }; ayatana-indicator-display-22.2.0/tests/utils/CMakeLists.txt0000644000000000000000000000032014203534734020560 0ustar include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ) add_library( test-utils STATIC qmain.cpp ) target_link_libraries( test-utils Qt5::Core Qt5::DBus ) ayatana-indicator-display-22.2.0/tests/utils/dbus-types.h0000644000000000000000000000235514203534734020302 0ustar /* * Copyright (C) 2013-2016 Canonical, Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Author: Pete Woods */ #pragma once #include #include #include #include typedef QMap QVariantDictMap; Q_DECLARE_METATYPE(QVariantDictMap) typedef QMap QStringMap; Q_DECLARE_METATYPE(QStringMap) namespace DBusTypes { inline void registerMetaTypes() { qRegisterMetaType("QVariantDictMap"); qRegisterMetaType("QStringMap"); qDBusRegisterMetaType(); qDBusRegisterMetaType(); } } ayatana-indicator-display-22.2.0/tests/utils/glib-fixture.h0000644000000000000000000001551514203534734020606 0ustar /* * Copyright 2013 Canonical Ltd. * * Authors: * Charles Kerr * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ #pragma once #include // std::function #include #include // std::shared_ptr #include #include #include #include #include // setlocale() class GlibFixture : public ::testing::Test { public: virtual ~GlibFixture() =default; protected: virtual void SetUp() override { setlocale(LC_ALL, "C.UTF-8"); loop = g_main_loop_new(nullptr, false); #ifdef SCHEMA_DIR // only use local, temporary settings g_assert(g_setenv("GSETTINGS_SCHEMA_DIR", SCHEMA_DIR, true)); g_assert(g_setenv("GSETTINGS_BACKEND", "memory", true)); g_debug("SCHEMA_DIR is %s", SCHEMA_DIR); #endif // fail on unexpected messages from this domain g_log_set_fatal_mask(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING); g_unsetenv("DISPLAY"); } virtual void TearDown() override { g_test_assert_expected_messages (); g_clear_pointer(&loop, g_main_loop_unref); } void expectLogMessage (const gchar *domain, GLogLevelFlags level, const gchar *pattern) { g_test_expect_message (domain, level, pattern); } private: static gboolean wait_for_signal__timeout(gpointer name) { g_error("%s: timed out waiting for signal '%s'", G_STRLOC, static_cast(name)); return G_SOURCE_REMOVE; } static gboolean wait_msec__timeout(gpointer loop) { g_main_loop_quit(static_cast(loop)); return G_SOURCE_CONTINUE; } protected: /* convenience func to loop while waiting for a GObject's signal */ void wait_for_signal(gpointer o, const gchar * signal, guint timeout_seconds=5) { // wait for the signal or for timeout, whichever comes first const auto handler_id = g_signal_connect_swapped(o, signal, G_CALLBACK(g_main_loop_quit), loop); const auto timeout_id = g_timeout_add_seconds(timeout_seconds, wait_for_signal__timeout, loop); g_main_loop_run(loop); g_source_remove(timeout_id); g_signal_handler_disconnect(o, handler_id); } /* convenience func to loop for N msec */ void wait_msec(guint msec=50) { const auto id = g_timeout_add(msec, wait_msec__timeout, loop); g_main_loop_run(loop); g_source_remove(id); } bool wait_for(std::function test_function, guint timeout_msec=1000) { auto timer = std::shared_ptr(g_timer_new(), [](GTimer* t){g_timer_destroy(t);}); const auto timeout_sec = timeout_msec / 1000.0; for (;;) { if (test_function()) return true; //g_message("%f ... %f", g_timer_elapsed(timer.get(), nullptr), timeout_sec); if (g_timer_elapsed(timer.get(), nullptr) >= timeout_sec) return false; wait_msec(); } } bool wait_for_name_owned(GDBusConnection* connection, const gchar* name, guint timeout_msec=1000, GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) { struct Data { GMainLoop* loop = nullptr; bool owned = false; }; Data data; auto on_name_appeared = [](GDBusConnection* /*connection*/, const gchar* /*name_*/, const gchar* name_owner, gpointer gdata) { if (name_owner == nullptr) return; auto tmp = static_cast(gdata); tmp->owned = true; g_main_loop_quit(tmp->loop); }; const auto timeout_id = g_timeout_add(timeout_msec, wait_msec__timeout, loop); data.loop = loop; const auto watch_id = g_bus_watch_name_on_connection(connection, name, flags, on_name_appeared, nullptr, /* name_vanished */ &data, nullptr); /* user_data_free_func */ g_main_loop_run(loop); g_bus_unwatch_name(watch_id); g_source_remove(timeout_id); return data.owned; } void EXPECT_NAME_OWNED_EVENTUALLY(GDBusConnection* connection, const gchar* name, guint timeout_msec=1000, GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) { EXPECT_TRUE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; } void EXPECT_NAME_NOT_OWNED_EVENTUALLY(GDBusConnection* connection, const gchar* name, guint timeout_msec=1000, GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) { EXPECT_FALSE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; } void ASSERT_NAME_OWNED_EVENTUALLY(GDBusConnection* connection, const gchar* name, guint timeout_msec=1000, GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) { ASSERT_TRUE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; } void ASSERT_NAME_NOT_OWNED_EVENTUALLY(GDBusConnection* connection, const gchar* name, guint timeout_msec=1000, GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) { ASSERT_FALSE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; } GMainLoop * loop; }; ayatana-indicator-display-22.2.0/tests/utils/gtest-print-helpers.h0000644000000000000000000000072414203534734022121 0ustar #pragma once #include inline void PrintTo(const Greeter::State& state, std::ostream* os) { switch(state) { case Greeter::State::ACTIVE: *os << "Active"; break; case Greeter::State::INACTIVE: *os << "Inactive"; break; case Greeter::State::UNAVAILABLE: *os << "Unavailable"; break; } } inline std::ostream& operator<<(std::ostream& os, const Greeter::State& state) { PrintTo(state, &os); return os; } ayatana-indicator-display-22.2.0/tests/utils/gtest-qt-print-helpers.h0000644000000000000000000000174714203534734022551 0ustar #pragma once #include #include #include #include inline QString qVariantToString(const QVariant& variant) { QString output; QDebug dbg(&output); dbg << variant; return output; } inline void PrintTo(const QVariant& variant, std::ostream* os) { QString output; QDebug dbg(&output); dbg << variant; *os << "QVariant(" << output.toStdString() << ")"; } inline void PrintTo(const QString& s, std::ostream* os) { *os << "\"" << s.toStdString() << "\""; } inline void PrintTo(const QStringList& list, std::ostream* os) { QString output; QDebug dbg(&output); dbg << list; *os << "QStringList(" << output.toStdString() << ")"; } inline void PrintTo(const QList& list, std::ostream* os) { QString output; for (const auto& path: list) { output.append("\"" + path.path() + "\","); } *os << "QList(" << output.toStdString() << ")"; } ayatana-indicator-display-22.2.0/tests/utils/mock-greeter.h0000644000000000000000000000174714203534734020573 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include class MockGreeter: public Greeter { public: MockGreeter() =default; virtual ~MockGreeter() =default; core::Property& state() override {return m_state;} core::Property m_state {State::INACTIVE}; }; ayatana-indicator-display-22.2.0/tests/utils/mock-greeter.py0000644000000000000000000000222714203534734020766 0ustar '''desktop greeter mock template Very basic template that just mocks the greeter is-active flag ''' # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 3 of the License, or (at your option) any # later version. See http://www.gnu.org/copyleft/lgpl.html for the full text # of the license. __author__ = 'Charles Kerr' __email__ = 'charles.kerr@canonical.com' __copyright__ = '(c) 2016 Canonical Ltd.' __license__ = 'LGPL 3+' import dbus import os from dbusmock import MOCK_IFACE, mockobject BUS_NAME = 'org.ayatana.Greeter' MAIN_OBJ = '/' MAIN_IFACE = 'org.ayatana.Greeter' SYSTEM_BUS = False def load(mock, parameters): mock.AddMethods( MAIN_IFACE, [ ('HideGreeter', '', '', 'self.Set("org.ayatana.Greeter", "IsActive", False)'), ('ShowGreeter', '', '', 'self.Set("org.ayatana.Greeter", "IsActive", True)') ] ) mock.AddProperties( MAIN_IFACE, dbus.Dictionary({ 'IsActive': parameters.get('IsActive', False), }, signature='sv') ) ayatana-indicator-display-22.2.0/tests/utils/mock-usb-monitor.h0000644000000000000000000000202314203534734021400 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include class MockUsbMonitor: public UsbMonitor { public: MockUsbMonitor() =default; virtual ~MockUsbMonitor() =default; core::Signal& on_usb_disconnected() override {return m_on_usb_disconnected;} core::Signal m_on_usb_disconnected; }; ayatana-indicator-display-22.2.0/tests/utils/qmain.cpp0000644000000000000000000000271514203534734017643 0ustar /* * Copyright © 2014 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . * * Authors: * Pete Woods */ //#include #include #include #include #include using namespace QtDBusMock; class Runner: public QObject { Q_OBJECT public Q_SLOTS: void run() { QCoreApplication::exit(RUN_ALL_TESTS()); } }; int main(int argc, char **argv) { qputenv("LANG", "C.UTF-8"); unsetenv("LC_ALL"); // boilerplate i18n setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); textdomain(GETTEXT_PACKAGE); QCoreApplication application(argc, argv); DBusMock::registerMetaTypes(); ::testing::InitGoogleTest(&argc, argv); Runner runner; QTimer::singleShot(0, &runner, SLOT(run())); return application.exec(); } #include "qmain.moc" ayatana-indicator-display-22.2.0/tests/utils/qt-fixture.h0000644000000000000000000000370114203534734020307 0ustar /* * Copyright 2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #define QT_NO_KEYWORDS #include #include #include #include #include #include #include #define wait_for_signals(signalSpy,signalsExpected) \ { \ while (signalSpy.size() < signalsExpected) \ { \ ASSERT_TRUE(signalSpy.wait()); \ } \ \ ASSERT_EQ(signalsExpected, signalSpy.size()); \ } class QtFixture: public GlibFixture { using super = GlibFixture; public: QtFixture() { DBusTypes::registerMetaTypes(); } ~QtFixture() =default; protected: bool qDBusArgumentToMap(QVariant const& variant, QVariantMap& map) { if (variant.canConvert()) { QDBusArgument value(variant.value()); if (value.currentType() == QDBusArgument::MapType) { value >> map; return true; } } return false; } }; ayatana-indicator-display-22.2.0/tests/utils/test-dbus-fixture.h0000644000000000000000000000551714203534734021604 0ustar /* * Copyright 2013 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: * Charles Kerr */ #pragma once #include "glib-fixture.h" /*** **** ***/ class TestDBusFixture: public GlibFixture { public: explicit TestDBusFixture() {}; virtual ~TestDBusFixture() =default; explicit TestDBusFixture(const std::vector& service_dirs_in): service_dirs(service_dirs_in) {} private: typedef GlibFixture super; static void on_bus_opened (GObject* /*object*/, GAsyncResult * res, gpointer gself) { auto self = static_cast(gself); GError * err = 0; self->system_bus = g_bus_get_finish (res, &err); g_assert_no_error (err); g_main_loop_quit (self->loop); } static void on_bus_closed (GObject* /*object*/, GAsyncResult * res, gpointer gself) { auto self = static_cast(gself); GError * err = 0; g_dbus_connection_close_finish (self->system_bus, res, &err); g_assert_no_error (err); g_main_loop_quit (self->loop); } protected: GTestDBus * test_dbus = nullptr; GDBusConnection * system_bus = nullptr; const std::vector service_dirs; virtual void SetUp() override { super::SetUp (); // pull up a test dbus test_dbus = g_test_dbus_new (G_TEST_DBUS_NONE); for (const auto& dir : service_dirs) g_test_dbus_add_service_dir (test_dbus, dir.c_str()); g_test_dbus_up (test_dbus); const char * address = g_test_dbus_get_bus_address (test_dbus); g_setenv ("DBUS_SYSTEM_BUS_ADDRESS", address, true); g_setenv ("DBUS_SESSION_BUS_ADDRESS", address, true); g_debug ("test_dbus's address is %s", address); // wait for the GDBusConnection before returning g_bus_get (G_BUS_TYPE_SYSTEM, nullptr, on_bus_opened, this); g_main_loop_run (loop); } virtual void TearDown() override { wait_msec(); // close the system bus g_dbus_connection_close(system_bus, nullptr, on_bus_closed, this); g_main_loop_run(loop); g_clear_object(&system_bus); // tear down the test dbus g_test_dbus_down(test_dbus); g_clear_object(&test_dbus); super::TearDown(); } }; ayatana-indicator-display-22.2.0/.travis.yml0000644000000000000000000000170614203534734015640 0ustar # vim: set ts=2 sts=2 sw=2 expandtab : dist: focal language: shell os: linux arch: - amd64 # - ppc64le services: - docker addons: apt: packages: - python3-pip - python3-setuptools before_install: # let's use the MATE project's docker build script... - curl -Ls -o docker-build https://github.com/AyatanaIndicators/ayatana-dev-scripts/raw/main/travis/docker-build - chmod +x docker-build install: - pip3 install wheel - pip3 install PyGithub - ./docker-build --name ${DISTRO} --config .build.yml --install script: - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts env: # temp disable of archlinux builds, see https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/56 # - DISTRO="archlinux:latest" - DISTRO="debian:testing" - DISTRO="debian:stable" # - DISTRO="ubuntu:rolling" - DISTRO="ubuntu:focal" jobs: exclude: - env: DISTRO="archlinux:latest" arch: ppc64le ayatana-indicator-display-22.2.0/update-po.sh0000755000000000000000000000250414203534734015761 0ustar #!/bin/bash set -x # Copyright (C) 2017 by Mike Gabriel # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 3 of the License. # # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~ cd po/ cat LINGUAS | while read lingua; do if [ ! -e ${lingua}.po ]; then msginit --input=${GETTEXT_DOMAIN}.pot --locale=${lingua} --no-translator --output-file=$lingua.po else intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua}) fi sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ -i ${lingua}.po done cd - 1>/dev/null mv po/${GETTEXT_DOMAIN}.pot~ po/${GETTEXT_DOMAIN}.pot ayatana-indicator-display-22.2.0/update-pot.sh0000755000000000000000000000202014203534734016136 0ustar #!/bin/bash # Copyright (C) 2017 by Mike Gabriel # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 3 of the License. # # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && cd - 1>/dev/null sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ -i po/${GETTEXT_DOMAIN}.pot