Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang: align language names with transifex #43

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ qt_add_translations(LibreELEC.USB-SD.Creator
lang/lang-pt_PT.ts
lang/lang-ru_RU.ts
lang/lang-sk_SK.ts
lang/lang-sl_SI.ts
lang/lang-sl_SL.ts
lang/lang-sr_RS.ts
lang/lang-sv_SE.ts
lang/lang-tr_TR.ts
Expand Down
346 changes: 173 additions & 173 deletions creator.pro
Original file line number Diff line number Diff line change
@@ -1,173 +1,173 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2013-2015 RasPlex project
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
#-------------------------------------------------
#
# Project created by QtCreator 2013-03-14T18:13:26
#
#-------------------------------------------------
QT += core gui network widgets
TARGET = LibreELEC.USB-SD.Creator
TEMPLATE = app
SOURCES += main.cpp \
creator.cpp \
diskwriter.cpp \
jsonparser.cpp \
movingaverage.cpp \
downloadmanager.cpp \
translator.cpp
HEADERS += creator.h \
diskwriter.h \
jsonparser.h \
movingaverage.h \
downloadmanager.h \
deviceenumerator.h \
translator.h
MOC_DIR = .generated_files
OBJECTS_DIR = .generated_files
# hide the full g++ command line and print only filename
CONFIG += silent
TRANSLATIONS += lang/lang-ast_ES.ts \
lang/lang-bg_BG.ts \
lang/lang-cs_CZ.ts \
lang/lang-da_DK.ts \
lang/lang-de_DE.ts \
lang/lang-el_GR.ts \
lang/lang-en_GB.ts \
lang/lang-es_ES.ts \
lang/lang-fa_IR.ts \
lang/lang-fi_FI.ts \
lang/lang-fr_FR.ts \
lang/lang-he_IL.ts \
lang/lang-hr_HR.ts \
lang/lang-hu_HU.ts \
lang/lang-it_IT.ts \
lang/lang-lt_LT.ts \
lang/lang-nl_NL.ts \
lang/lang-no_NO.ts \
lang/lang-pl_PL.ts \
lang/lang-pt_BR.ts \
lang/lang-pt_PT.ts \
lang/lang-ru_RU.ts \
lang/lang-sk_SK.ts \
lang/lang-sl_SI.ts \
lang/lang-sr_RS.ts \
lang/lang-sv_SE.ts \
lang/lang-tr_TR.ts \
lang/lang-uk_UA.ts \
lang/lang-zh_CN.ts
static { # everything below takes effect with CONFIG += static
CONFIG += static
CONFIG += staticlib # this is needed if you create a static library, not a static executable
message("~~~ static build ~~~") # this is for information, that the static build is done
}
win32 {
# add suffix
TARGET = LibreELEC.USB-SD.Creator.Win32
SOURCES += diskwriter_windows.cpp \
deviceenumerator_windows.cpp
HEADERS += diskwriter_windows.h \
deviceenumerator_windows.h \
privileges.h
CONFIG += rtti
QMAKE_LFLAGS = -static -static-libgcc
RC_FILE = winapp.rc
# remove possible other optimization flags
QMAKE_CXXFLAGS_RELEASE -= -O
QMAKE_CXXFLAGS_RELEASE -= -O1
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE -= -O3
# Optimize for size
QMAKE_CXXFLAGS_RELEASE += -Os
QMAKE_CXXFLAGS = -Ic:\Qt\Qt5.6.1\Tools\mingw492_32\i686-w64-mingw32\include
# write image to local file named 'dummy_image_file'
# instead to real device (for testing)
#DEFINES += WINDOWS_DUMMY_WRITE
}
unix {
# remove possible other optimization flags
QMAKE_CFLAGS_RELEASE -= -O
QMAKE_CFLAGS_RELEASE -= -O1
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE -= -O3
# Optimize for size
QMAKE_CFLAGS_RELEASE += -Os
QMAKE_CXXFLAGS += -fPIC
contains(QT_ARCH, i386) {
# link with i386 library manualy unpacked
QMAKE_LFLAGS += -L$(HOME)/Qt5.6.1/ubuntu-i386-lib/usr/lib/i386-linux-gnu
QMAKE_RPATHLINKDIR += $$(HOME)/Qt5.6.1/ubuntu-i386-lib/lib/i386-linux-gnu
}
SOURCES += diskwriter_unix.cpp \
deviceenumerator_unix.cpp \
privileges_unix.cpp
HEADERS += diskwriter_unix.h \
deviceenumerator_unix.h \
privileges_unix.h
}
macx {
# use spaces on macOS
TARGET = "LibreELEC USB-SD Creator"
QMAKE_INFO_PLIST = dmg_osx/template.app/Contents/Info.plist
#QT_CONFIG -= no-pkg-config
#CONFIG += link_pkgconfig
# same thing
#QMAKE_POST_LINK += install_name_tool -add_rpath @executable_path/../Frameworks \"LibreELEC USB-SD Creator.app/Contents/MacOS/LibreELEC USB-SD Creator\"
}
linux* {
# manually add suffix 32/64
TARGET = LibreELEC.USB-SD.Creator.Linux-bit.bin
QMAKE_CXXFLAGS += -std=c++11
LIBS += -lblkid
}
FORMS += creator.ui
LIBS += -lz
OTHER_FILES +=
RESOURCES += resources.qrc
CONFIG(debug, debug|release): DEFINES += ALWAYS_DEBUG_OUTPUT
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2013-2015 RasPlex project
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################

#-------------------------------------------------
#
# Project created by QtCreator 2013-03-14T18:13:26
#
#-------------------------------------------------

QT += core gui network widgets

TARGET = LibreELEC.USB-SD.Creator
TEMPLATE = app

SOURCES += main.cpp \
creator.cpp \
diskwriter.cpp \
jsonparser.cpp \
movingaverage.cpp \
downloadmanager.cpp \
translator.cpp

HEADERS += creator.h \
diskwriter.h \
jsonparser.h \
movingaverage.h \
downloadmanager.h \
deviceenumerator.h \
translator.h

MOC_DIR = .generated_files
OBJECTS_DIR = .generated_files

# hide the full g++ command line and print only filename
CONFIG += silent

TRANSLATIONS += lang/lang-ast_ES.ts \
lang/lang-bg_BG.ts \
lang/lang-cs_CZ.ts \
lang/lang-da_DK.ts \
lang/lang-de_DE.ts \
lang/lang-el_GR.ts \
lang/lang-en_GB.ts \
lang/lang-es_ES.ts \
lang/lang-fa_IR.ts \
lang/lang-fi_FI.ts \
lang/lang-fr_FR.ts \
lang/lang-he_IL.ts \
lang/lang-hr_HR.ts \
lang/lang-hu_HU.ts \
lang/lang-it_IT.ts \
lang/lang-lt_LT.ts \
lang/lang-nl_NL.ts \
lang/lang-no_NO.ts \
lang/lang-pl_PL.ts \
lang/lang-pt_BR.ts \
lang/lang-pt_PT.ts \
lang/lang-ru_RU.ts \
lang/lang-sk_SK.ts \
lang/lang-sl_SL.ts \
lang/lang-sr_RS.ts \
lang/lang-sv_SE.ts \
lang/lang-tr_TR.ts \
lang/lang-uk_UA.ts \
lang/lang-zh_CN.ts

static { # everything below takes effect with CONFIG += static
CONFIG += static
CONFIG += staticlib # this is needed if you create a static library, not a static executable
message("~~~ static build ~~~") # this is for information, that the static build is done
}

win32 {
# add suffix
TARGET = LibreELEC.USB-SD.Creator.Win32

SOURCES += diskwriter_windows.cpp \
deviceenumerator_windows.cpp

HEADERS += diskwriter_windows.h \
deviceenumerator_windows.h \
privileges.h

CONFIG += rtti
QMAKE_LFLAGS = -static -static-libgcc
RC_FILE = winapp.rc

# remove possible other optimization flags
QMAKE_CXXFLAGS_RELEASE -= -O
QMAKE_CXXFLAGS_RELEASE -= -O1
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE -= -O3
# Optimize for size
QMAKE_CXXFLAGS_RELEASE += -Os

QMAKE_CXXFLAGS = -Ic:\Qt\Qt5.6.1\Tools\mingw492_32\i686-w64-mingw32\include

# write image to local file named 'dummy_image_file'
# instead to real device (for testing)
#DEFINES += WINDOWS_DUMMY_WRITE
}

unix {
# remove possible other optimization flags
QMAKE_CFLAGS_RELEASE -= -O
QMAKE_CFLAGS_RELEASE -= -O1
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE -= -O3
# Optimize for size
QMAKE_CFLAGS_RELEASE += -Os

QMAKE_CXXFLAGS += -fPIC

contains(QT_ARCH, i386) {
# link with i386 library manualy unpacked
QMAKE_LFLAGS += -L$(HOME)/Qt5.6.1/ubuntu-i386-lib/usr/lib/i386-linux-gnu
QMAKE_RPATHLINKDIR += $$(HOME)/Qt5.6.1/ubuntu-i386-lib/lib/i386-linux-gnu
}

SOURCES += diskwriter_unix.cpp \
deviceenumerator_unix.cpp \
privileges_unix.cpp

HEADERS += diskwriter_unix.h \
deviceenumerator_unix.h \
privileges_unix.h
}

macx {
# use spaces on macOS
TARGET = "LibreELEC USB-SD Creator"

QMAKE_INFO_PLIST = dmg_osx/template.app/Contents/Info.plist
#QT_CONFIG -= no-pkg-config
#CONFIG += link_pkgconfig
# same thing
#QMAKE_POST_LINK += install_name_tool -add_rpath @executable_path/../Frameworks \"LibreELEC USB-SD Creator.app/Contents/MacOS/LibreELEC USB-SD Creator\"
}

linux* {
# manually add suffix 32/64
TARGET = LibreELEC.USB-SD.Creator.Linux-bit.bin

QMAKE_CXXFLAGS += -std=c++11

LIBS += -lblkid
}

FORMS += creator.ui

LIBS += -lz

OTHER_FILES +=

RESOURCES += resources.qrc

CONFIG(debug, debug|release): DEFINES += ALWAYS_DEBUG_OUTPUT
File renamed without changes
2 changes: 1 addition & 1 deletion lang/lang-ast_ES.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es_ES">
<TS version="2.1" language="ast_ES">
<context>
<name>Creator</name>
<message>
Expand Down
2 changes: 1 addition & 1 deletion lang/lang-cs_CZ.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="cs_CZ">
<context>
<name>Creator</name>
<message>
Expand Down
2 changes: 1 addition & 1 deletion lang/lang-da_DK.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="da_DK">
<context>
<name>Creator</name>
<message>
Expand Down
2 changes: 1 addition & 1 deletion lang/lang-el_GR.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="el_GR">
<context>
<name>Creator</name>
<message>
Expand Down
2 changes: 1 addition & 1 deletion lang/lang-en_GB.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="en_GB">
<context>
<name>Creator</name>
<message>
Expand Down
Loading