Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Update copyright year
Browse files Browse the repository at this point in the history
Close #185
  • Loading branch information
ColinDuquesnoy committed Jan 7, 2018
1 parent 9048316 commit 433c37c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/imports/MellowPlayer/Dialogs/AboutDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Popup {
}

Label {
text: qsTr("Copyright 2014-2017 Colin Duquesnoy")
text: qsTr("Copyright 2014-2018 Colin Duquesnoy")

Layout.alignment: Qt.AlignCenter
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ include_directories(SYSTEM ../../3rdparty)
# Translation files
file(GLOB_RECURSE TS_FILES languages/*.ts)
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/languages)
if (UPDATE_TRANSLATIONS)
#if (UPDATE_TRANSLATIONS)
message(STATUS "Update translations")
# update source only, pushing to transifex will update all other languages
set(TRANSLATION_DIRS ${CMAKE_SOURCE_DIR}/src/lib ${CMAKE_SOURCE_DIR}/src/imports)
qt5_create_translation(QM_FILES ${TRANSLATION_DIRS} languages/MellowPlayer_en.ts OPTIONS -noobsolete)
file(GLOB_RECURSE QM_FILES languages/*.qm)
else()
qt5_add_translation(QM_FILES ${TS_FILES})
endif()
#else()
# qt5_add_translation(QM_FILES ${TS_FILES})
#endif()
qt5_add_resources(RSCS languages/languages.qrc)
add_custom_target(gen_qrc DEPENDS ${RSCS} ${QM_FILES} ${TS_FILES})
add_custom_target(translations DEPENDS ${QM_FILES} ${TS_FILES})
Expand Down
Binary file modified src/main/languages/MellowPlayer_en.qm
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/languages/MellowPlayer_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
</message>
<message>
<location filename="../../imports/MellowPlayer/Dialogs/AboutDialog.qml" line="75"/>
<source>Copyright 2014-2017 Colin Duquesnoy</source>
<translation></translation>
<source>Copyright 2014-2018 Colin Duquesnoy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../imports/MellowPlayer/Dialogs/AboutDialog.qml" line="87"/>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/plex/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//
//-----------------------------------------------------------------------------
// Based in part on utils.js of Nuvolaruntime, which is:
// Copyright 2014-2017 Jiří Janoušek <[email protected]> under the terms of BSD-2:
// Copyright 2014-2018 Jiří Janoušek <[email protected]> under the terms of BSD-2:
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice, this list of
Expand Down

0 comments on commit 433c37c

Please sign in to comment.