aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 15:14:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 15:14:57 +0100
commitcd08e1e357ee4948ac386574d45cde58d1837278 (patch)
tree93fea00084081929e685d174560215bb385671a6
parentaed99ec2f8f5b434e92afbb6d9e2dc0b243c7a8a (diff)
parentb1fd511ac5d29ca570f5c01007eb740c7ea7f934 (diff)
downloadayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.tar.gz
ayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.tar.bz2
ayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #37: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/37
-rw-r--r--.build.yml5
-rw-r--r--CMakeLists.txt16
-rw-r--r--po/pt.po31
3 files changed, 26 insertions, 26 deletions
diff --git a/.build.yml b/.build.yml
index d4b5dbf..e52d988 100644
--- a/.build.yml
+++ b/.build.yml
@@ -107,15 +107,14 @@ before_scripts:
build_scripts:
# No C/C++ code in this project (only Vala). So skip cppcheck run.
# - if [ ${DISTRO_NAME} == "debian" ];then
-# - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
# - 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_TESTS=ON
+ - 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
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON
- fi
- else
- exit 1
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d07daff..b8652fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,8 +24,13 @@ else()
endif()
if(ENABLE_WERROR)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+ add_definitions("-Werror")
+endif()
+
+if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ add_definitions("-Weverything")
+else()
+ add_definitions("-Wall")
endif()
find_package(PkgConfig REQUIRED)
@@ -57,13 +62,6 @@ find_package(GObjectIntrospection 0.9.12)
include_directories(${SOURCE_DIR})
include_directories(${SOURCE_BINARY_DIR})
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
-
-add_definitions(
- -Wall
-)
-
configure_file(
"config.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/config.h"
diff --git a/po/pt.po b/po/pt.po
index 2651578..f0cdcda 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -8,55 +8,58 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-27 15:38+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2022-01-03 09:52+0000\n"
+"Last-Translator: ssantos <ssantos@web.de>\n"
+"Language-Team: Portuguese <https://hosted.weblate.org/projects/"
+"ayatana-indicators/bluetooth-applet/pt/>\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 4.10.1\n"
#: ../data/org.ayatana.indicator.bluetooth.gschema.xml.in:1
msgid "Whether or not to show the bluetooth indicator in the menu bar."
-msgstr ""
+msgstr "Se deve ou não mostrar o indicador bluetooth na barra do menu."
#: ../src/bluez.vala:310
msgid "Unknown"
-msgstr ""
+msgstr "Desconhecido"
#: ../src/desktop.vala:96
msgid "Connection"
-msgstr ""
+msgstr "Conexão"
#: ../src/desktop.vala:146
msgid "Send files…"
-msgstr ""
+msgstr "Enviar ficheiros…"
#: ../src/desktop.vala:152
msgid "Keyboard Settings…"
-msgstr ""
+msgstr "Configurações do teclado…"
#: ../src/desktop.vala:158
msgid "Mouse and Touchpad Settings…"
-msgstr ""
+msgstr "Configurações do rato e do touchpad…"
#: ../src/desktop.vala:165
msgid "Sound Settings…"
-msgstr ""
+msgstr "Configurações do som…"
#: ../src/desktop.vala:189
msgid "Visible"
-msgstr ""
+msgstr "Visível"
#. settings section
#: ../src/desktop.vala:202
msgid "Bluetooth Settings…"
-msgstr ""
+msgstr "Configurações do bluetooth…"
#: ../src/phone.vala:43
msgid "Bluetooth settings…"
-msgstr ""
+msgstr "Configurações do bluetooth…"
#: ../src/profile.vala:89 ../src/profile.vala:169
msgid "Bluetooth"
-msgstr ""
+msgstr "Bluetooth"