[-]
[+]
|
Changed |
_service:tar_git:openrepos-swissclock.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,6 +2,6 @@
<service name="tar_git">
<param name="url">https://github.com/monich/harbour-swissclock.git</param>
<param name="branch">master</param>
- <param name="revision">b0ba0e4</param>
+ <param name="revision">ac13428</param>
</service>
-</services>
+</services>
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:openrepos-swissclock-1.0.9.tar.bz2/harbour-swissclock.desktop
^
|
@@ -5,3 +5,6 @@
#Name[ru]=Часики
Icon=harbour-swissclock
Exec=harbour-swissclock
+
+[X-HarbourBackup]
+BackupConfigList=/apps/harbour-swissclock/
|
[-]
[+]
|
Changed |
_service:tar_git:openrepos-swissclock-1.0.9.tar.bz2/harbour-swissclock.pro
^
|
@@ -105,12 +105,11 @@
$${_PRO_FILE_PWD_}/settings
defineTest(addTrFile) {
- rel = translations/$${1}
- OTHER_FILES += $${rel}.ts
- export(OTHER_FILES)
+ in = $${_PRO_FILE_PWD_}/translations/harbour-$$1
+ out = $${OUT_PWD}/translations/$${PREFIX}-$$1
- in = $${_PRO_FILE_PWD_}/$$rel
- out = $${OUT_PWD}/$$rel
+ OTHER_FILES += translations/harbour-$${1}.ts
+ export(OTHER_FILES)
s = $$replace(1,-,_)
lupdate_target = lupdate_$$s
@@ -136,11 +135,11 @@
export(INSTALLS)
}
-LANGUAGES = hu nl ru
+LANGUAGES = hu nl ru sv
-addTrFile($${TARGET})
+addTrFile($${NAME})
for(l, LANGUAGES) {
- addTrFile($${TARGET}-$$l)
+ addTrFile($${NAME}-$$l)
}
qm.path = $$TRANSLATIONS_PATH
|
[-]
[+]
|
Changed |
_service:tar_git:openrepos-swissclock-1.0.9.tar.bz2/settings/settings.qml
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2016 Jolla Ltd.
- * Contact: Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2016-2019 Jolla Ltd.
+ * Copyright (C) 2016-2019 Slava Monich <slava@monich.com>
*
* You may use this file under the terms of the BSD license as follows:
*
@@ -8,15 +8,15 @@
* modification, are permitted provided that the following conditions
* are met:
*
- * - Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * - Neither the name of Jolla Ltd nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -38,6 +38,10 @@
Page {
readonly property string rootPath: "/apps/" + appName() + "/"
+ // jolla-settings expects these properties:
+ property var applicationName
+ property var applicationIcon
+
// Deduce package name from the path
function appName() {
var parts = Qt.resolvedUrl("dummy").split('/')
|
[-]
[+]
|
Added |
_service:tar_git:openrepos-swissclock-1.0.9.tar.bz2/translations/harbour-swissclock-sv.ts
^
|
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="sv">
+<context>
+ <name></name>
+ <message id="swissclock-title-swiss_railroad">
+ <source>Swiss railroad</source>
+ <extracomment>Label for Swiss raiload clock style</extracomment>
+ <translation>Swiss railroad</translation>
+ </message>
+ <message id="swissclock-title-helsinki_metro">
+ <source>Helsinki metro</source>
+ <extracomment>Label for Helsinki metro clock style</extracomment>
+ <translation>Helsinki metro</translation>
+ </message>
+ <message id="swissclock-title-deutsche_bahn">
+ <source>Deutsche Bahn</source>
+ <extracomment>Label for Deutsche Bahn clock style</extracomment>
+ <translation>Deutsche Bahn</translation>
+ </message>
+ <message id="swissclock-settings-page_header">
+ <source>Swiss Clock</source>
+ <extracomment>Settings page header</extracomment>
+ <translation>Swiss Clock</translation>
+ </message>
+ <message id="swissclock-settings-dial_plate">
+ <source>Dial plate</source>
+ <extracomment>Combo box label</extracomment>
+ <translation>Urtavla</translation>
+ </message>
+ <message id="swissclock-settings-dial_plate-description">
+ <source>You can also switch between light and dark backgrounds by double-tapping the dial plate</source>
+ <extracomment>Combo box description</extracomment>
+ <translation>Du kan också växla mellan ljus och mörk bakgrund genom dubbelknack på urtavlan</translation>
+ </message>
+ <message id="swissclock-settings-dial_plate-value-light">
+ <source>Light</source>
+ <extracomment>Combo box value for the normal (light) dial plate</extracomment>
+ <translation>Ljus</translation>
+ </message>
+ <message id="swissclock-settings-dial_plate-value-dark">
+ <source>Dark</source>
+ <extracomment>Combo box value for inverted (dark) dial plate</extracomment>
+ <translation>Mörk</translation>
+ </message>
+ <message id="swissclock-settings-orientation_label">
+ <source>Orientation</source>
+ <extracomment>Combo box label</extracomment>
+ <translation>Orientering</translation>
+ </message>
+ <message id="swissclock-settings-orientation-primary">
+ <source>Primary</source>
+ <extracomment>Combo box value for primary orientation</extracomment>
+ <translation>Primär</translation>
+ </message>
+ <message id="swissclock-settings-orientation-portrait">
+ <source>Portrait</source>
+ <extracomment>Combo box value for portrait orientation</extracomment>
+ <translation>Stående</translation>
+ </message>
+ <message id="swissclock-settings-orientation-landscape">
+ <source>Landscape</source>
+ <extracomment>Combo box value for landscape orientation</extracomment>
+ <translation>Liggande</translation>
+ </message>
+ <message id="swissclock-settings-orientation-dynamic">
+ <source>Dynamic</source>
+ <extracomment>Combo box value for dynamic orientation</extracomment>
+ <translation>Dynamisk</translation>
+ </message>
+ <message id="swissclock-settings-orientation-allow_inverted">
+ <source>Allow inverted orientation</source>
+ <extracomment>Text switch label</extracomment>
+ <translation>Tillåt omvänd orientering</translation>
+ </message>
+ <message id="swissclock-settings-orientation-allow_inverted-description">
+ <source>If enabled, allows both primary and inverted landscape or portrait oprientations</source>
+ <extracomment>Text switch description</extracomment>
+ <translation>Vid aktivering, tillåts både primär och omvänd liggande eller stående orientering.</translation>
+ </message>
+</context>
+</TS>
|