diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..71d46d5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,58 @@ +name: CI + +on: + pull_request: + types: + - opened + - reopened + - synchronize + +jobs: + flatpak: + name: Flatpak + runs-on: ubuntu-latest + + strategy: + matrix: + arch: [x86_64, aarch64] + # Don't fail the whole workflow if one architecture fails + fail-fast: false + + container: + image: ghcr.io/elementary/flatpak-platform/runtime:6-${{ matrix.arch }} + options: --privileged + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up QEMU for aarch64 emulation + if: ${{ matrix.arch != 'x86_64' }} + uses: docker/setup-qemu-action@v1 + with: + platforms: arm64 + + - name: Build + uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 + with: + bundle: com.manexim.home.flatpak + manifest-path: com.manexim.home.yml + run-tests: true + repository-name: appcenter + repository-url: https://flatpak.elementary.io/repo.flatpakrepo + cache-key: "flatpak-builder-${{ github.sha }}" + arch: ${{ matrix.arch }} + + lint: + name: Lint + runs-on: ubuntu-latest + + container: + image: valalang/lint + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Lint + run: io.elementary.vala-lint -d . diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index f617616..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - lint: - - runs-on: ubuntu-latest - - container: - image: valalang/lint - - steps: - - uses: actions/checkout@v1 - - name: Lint - run: io.elementary.vala-lint -d . diff --git a/.gitignore b/.gitignore index 701cc25..bed0ac0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ *~ -build/ -src/Application +build +build-dir +.flatpak-builder +repo/ +*.flatpak diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0151138..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- - -language: node_js - -node_js: - - 10.17.0 - -sudo: required - -services: - - docker - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - libstdc++-5-dev - -install: - - npm i -g @elementaryos/houston - -script: - - houston ci diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..57738a0 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build & Run", + "type": "shell", + "command": "./app build && ./app install && ./app run", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} diff --git a/README.md b/README.md index c3ff94c..1a3bfdf 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@
- Icon + Icon

Home

Control your smart home gadgets

Designed for elementary OS

- +

- - + + @@ -73,6 +73,7 @@ These dependencies must be present before building: - `meson (>=0.40)` - `valac (>=0.40)` - `libgtk-3-dev` + - `libhandy-1-dev` >=1.0.0 - `libjson-glib-dev` - `libgee-0.8-dev` - `libgranite-dev` @@ -88,7 +89,7 @@ meson build --prefix=/usr cd build ninja sudo ninja install -com.github.manexim.home +com.manexim.home ``` ### Deconstruct diff --git a/app b/app new file mode 100755 index 0000000..a1a0bab --- /dev/null +++ b/app @@ -0,0 +1,19 @@ +#!/bin/bash + +# fail on first error +set -e + +APP=com.manexim.home + +case "$1" in + build) + flatpak-builder --repo=repo build ${APP}.yml --force-clean + flatpak build-bundle repo ${APP}.flatpak --runtime-repo=https://flatpak.elementary.io/repo.flatpakrepo ${APP} master + ;; + install) + flatpak install --user -y ${APP}.flatpak + ;; + run) + flatpak run ${APP} + ;; +esac diff --git a/com.manexim.home.yml b/com.manexim.home.yml new file mode 100644 index 0000000..d301a8e --- /dev/null +++ b/com.manexim.home.yml @@ -0,0 +1,16 @@ +app-id: com.manexim.home +runtime: io.elementary.Platform +runtime-version: '6.1' +sdk: io.elementary.Sdk +command: com.manexim.home +finish-args: + - '--share=ipc' + - '--share=network' + - '--socket=fallback-x11' + - '--socket=wayland' +modules: + - name: home + buildsystem: meson + sources: + - type: dir + path: . diff --git a/data/com.github.manexim.home.appdata.xml.in b/data/com.manexim.home.appdata.xml.in similarity index 96% rename from data/com.github.manexim.home.appdata.xml.in rename to data/com.manexim.home.appdata.xml.in index d60b07a..59fc294 100644 --- a/data/com.github.manexim.home.appdata.xml.in +++ b/data/com.manexim.home.appdata.xml.in @@ -1,7 +1,7 @@ - com.github.manexim.home + com.manexim.home CC0 GPL-3.0+ Home @@ -18,7 +18,7 @@ Network - com.github.manexim.home + com.manexim.home @@ -208,10 +208,11 @@ https://github.com/manexim/home/issues - #fafafa - #333 + #802392 + #fafafa 5 + pk_live_FiCVZObTHO7IaLtSXRETuJiJ00aW6Su9kN none diff --git a/data/com.github.manexim.home.desktop.in b/data/com.manexim.home.desktop.in similarity index 69% rename from data/com.github.manexim.home.desktop.in rename to data/com.manexim.home.desktop.in index a2ac9e9..4f56377 100644 --- a/data/com.github.manexim.home.desktop.in +++ b/data/com.manexim.home.desktop.in @@ -3,6 +3,6 @@ Type=Application Name=Home GenericName=Home Comment=Control your smart home gadgets -Exec=com.github.manexim.home -Icon=com.github.manexim.home +Exec=com.manexim.home +Icon=com.manexim.home Categories=GNOME;GTK;Network; diff --git a/data/com.github.manexim.home.gresource.xml b/data/com.manexim.home.gresource.xml similarity index 100% rename from data/com.github.manexim.home.gresource.xml rename to data/com.manexim.home.gresource.xml diff --git a/data/com.github.manexim.home.gschema.xml b/data/com.manexim.home.gschema.xml similarity index 94% rename from data/com.github.manexim.home.gschema.xml rename to data/com.manexim.home.gschema.xml index 860e96c..d4db3c4 100644 --- a/data/com.github.manexim.home.gschema.xml +++ b/data/com.manexim.home.gschema.xml @@ -1,6 +1,6 @@ - + ""

The universally unique identifier diff --git a/data/icons/128/com.github.manexim.home.svg b/data/icons/128/com.manexim.home.svg similarity index 99% rename from data/icons/128/com.github.manexim.home.svg rename to data/icons/128/com.manexim.home.svg index 8e2c518..e4eb978 100644 --- a/data/icons/128/com.github.manexim.home.svg +++ b/data/icons/128/com.manexim.home.svg @@ -16,7 +16,7 @@ version="1.1" id="svg920" inkscape:version="0.92.3 (2405546, 2018-03-11)" - sodipodi:docname="com.github.manexim.home.svg" + sodipodi:docname="com.manexim.home.svg" inkscape:export-filename="/tmp/home/data/icons/128.png" inkscape:export-xdpi="96" inkscape:export-ydpi="96"> diff --git a/data/icons/16/com.github.manexim.home.svg b/data/icons/16/com.manexim.home.svg similarity index 99% rename from data/icons/16/com.github.manexim.home.svg rename to data/icons/16/com.manexim.home.svg index 00a38be..7437dba 100644 --- a/data/icons/16/com.github.manexim.home.svg +++ b/data/icons/16/com.manexim.home.svg @@ -16,7 +16,7 @@ version="1.1" id="svg8" inkscape:version="0.92.3 (2405546, 2018-03-11)" - sodipodi:docname="com.github.manexim.home.svg"> + sodipodi:docname="com.manexim.home.svg"> + sodipodi:docname="com.manexim.home.svg"> + sodipodi:docname="com.manexim.home.svg"> + sodipodi:docname="com.manexim.home.svg"> + sodipodi:docname="com.manexim.home.svg"> - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/icons/symbolic/com.github.manexim.home.icon.bridge.philips.hue-symbolic.svg b/data/icons/symbolic/com.manexim.home.icon.bridge.philips.hue-symbolic.svg similarity index 98% rename from data/icons/symbolic/com.github.manexim.home.icon.bridge.philips.hue-symbolic.svg rename to data/icons/symbolic/com.manexim.home.icon.bridge.philips.hue-symbolic.svg index 26c94fb..3376a4a 100644 --- a/data/icons/symbolic/com.github.manexim.home.icon.bridge.philips.hue-symbolic.svg +++ b/data/icons/symbolic/com.manexim.home.icon.bridge.philips.hue-symbolic.svg @@ -15,7 +15,7 @@ version="1.1" id="svg8" inkscape:version="0.92.3 (2405546, 2018-03-11)" - sodipodi:docname="com.github.manexim.home.icon.bridge.philips.hue-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.bridge.philips.hue-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.fan-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lamp0-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lamp1-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lamp2-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lamp3-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lamp4-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lightbulb-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lightbulb.lifx-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.lightbulb.philips.hue-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.spot-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.television-symbolic.svg"> + sodipodi:docname="com.manexim.home.icon.thing-symbolic.svg"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/symbolic/com.github.manexim.home.logo.philips.hue-symbolic.svg b/data/icons/symbolic/com.manexim.home.logo.philips.hue-symbolic.svg similarity index 99% rename from data/icons/symbolic/com.github.manexim.home.logo.philips.hue-symbolic.svg rename to data/icons/symbolic/com.manexim.home.logo.philips.hue-symbolic.svg index 1025e54..c7a2b23 100644 --- a/data/icons/symbolic/com.github.manexim.home.logo.philips.hue-symbolic.svg +++ b/data/icons/symbolic/com.manexim.home.logo.philips.hue-symbolic.svg @@ -15,7 +15,7 @@ version="1.1" id="svg92" inkscape:version="0.92.3 (2405546, 2018-03-11)" - sodipodi:docname="com.github.manexim.home.logo.philips.hue-symbolic.svg"> + sodipodi:docname="com.manexim.home.logo.philips.hue-symbolic.svg"> Sun, 03 Nov 2019 14:24:03 +0100 - -com.github.manexim.home (0.4.2) bionic; urgency=medium - -[NEW] -[IMPROVED] -[FIXED] - * Fix of overlapping elements -[TRANSLATIONS] - * Russian (by camellan) - * French (by NathanBnm) - * German (by meisenzahl) - * Japanese (by ryonakano) - * Portuguese (by aimproxy) - * Polish (by oskarkunik) - - -- Marius Meisenzahl Wed, 07 Aug 2019 19:43:12 +0200 - -com.github.manexim.home (0.4.1) bionic; urgency=medium - -[NEW] -[IMPROVED] -[FIXED] - * Show loading page if no device is found -[TRANSLATIONS] - * Russian (by camellan) - * French (by NathanBnm) - * German (by meisenzahl) - * Japanese (by ryonakano) - * Portuguese (by aimproxy) - * Polish (by oskarkunik) - - -- Marius Meisenzahl Wed, 07 Aug 2019 06:56:37 +0200 - -com.github.manexim.home (0.4.0) bionic; urgency=medium - -[NEW] - * Set custom device icons - * Set dim level for dimmable bulbs - * Set color for supported bulbs -[IMPROVED] - * UI styling -[FIXED] -[TRANSLATIONS] - * Russian (by camellan) - * French (by NathanBnm) - * German (by meisenzahl) - * Japanese (by ryonakano) - * Portuguese (by aimproxy) - * Polish (by oskarkunik) - - -- Marius Meisenzahl Sun, 04 Aug 2019 12:49:14 +0200 - -com.github.manexim.home (0.3.0) bionic; urgency=medium - -[NEW] - * Add new UI - * Add initial support for Philips Hue devices - * Add discovery for Philips Hue bridges - * Add page to configure Philips Hue bridges - * Add service to save configurations -[IMPROVED] - * Update welcome view - * Add mode switch for dark theme if freedesktop schema is not available -[FIXED] -[TRANSLATIONS] - * French (by NathanBnm) - * German - * Russian (by camellan) - - -- Marius Meisenzahl Thu, 14 Jul 2019 19:40:29 +0200 - -com.github.manexim.home (0.2.0) bionic; urgency=medium - -[NEW] - * Add welcome view for onboarding - * Show loading page if no smart home gadget is found - * Show manufacturer and model of device -[IMPROVED] - * Save and load window settings -[FIXED] - * Remove mention of elementary OS in app description - * Suffix symbolic icon names with -symbolic - * Install all available icon sizes - - -- Marius Meisenzahl Fri, 14 Jun 2019 09:28:04 +0200 - -com.github.manexim.home (0.1.0) bionic; urgency=medium - - * Initial Release. - - -- Marius Meisenzahl Tue, 11 Jun 2019 21:06:00 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control deleted file mode 100644 index 301a63f..0000000 --- a/debian/control +++ /dev/null @@ -1,21 +0,0 @@ -Source: com.github.manexim.home -Section: x11 -Priority: optional -Maintainer: Marius Meisenzahl -Build-Depends: meson, - debhelper (>= 9), - libgtk-3-dev, - libjson-glib-dev, - libgee-0.8-dev, - libgranite-dev, - libsoup2.4-dev, - libxml2-dev, - uuid-dev, - valac -Standards-Version: 3.9.3 - -Package: com.github.manexim.home -Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} -Description: Home - Control your smart home gadgets diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 65775db..0000000 --- a/debian/copyright +++ /dev/null @@ -1,7 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: com.github.manexim.home -Source: https://github.com/manexim/home - -Files: src/* data/* debian/* -Copyright: 2019 Marius Meisenzahl -License: GPL-3.0+ diff --git a/debian/rules b/debian/rules deleted file mode 100755 index b50d9e9..0000000 --- a/debian/rules +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -%: - dh $@ - -override_dh_auto_clean: - rm -rf debian/build - -override_dh_auto_configure: - mkdir -p debian/build - cd debian/build && meson --prefix=/usr ../.. - -override_dh_auto_build: - cd debian/build && ninja -v - -override_dh_auto_test: - cd debian/build && ninja test - -override_dh_auto_install: - cd debian/build && DESTDIR=${CURDIR}/debian/com.github.manexim.home ninja install diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 89ae9db..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) diff --git a/meson.build b/meson.build index 34a2406..23a88a8 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('com.github.manexim.home', 'vala', 'c') +project('com.manexim.home', 'vala', 'c', version: '0.5.0') gnome = import('gnome') i18n = import('i18n') @@ -11,6 +11,7 @@ add_project_arguments( gtk_plus_3_dep = dependency('gtk+-3.0') json_glib_1_dep = dependency('json-glib-1.0') +libhandy_dep = dependency('libhandy-1', version: '>=1.0.0') posix_dep = meson.get_compiler('vala').find_library('posix') gee_dep = dependency('gee-0.8') granite_dep = dependency('granite') diff --git a/po/com.github.manexim.home.pot b/po/com.manexim.home.pot similarity index 95% rename from po/com.github.manexim.home.pot rename to po/com.manexim.home.pot index f1404d9..f728c0e 100644 --- a/po/com.github.manexim.home.pot +++ b/po/com.manexim.home.pot @@ -1,12 +1,12 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# This file is distributed under the same license as the com.manexim.home package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/po/de.po b/po/de.po index 5842d3c..525612a 100644 --- a/po/de.po +++ b/po/de.po @@ -1,11 +1,11 @@ -# German translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# German translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # Automatically generated, 2019. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-06-22 09:24+0200\n" diff --git a/po/es.po b/po/es.po index 9bbeff6..6a8fdb1 100644 --- a/po/es.po +++ b/po/es.po @@ -1,10 +1,10 @@ -# Spanish translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# Spanish translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/po/extra/POTFILES b/po/extra/POTFILES index d9a7612..c5a10d1 100644 --- a/po/extra/POTFILES +++ b/po/extra/POTFILES @@ -1,2 +1,2 @@ -data/com.github.manexim.home.appdata.xml.in -data/com.github.manexim.home.desktop.in \ No newline at end of file +data/com.manexim.home.appdata.xml.in +data/com.manexim.home.desktop.in \ No newline at end of file diff --git a/po/extra/de.po b/po/extra/de.po index 228e439..341283f 100644 --- a/po/extra/de.po +++ b/po/extra/de.po @@ -17,128 +17,128 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Steuern Sie Ihre Smart Home Gadgets" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Eine Smart Home App zur Steuerung Ihrer Gadgets." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Unterstützte Geräte:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Neu:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Verbessert:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Willkommensansicht für Onboarding hinzugefügt" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "Lade-Seite anzeigen, wenn kein Smart Home Gadget gefunden wird." -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Zeige Hersteller und Modell des Gerätes an" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Speichern und laden der Fenstereinstellungen" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Entfernen der Erwähnung von elementary OS in der App-Beschreibung" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "-symbolic an symbolic Icon-Namen angehängt" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Installiere alle verfügbaren Icon-Größen" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Erstveröffentlichung" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" msgstr "" diff --git a/po/extra/es.po b/po/extra/es.po index 51c8ba5..cf87f34 100644 --- a/po/extra/es.po +++ b/po/extra/es.po @@ -18,128 +18,128 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Inicio" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Controla tus dispositivos del hogar inteligente" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Una aplicación de hogar inteligente para controlar sus dispositivos." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Dispositivos soportados:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Nuevo:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "Añadir nueva UI" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "Añadir soporte inicial para los dispositivos Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "Añadir descubrimiento para los bridges de Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "Añadir página para configurar los bridges de Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "Añadir servicio para guardar las configuraciones" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Mejorado:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "Actualización de la vista de bienvenida" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "Agregar el cambio de modo para el tema oscuro si el esquema freedesktop no está disponible" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Corregido:" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "Traducciones:" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "Francés (por NathamBnm)" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "Alemán" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "Ruso (por camellan)" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Agregar vista de bienvenida para el primer inicio" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "Mostrar página de carga si no se encuentra ningún dispositivo inteligente" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Mostrar fabricante y modelo del dispositivo" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Guardar y cargar los ajustes de ventana" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Eliminar la mención a elementary OS en la descripción de la aplicación" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Añadir como sufijo el nombre de los iconos simbólicos con -symbolic" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Instalar todos los tamaños de iconos disponibles" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Lanzamiento inicial" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" msgstr "" diff --git a/po/extra/extra.pot b/po/extra/extra.pot index 74d6b63..64b1249 100644 --- a/po/extra/extra.pot +++ b/po/extra/extra.pot @@ -17,128 +17,128 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" msgstr "" diff --git a/po/extra/fr.po b/po/extra/fr.po index 13175a1..fd90e58 100644 --- a/po/extra/fr.po +++ b/po/extra/fr.po @@ -17,131 +17,131 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Home" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Contrôlez vos objets connectés pour maison intelligente" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "" "Une application pour maison intelligente afin de contrôler vos objets " "connectés" -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Appareils supportés :" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Nouveau :" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Amélioration :" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Corrections :" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Ajout d'un écran de bienvenue à l'ouverture" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "" "Affichage de la page de chargement si aucun objet connecté n'est trouvé" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Affichage des informations du modèle et de l'appareil" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Enregistrement et rechargement des paramètres de la fenêtre" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Suppression de la mention d'elementary OS dans la description" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Ajout du suffixe -symbolic au nom des icônes symboliques" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Installation de toutes les tailles d'icône disponibles" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Version initiale" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "Menxim" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" -msgstr "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" +msgstr "com.manexim.home" diff --git a/po/extra/ja.po b/po/extra/ja.po index f8daac5..b7a5bd0 100644 --- a/po/extra/ja.po +++ b/po/extra/ja.po @@ -18,128 +18,128 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 2.2.3\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Home" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "ホームガジェットを操作します" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "お手持ちのガジェットを操作できる、スマートホームアプリです。" -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "対応しているデバイス:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "Manexim" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" -msgstr "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" +msgstr "com.manexim.home" diff --git a/po/extra/nl.po b/po/extra/nl.po index 3339cd5..369753f 100644 --- a/po/extra/nl.po +++ b/po/extra/nl.po @@ -18,128 +18,128 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: nl\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Home" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Stuur je slimme gadgets aan" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Een slimme toepassing om je slimme gadgets aan te sturen." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Ondersteunde apparaten:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Nieuw:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "Nieuw uiterlijk" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "Initiële ondersteuning voor Philips Hue-apparaten" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "Philips Hue Bridges kunnen nu worden gevonden" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "Pagina toegevoegd om Philips Hue Bridges in te stellen" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "Dienst toegevoegd om instellingen op te slaan" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Verbeterd:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "Welkomstpagina bijgewerkt" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "Donkerethemamodus toegevoegd voor als het freedesktop-schema niet beschikbaar is" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Opgelost:" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "Vertalingen:" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "Franse vertaling, met dank aan @NathanBnm" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "Duits" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "Russische vertaling, met dank aan @camellan" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Welkomstpagina toegevoegd voor onboarding" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "'Bezig met laden'-pagina toegevoegd voor als er geen slimme gadget is aangetroffen" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "De maker van en het type apparaat worden nu getoond" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Vensterinstellingen opslaan en laden" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Vermelding van elementary OS verwijdert uit omschrijving" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Symbolische pictogramnamen eindigen nu op -symbolic" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Alle beschikbare pictogramgroottes worden nu geïnstalleerd" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Initiële uitgave" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "Manexim" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" -msgstr "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" +msgstr "com.manexim.home" diff --git a/po/extra/pl.po b/po/extra/pl.po index dae68f5..38f7fa0 100644 --- a/po/extra/pl.po +++ b/po/extra/pl.po @@ -18,128 +18,128 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "Language: pl_PL\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Home" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Kontroluj twoje urządzenia inteligentnego domu" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Aplikacja do kontrolowania urządzeń inteligentnego domu." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Wspierane urządzenia:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Nowe:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "Dodano nowe UI" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "Dodano wstępne wsparcie dla urządzeń Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "Dodano wykrywanie urządzeń Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "Dodano stronę konfiguracyjną mostków Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "Dodano serwis do zapisywania ustawień" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Poprawiono:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "Zaktualizowano ekran powitalny" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "Dodano przełącznik dla ciemnego motywu jeżeli schemat freedesktop nie jest dostępny" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Naprawiono:" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "Tłumaczenia:" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "Francuski (NathanBnm)" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "Niemiecki" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "Rosyjski (camellan)" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Dodano ekran powitalny dla pierwszego uruchomienia" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "Pokazywanie strony ładowania jeżeli żadne inteligentne urządzenie nie zostało znalezione" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Pokazywanie producenta i modelu urządzenia" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Zapisywanie i ładowanie ustawień okna" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Usunięcie wzmianki o elementary OS w opisie urządzenia" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Dopisanie -symbolic do nazw symbolicznych ikon" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Instalowanie wszystkich dostępnych rozmiarów ikon" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Pierwszy release" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "Manexim" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" -msgstr "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" +msgstr "com.manexim.home" diff --git a/po/extra/pt.po b/po/extra/pt.po index 909cb7e..3479f5d 100644 --- a/po/extra/pt.po +++ b/po/extra/pt.po @@ -18,128 +18,128 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.4.1\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Casa" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Controle seus aparelhos domésticos inteligentes" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Uma aplicação de casa inteligente para controlar os seus aparelhos domésticos." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Dispositivos suportados:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "Philips Hue" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Novo: " -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "Nova interface de utilizador adicionada" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "Suporte inicial para dispositivos Philips Hue adicionado" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "Descoberta para pontes Philips Hue adicionada" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "Página para configurar pontes Philips Hue adicionada" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "Serviço para guardar configurações adicionado" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Melhorado:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "Atualização do painel de boas-vindas" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "Modo para alterar o tema escuro adicionado se o esquema freedesktop não estiver disponível" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Corrigido:" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "Traduções:" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "Francês (pelo NathanBnm)" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "Alemão" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "Russo (pelo camellan)" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Adicionada uma vista de boas vindas ao onboarding" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "Mostrar página de carregamento se não for encontrado nenhum aparelho doméstico inteligente" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Mostrar fabricante e modelo do dispositivo" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Guardar e carregar as configurações da janela" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Remover menção do elementaryOS na descrição da aplicação" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Sufixo nomes de ícones simbólicos com -symbolic" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Instalar todos os tamanhos de ícones disponíveis" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Lançamento inicial" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" msgstr "" diff --git a/po/extra/ru.po b/po/extra/ru.po index 030904d..9eb811d 100644 --- a/po/extra/ru.po +++ b/po/extra/ru.po @@ -19,128 +19,128 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Poedit 2.0.6\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "Home" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Управляйте своими умными домашними устройствами" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Приложение для управления вашими умными устройствами." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Поддерживаемые устройства:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "LIFX" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Новое:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "Улучшено:" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "Исправлено:" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "Add welcome view for onboarding" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "Show loading page if no smart home gadget is found" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "Show manufacturer and model of device" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "Save and load window settings" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "Remove mention of elementary OS in app description" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "Suffix symbolic icon names with -symbolic" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "Install all available icon sizes" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "Initial release" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "Manexim" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" -msgstr "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" +msgstr "com.manexim.home" diff --git a/po/extra/tr.po b/po/extra/tr.po index 8fc6467..13af09b 100644 --- a/po/extra/tr.po +++ b/po/extra/tr.po @@ -18,128 +18,128 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: tr\n" -#: data/com.github.manexim.home.appdata.xml.in:7 -#: data/com.github.manexim.home.desktop.in:4 -#: data/com.github.manexim.home.desktop.in:5 +#: data/com.manexim.home.appdata.xml.in:7 +#: data/com.manexim.home.desktop.in:4 +#: data/com.manexim.home.desktop.in:5 msgid "Home" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:8 -#: data/com.github.manexim.home.desktop.in:6 +#: data/com.manexim.home.appdata.xml.in:8 +#: data/com.manexim.home.desktop.in:6 msgid "Control your smart home gadgets" msgstr "Akıllı ev cihazlarınızı kontrol edin" -#: data/com.github.manexim.home.appdata.xml.in:10 +#: data/com.manexim.home.appdata.xml.in:10 msgid "A smart home application to control your gadgets." msgstr "Cihazlarınızı kontrol etmek için akıllı ev uygulaması." -#: data/com.github.manexim.home.appdata.xml.in:11 +#: data/com.manexim.home.appdata.xml.in:11 msgid "Supported devices:" msgstr "Desteklenen cihazlar:" -#: data/com.github.manexim.home.appdata.xml.in:13 +#: data/com.manexim.home.appdata.xml.in:13 msgid "LIFX" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:14 +#: data/com.manexim.home.appdata.xml.in:14 msgid "Philips Hue" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:26 -#: data/com.github.manexim.home.appdata.xml.in:52 +#: data/com.manexim.home.appdata.xml.in:26 +#: data/com.manexim.home.appdata.xml.in:52 msgid "New:" msgstr "Yeni:" -#: data/com.github.manexim.home.appdata.xml.in:28 +#: data/com.manexim.home.appdata.xml.in:28 msgid "Add new UI" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:29 +#: data/com.manexim.home.appdata.xml.in:29 msgid "Add initial support for Philips Hue devices" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:30 +#: data/com.manexim.home.appdata.xml.in:30 msgid "Add discovery for Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:31 +#: data/com.manexim.home.appdata.xml.in:31 msgid "Add page to configure Philips Hue bridges" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:32 +#: data/com.manexim.home.appdata.xml.in:32 msgid "Add service to save configurations" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:34 -#: data/com.github.manexim.home.appdata.xml.in:58 +#: data/com.manexim.home.appdata.xml.in:34 +#: data/com.manexim.home.appdata.xml.in:58 msgid "Improved:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:36 +#: data/com.manexim.home.appdata.xml.in:36 msgid "Update welcome view" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:37 +#: data/com.manexim.home.appdata.xml.in:37 msgid "Add mode switch for dark theme if freedesktop schema is not available" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:39 -#: data/com.github.manexim.home.appdata.xml.in:62 +#: data/com.manexim.home.appdata.xml.in:39 +#: data/com.manexim.home.appdata.xml.in:62 msgid "Fixed:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:42 +#: data/com.manexim.home.appdata.xml.in:42 msgid "Translations:" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:44 +#: data/com.manexim.home.appdata.xml.in:44 msgid "French (by NathanBnm)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:45 +#: data/com.manexim.home.appdata.xml.in:45 msgid "German" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:46 +#: data/com.manexim.home.appdata.xml.in:46 msgid "Russian (by camellan)" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:54 +#: data/com.manexim.home.appdata.xml.in:54 msgid "Add welcome view for onboarding" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:55 +#: data/com.manexim.home.appdata.xml.in:55 msgid "Show loading page if no smart home gadget is found" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:56 +#: data/com.manexim.home.appdata.xml.in:56 msgid "Show manufacturer and model of device" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:60 +#: data/com.manexim.home.appdata.xml.in:60 msgid "Save and load window settings" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:64 +#: data/com.manexim.home.appdata.xml.in:64 msgid "Remove mention of elementary OS in app description" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:65 +#: data/com.manexim.home.appdata.xml.in:65 msgid "Suffix symbolic icon names with -symbolic" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:66 +#: data/com.manexim.home.appdata.xml.in:66 msgid "Install all available icon sizes" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:72 +#: data/com.manexim.home.appdata.xml.in:72 msgid "Initial release" msgstr "" -#: data/com.github.manexim.home.appdata.xml.in:102 +#: data/com.manexim.home.appdata.xml.in:102 msgid "Manexim" msgstr "" -#: data/com.github.manexim.home.desktop.in:8 -msgid "com.github.manexim.home" +#: data/com.manexim.home.desktop.in:8 +msgid "com.manexim.home" msgstr "" diff --git a/po/fr.po b/po/fr.po index dd4839d..66293b3 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,11 +1,11 @@ -# French translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# French translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # NathanBnm, 2019. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-06-17 22:32+0400\n" diff --git a/po/ja.po b/po/ja.po index ce2af21..f5f4b42 100644 --- a/po/ja.po +++ b/po/ja.po @@ -1,11 +1,11 @@ -# Japanese translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# Japanese translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # Automatically generated, 2019. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-07-10 13:53+0900\n" diff --git a/po/nl.po b/po/nl.po index 121447c..d9a6838 100644 --- a/po/nl.po +++ b/po/nl.po @@ -1,11 +1,11 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# This file is distributed under the same license as the com.manexim.home package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-11-04 14:15+0100\n" diff --git a/po/pl.po b/po/pl.po index e4fc01d..d7abe54 100644 --- a/po/pl.po +++ b/po/pl.po @@ -1,11 +1,11 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# This file is distributed under the same license as the com.manexim.home package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-07-18 20:54+0200\n" diff --git a/po/pt.po b/po/pt.po index 6d98dbb..d1928d5 100644 --- a/po/pt.po +++ b/po/pt.po @@ -1,11 +1,11 @@ -# Portuguese translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# Portuguese translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # Automatically generated, 2019. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-15 12:36+0200\n" "PO-Revision-Date: 2020-08-26 13:57+0100\n" diff --git a/po/ru.po b/po/ru.po index caf5fe7..9141b32 100644 --- a/po/ru.po +++ b/po/ru.po @@ -1,11 +1,11 @@ -# Russian translations for com.github.manexim.home package. -# Copyright (C) 2019 THE com.github.manexim.home'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# Russian translations for com.manexim.home package. +# Copyright (C) 2019 THE com.manexim.home'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.manexim.home package. # Automatically generated, 2019. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-07-09 13:00+0400\n" diff --git a/po/tr.po b/po/tr.po index c4b8f96..662343c 100644 --- a/po/tr.po +++ b/po/tr.po @@ -1,11 +1,11 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the com.github.manexim.home package. +# This file is distributed under the same license as the com.manexim.home package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" -"Project-Id-Version: com.github.manexim.home\n" +"Project-Id-Version: com.manexim.home\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-11 19:55+0200\n" "PO-Revision-Date: 2019-11-05 10:35+0300\n" diff --git a/src/Application.vala b/src/Application.vala index c2485cc..99ba340 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -24,12 +24,32 @@ public class Application : Granite.Application { public Application () { Object ( - application_id: Config.APP_ID, + application_id: Constants.APP_ID, flags: ApplicationFlags.FLAGS_NONE ); } + construct { + Intl.setlocale (LocaleCategory.ALL, ""); + Intl.bindtextdomain (Constants.GETTEXT_PACKAGE, Constants.LOCALEDIR); + Intl.bind_textdomain_codeset (Constants.GETTEXT_PACKAGE, "UTF-8"); + Intl.textdomain (Constants.GETTEXT_PACKAGE); + } + protected override void activate () { + var granite_settings = Granite.Settings.get_default (); + var gtk_settings = Gtk.Settings.get_default (); + + gtk_settings.gtk_application_prefer_dark_theme = ( + granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK + ); + + granite_settings.notify["prefers-color-scheme"].connect (() => { + gtk_settings.gtk_application_prefer_dark_theme = ( + granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK + ); + }); + window = new MainWindow (this); window.show_all (); diff --git a/src/config/Constants.vala b/src/Constants.vala.in similarity index 71% rename from src/config/Constants.vala rename to src/Constants.vala.in index 1ebc517..83ef9f8 100644 --- a/src/config/Constants.vala +++ b/src/Constants.vala.in @@ -19,9 +19,12 @@ * Authored by: Marius Meisenzahl */ -namespace Config { - public const string APP_ID = "com.github.manexim.home"; - public const string APP_AUTHOR = "Manexim"; - public const string APP_NAME = "Home"; - public const string APP_VERSION = "0.5.0"; +namespace Constants { + private const string APP_ID = "@APP_ID@"; + private const string APP_AUTHOR = "Manexim"; + private const string APP_NAME = "Home"; + private const string APP_VERSION = "@APP_VERSION@"; + + private const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@"; + private const string LOCALEDIR = "@LOCALEDIR@"; } diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 35edb63..1d62b94 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -19,7 +19,7 @@ * Authored by: Marius Meisenzahl */ -public class MainWindow : Gtk.ApplicationWindow { +public class MainWindow : Hdy.Window { private static MainWindow? instance; private Settings settings; private Gtk.Stack stack; @@ -37,37 +37,26 @@ public class MainWindow : Gtk.ApplicationWindow { settings = Settings.get_default (); load_settings (); - var headerbar = new Gtk.HeaderBar (); - headerbar.get_style_context ().add_class (Gtk.STYLE_CLASS_FLAT); - headerbar.show_close_button = true; + var headerbar = new Hdy.HeaderBar () { + decoration_layout = "close:", + show_close_button = true, + title = Constants.APP_NAME + }; return_button = new Gtk.Button (); return_button.no_show_all = true; return_button.valign = Gtk.Align.CENTER; - return_button.get_style_context ().add_class ("back-button"); + return_button.get_style_context ().add_class (Granite.STYLE_CLASS_BACK_BUTTON); return_button.clicked.connect (go_back); headerbar.pack_start (return_button); - if (!settings.is_freedesktop_prefers_color_scheme_available ()) { - var gtk_settings = Gtk.Settings.get_default (); - - var mode_switch = new Granite.ModeSwitch.from_icon_name ( - "display-brightness-symbolic", - "weather-clear-night-symbolic" - ); - mode_switch.primary_icon_tooltip_text = _("Light background"); - mode_switch.secondary_icon_tooltip_text = _("Dark background"); - mode_switch.valign = Gtk.Align.CENTER; - mode_switch.bind_property ("active", gtk_settings, "gtk_application_prefer_dark_theme"); - settings.bind ("prefer-dark-style", mode_switch, "active", GLib.SettingsBindFlags.DEFAULT); - headerbar.pack_end (mode_switch); - } + overlay = Widgets.Overlay.instance; - set_titlebar (headerbar); - title = Config.APP_NAME; + var main_layout = new Gtk.Grid (); + main_layout.attach (headerbar, 0, 0); + main_layout.attach (overlay, 0, 1); - overlay = Widgets.Overlay.instance; - add (overlay); + add (main_layout); stack = new Gtk.Stack (); overlay.add (stack); @@ -92,6 +81,10 @@ public class MainWindow : Gtk.ApplicationWindow { }); } + construct { + Hdy.init (); + } + public static MainWindow get_default () { return instance; } diff --git a/src/lifx/Lamp.vala b/src/lifx/Lamp.vala index 1c83278..c229f80 100644 --- a/src/lifx/Lamp.vala +++ b/src/lifx/Lamp.vala @@ -21,7 +21,7 @@ public class Lifx.Lamp : Models.Lamp { public Lamp () { - default_icon = "com.github.manexim.home.icon.lightbulb.lifx-symbolic"; + default_icon = "com.manexim.home.icon.lightbulb.lifx-symbolic"; manufacturer = "LIFX"; supports_brightness = true; diff --git a/src/meson.build b/src/meson.build index f49fff9..23475ba 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,7 +1,18 @@ +config_data = configuration_data() +config_data.set('APP_ID', meson.project_name()) +config_data.set('APP_VERSION', meson.project_version()) +config_data.set('GETTEXT_PACKAGE', meson.project_name()) +config_data.set('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) + +config_file = configure_file( + input: 'Constants.vala.in', + output: '@BASENAME@', + configuration: config_data +) + sources = [ 'colors/HSB.vala', 'colors/RGB.vala', - 'config/Constants.vala', 'controllers/DeviceController.vala', 'controllers/DevicesController.vala', 'lifx/Controller.vala', @@ -39,7 +50,8 @@ sources = [ 'widgets/ColorPicker.vala', 'widgets/IconPopover.vala', 'widgets/Overlay.vala', - 'MainWindow.vala' + 'MainWindow.vala', + config_file, ] executable( @@ -49,6 +61,7 @@ executable( dependencies: [ gtk_plus_3_dep, json_glib_1_dep, + libhandy_dep, posix_dep, gee_dep, granite_dep, @@ -70,6 +83,7 @@ foreach test_name : tests dependencies: [ gtk_plus_3_dep, json_glib_1_dep, + libhandy_dep, posix_dep, gee_dep, granite_dep, diff --git a/src/models/Lamp.vala b/src/models/Lamp.vala index 7ac4b9e..8c0f744 100644 --- a/src/models/Lamp.vala +++ b/src/models/Lamp.vala @@ -21,7 +21,7 @@ public class Models.Lamp : Models.Device { public Lamp () { - default_icon = "com.github.manexim.home.icon.lightbulb-symbolic"; + default_icon = "com.manexim.home.icon.lightbulb-symbolic"; } public bool supports_brightness { diff --git a/src/models/Thing.vala b/src/models/Thing.vala index 4933d83..4cce0ea 100644 --- a/src/models/Thing.vala +++ b/src/models/Thing.vala @@ -24,7 +24,7 @@ public class Models.Thing : Object { public Thing () { _obj = new Json.Object (); - default_icon = "com.github.manexim.home.icon.thing-symbolic"; + default_icon = "com.manexim.home.icon.thing-symbolic"; } public Thing.from_object (Json.Object object) { diff --git a/src/onboarding/LIFXView.vala b/src/onboarding/LIFXView.vala index 9ed127f..cf1af05 100644 --- a/src/onboarding/LIFXView.vala +++ b/src/onboarding/LIFXView.vala @@ -23,7 +23,7 @@ public class Onboarding.LIFXView : Onboarding.AbstractOnboardingView { public LIFXView () { Object ( description: _("Smart Wi-Fi lights by LIFX are supported. They must already be connected to your Wi-Fi."), - icon_name: "com.github.manexim.home.logo.lifx-symbolic", + icon_name: "com.manexim.home.logo.lifx-symbolic", title: "LIFX" ); } diff --git a/src/onboarding/PhilipsHueView.vala b/src/onboarding/PhilipsHueView.vala index 491e606..4318c03 100644 --- a/src/onboarding/PhilipsHueView.vala +++ b/src/onboarding/PhilipsHueView.vala @@ -23,7 +23,7 @@ public class Onboarding.PhilipsHueView : Onboarding.AbstractOnboardingView { public PhilipsHueView () { Object ( description: _("Smart ZigBee lights by Philips Hue are supported. They must already be connected to your Philips Hue Bridge."), - icon_name: "com.github.manexim.home.logo.philips.hue-symbolic", + icon_name: "com.manexim.home.logo.philips.hue-symbolic", title: "Philips Hue" ); } diff --git a/src/onboarding/StartView.vala b/src/onboarding/StartView.vala index fc3e151..890d108 100644 --- a/src/onboarding/StartView.vala +++ b/src/onboarding/StartView.vala @@ -23,8 +23,8 @@ public class Onboarding.StartView : Onboarding.AbstractOnboardingView { public StartView () { Object ( description: _("Control your smart home gadgets"), - icon_name: "com.github.manexim.home", - title: _("Welcome to %s!").printf (Config.APP_AUTHOR + " " + Config.APP_NAME) + icon_name: "com.manexim.home", + title: _("Welcome to %s!").printf (Constants.APP_AUTHOR + " " + Constants.APP_NAME) ); } } diff --git a/src/pages/AbstractDevicePage.vala b/src/pages/AbstractDevicePage.vala index 68976ff..cafc90c 100644 --- a/src/pages/AbstractDevicePage.vala +++ b/src/pages/AbstractDevicePage.vala @@ -86,7 +86,7 @@ public abstract class Pages.AbstractDevicePage : Granite.SettingsPage { title_label = new Gtk.Label (title); title_label.ellipsize = Pango.EllipsizeMode.END; title_label.xalign = 0; - title_label.get_style_context ().add_class ("h2"); + title_label.get_style_context ().add_class (Granite.STYLE_CLASS_H2_LABEL); var header_area = new Gtk.Grid (); header_area.column_spacing = 12; diff --git a/src/pages/DevicePage.vala b/src/pages/DevicePage.vala index ffff36a..c13e6d9 100644 --- a/src/pages/DevicePage.vala +++ b/src/pages/DevicePage.vala @@ -145,13 +145,13 @@ public class Pages.DevicePage : Pages.AbstractDevicePage { #if DEMO_MODE hue_scale.adjustment.value = hue; - lamp.hue = hue_scale.adjustment.value; + lamp.hue = (uint16) hue_scale.adjustment.value; saturation_scale.adjustment.value = saturation; - lamp.saturation = saturation_scale.adjustment.value; + lamp.saturation = (uint16) saturation_scale.adjustment.value; brightness_scale.adjustment.value = brightness; - lamp.brightness = brightness_scale.adjustment.value; + lamp.brightness = (uint16) brightness_scale.adjustment.value; #else controller.switch_hsb (hue, saturation, brightness); diff --git a/src/pages/HueBridgeOnboardingPage.vala b/src/pages/HueBridgeOnboardingPage.vala index 1e1dba7..d18675e 100644 --- a/src/pages/HueBridgeOnboardingPage.vala +++ b/src/pages/HueBridgeOnboardingPage.vala @@ -32,7 +32,7 @@ public class Pages.HueBridgeOnboardingPage : Gtk.Grid { row_spacing = 16; var icon = new Gtk.Image (); - icon.gicon = new ThemedIcon ("com.github.manexim.home.bridge.philips.hue-symbolic"); + icon.gicon = new ThemedIcon ("com.manexim.home.icon.bridge.philips.hue-symbolic"); icon.pixel_size = 256; label = new Gtk.Label (_("Press the push-link button in the middle of the Hue bridge.")); diff --git a/src/philips/hue/Bridge.vala b/src/philips/hue/Bridge.vala index e56999d..b0caf7d 100644 --- a/src/philips/hue/Bridge.vala +++ b/src/philips/hue/Bridge.vala @@ -21,7 +21,7 @@ public class Philips.Hue.Bridge : Models.Device { public Bridge () { - default_icon = "com.github.manexim.home.icon.bridge.philips.hue-symbolic"; + default_icon = "com.manexim.home.icon.bridge.philips.hue-symbolic"; manufacturer = "Philips"; power = Types.Power.WARNING; } diff --git a/src/philips/hue/BridgeController.vala b/src/philips/hue/BridgeController.vala index a58917f..1723019 100644 --- a/src/philips/hue/BridgeController.vala +++ b/src/philips/hue/BridgeController.vala @@ -138,7 +138,7 @@ public class Philips.Hue.BridgeController { var root = new Json.Node (Json.NodeType.OBJECT); var object = new Json.Object (); - object.set_string_member ("devicetype", "com.github.manexim.home"); + object.set_string_member ("devicetype", "com.manexim.home"); root.set_object (object); gen.set_root (root); diff --git a/src/philips/hue/Lamp.vala b/src/philips/hue/Lamp.vala index b88f24c..03929d3 100644 --- a/src/philips/hue/Lamp.vala +++ b/src/philips/hue/Lamp.vala @@ -23,7 +23,7 @@ public class Philips.Hue.Lamp : Models.Lamp { public Philips.Hue.Bridge bridge; public Lamp () { - default_icon = "com.github.manexim.home.icon.lightbulb.philips.hue-symbolic"; + default_icon = "com.manexim.home.icon.lightbulb.philips.hue-symbolic"; manufacturer = "Philips"; brightness_min = 0; diff --git a/src/services/Settings.vala b/src/services/Settings.vala index 52f057a..eab3d3d 100644 --- a/src/services/Settings.vala +++ b/src/services/Settings.vala @@ -41,7 +41,7 @@ public class Settings : Granite.Services.Settings { public bool window_maximized { get; set; } private Settings () { - base ("com.github.manexim.home"); + base ("com.manexim.home"); if (uuid == null || uuid == "") { uint8[] uu = new uint8[16]; @@ -114,7 +114,7 @@ public class Settings : Granite.Services.Settings { return; #endif - last_started_app_version = Config.APP_VERSION; + last_started_app_version = Constants.APP_VERSION; var philips_hue_service = Philips.Hue.Service.instance; diff --git a/src/widgets/IconPopover.vala b/src/widgets/IconPopover.vala index f514690..5f97945 100644 --- a/src/widgets/IconPopover.vala +++ b/src/widgets/IconPopover.vala @@ -38,7 +38,7 @@ public class Widgets.IconPopover : Gtk.Popover { var icon_theme = Gtk.IconTheme.get_default (); icon_theme.list_icons ("Applications").@foreach ((name) => { - if (name.has_prefix ("com.github.manexim.home.icon")) { + if (name.has_prefix ("com.manexim.home.icon")) { icons.add (name); } });