diff options
-rw-r--r-- | ConfigureChecks.cmake | 23 | ||||
-rw-r--r-- | amarok/src/metadata/rmff/rmff.cpp | 9 | ||||
-rw-r--r-- | config.h.cmake | 1 | ||||
-rw-r--r-- | translations/messages/ka.po | 17 | ||||
-rw-r--r-- | translations/messages/nl.po | 30 | ||||
-rw-r--r-- | translations/messages/zh_CN.po | 14 |
6 files changed, 66 insertions, 28 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 8d0f1fc9..fd362b04 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -109,6 +109,29 @@ else( ) tde_message_fatal( "taglib is required, but not found on your system" ) endif( ) +tde_save_and_set( CMAKE_REQUIRED_DEFINITIONS "${LARGEFILES_DEFINITIONS}" ) +tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${TAGLIB_INCLUDE_DIRS}" ) +tde_save_and_set( CMAKE_REQUIRED_LIBRARIES "${TAGLIB_LIBRARIES}" ) + +check_cxx_source_compiles( " + #include <taglib.h> + #include <id3v1tag.h> + + int main( int, char** ) + { + off_t tagOffset = 0; + TagLib::File *testFile = nullptr; + TagLib::ID3v1::Tag *id3tag = new TagLib::ID3v1::Tag(testFile, tagOffset); + return 0; + } + " + TAGLIB_LARGE_FILES_SUPPORT +) + +tde_restore( CMAKE_REQUIRED_DEFINITIONS ) +tde_restore( CMAKE_REQUIRED_INCLUDES ) +tde_restore( CMAKE_REQUIRED_LIBRARIES ) + # libvisual if( WITH_LIBVISUAL ) diff --git a/amarok/src/metadata/rmff/rmff.cpp b/amarok/src/metadata/rmff/rmff.cpp index 943e24dd..24181230 100644 --- a/amarok/src/metadata/rmff/rmff.cpp +++ b/amarok/src/metadata/rmff/rmff.cpp @@ -26,6 +26,15 @@ * https://common.helixcommunity.org/nonav/2003/HCS_SDK_r5/helixsdk.htm * * * ***************************************************************************/ + +#include "config.h" + +#if !defined(TAGLIB_LARGE_FILES_SUPPORT) + #undef _LARGE_FILES + #undef _LARGEFILE_SOURCE + #undef _FILE_OFFSET_BITS +#endif + #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/config.h.cmake b/config.h.cmake index e8331320..26f9d263 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -26,6 +26,7 @@ #cmakedefine HAVE_TUNEPIMP 1 #cmakedefine TAGLIB_15 1 +#cmakedefine TAGLIB_LARGE_FILES_SUPPORT 1 #cmakedefine HAVE_TQGLWIDGET 1 #cmakedefine HAVE_OLD_RUBY @HAVE_OLD_RUBY@ diff --git a/translations/messages/ka.po b/translations/messages/ka.po index 5480ea92..a5a33657 100644 --- a/translations/messages/ka.po +++ b/translations/messages/ka.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: amarok\n" "POT-Creation-Date: 2024-09-30 18:14+0000\n" -"PO-Revision-Date: 2025-01-18 19:06+0000\n" +"PO-Revision-Date: 2025-01-23 05:11+0000\n" "Last-Translator: Temuri Doghonadze <[email protected]>\n" "Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" "projects/applications/amarok/ka/>\n" @@ -527,9 +527,8 @@ msgid "Moving files to trash" msgstr "ფაილების სანაგვეში გადაყრა" #: browserbar.cpp:78 -#, fuzzy msgid "Manage tabs" -msgstr "წყვეტის წერტილების მართვა..." +msgstr "ჩანართების მართვა" #: collectionbrowser.cpp:103 covermanager.cpp:146 filebrowser.cpp:103 #: mediabrowser.cpp:277 statistics.cpp:78 @@ -809,18 +808,22 @@ msgid "B&urn to CD" msgstr "CD-ზე ჩაწერა" #: collectionbrowser.cpp:1464 playlist.cpp:3901 -#, fuzzy, c-format +#, c-format msgid "" "_n: &Organize File...\n" "&Organize %n Files..." -msgstr "%n ფაილების ორგანიზება..." +msgstr "" +"&ფაილის ორგანიზაცია...\n" +"%n &ფაილის ორგანიზაცია..." #: collectionbrowser.cpp:1465 -#, fuzzy, c-format +#, c-format msgid "" "_n: &Delete File...\n" "&Delete %n Files..." -msgstr "%n ფაილის წაშლა..." +msgstr "" +"&ფაილის წაშლა...\n" +"%n &ფაილის წაშლა..." #: collectionbrowser.cpp:1466 playlist.cpp:3909 #, fuzzy diff --git a/translations/messages/nl.po b/translations/messages/nl.po index 43141bea..aca540be 100644 --- a/translations/messages/nl.po +++ b/translations/messages/nl.po @@ -8290,7 +8290,7 @@ msgid "" "_n: '%1' and one other track submitted\n" "'%1' and %n other tracks submitted" msgstr "" -"_n: ‘%1’ en een ander nummer zijn ingediend\n" +"‘%1’ en een ander nummer zijn ingediend\n" "‘%1’ en %n andere nummers zijn ingediend" #: scrobbler.cpp:1017 @@ -8306,7 +8306,7 @@ msgid "" "_n: Failed to submit '%1' and one other track\n" "Failed to submit '%1' and %n other tracks" msgstr "" -"_n: ‘%1’ en een ander nummer kunnen niet worden ingediend\n" +"‘%1’ en een ander nummer kunnen niet worden ingediend\n" "‘%1’ en %n andere nummers kunnen niet worden ingediend" #: scrobbler.cpp:1031 @@ -8315,7 +8315,7 @@ msgid "" "_n: One track still in queue\n" "%n tracks still in queue" msgstr "" -"_n: Nog 1 nummer in de wachtrij\n" +"Nog 1 nummer in de wachtrij\n" "Nog %n nummers in de wachtrij" #: sliderwidget.cpp:434 @@ -8469,7 +8469,7 @@ msgid "" "_n: %n track\n" "%n tracks" msgstr "" -"_n: %n nummer\n" +"%n nummer\n" "%n nummers" #: statistics.cpp:232 @@ -8482,7 +8482,7 @@ msgid "" "_n: %n play\n" "%n plays" msgstr "" -"_n: %n maal afgespeeld\n" +"%n maal afgespeeld\n" "%n maal afgespeeld" #: statistics.cpp:244 @@ -8495,7 +8495,7 @@ msgid "" "_n: %n artist\n" "%n artists" msgstr "" -"_n: %n artiest\n" +"%n artiest\n" "%n artiesten" #: statistics.cpp:257 @@ -8504,7 +8504,7 @@ msgid "" "_n: %n album\n" "%n albums" msgstr "" -"_n: %n album\n" +"%n album\n" "%n albums" #: statistics.cpp:268 @@ -8517,7 +8517,7 @@ msgid "" "_n: %n genre\n" "%n genres" msgstr "" -"_n: %n genre\n" +"%n genre\n" "%n genres" #: statistics.cpp:279 @@ -8577,7 +8577,7 @@ msgid "" "_n: 1 Queued Track (%1)\n" "%n Queued Tracks (%1)" msgstr "" -"_n: 1 nummer in wachtrij (%1)\n" +"1 nummer in wachtrij (%1)\n" "%n nummers in wachtrij (%1)" #: statusbar/queueLabel.cpp:180 @@ -8586,7 +8586,7 @@ msgid "" "_n: 1 Queued Track\n" "%n Queued Tracks" msgstr "" -"_n: 1 nummer in wachtrij\n" +"1 nummer in wachtrij\n" "%n nummer in wachtrij" #: statusbar/queueLabel.cpp:183 @@ -8599,7 +8599,7 @@ msgid "" "_n: 1 More Track\n" "%n More Tracks" msgstr "" -"_n: Nog 1 nummer\n" +"Nog 1 nummer\n" "Nog %n nummers" #: statusbar/queueLabel.cpp:267 @@ -8607,7 +8607,7 @@ msgid "" "_n: 1 track (%1)\n" "%n tracks (%1)" msgstr "" -"_n: 1 nummer (%1)\n" +"1 nummer (%1)\n" "%n nummers (%1)" #: statusbar/queueLabel.cpp:271 @@ -8710,7 +8710,7 @@ msgid "" "_n: 1 track\n" "%n tracks" msgstr "" -"_n: 1 nummer\n" +"1 nummer\n" "%n nummers" #: statusbar/statusbar.cpp:241 @@ -8824,7 +8824,7 @@ msgid "" "_n: 1 Track\n" "Information for %n Tracks" msgstr "" -"_n: 1 nummer\n" +"1 nummer\n" "Informatie over %n nummers" #: tagdialog.cpp:911 @@ -8833,7 +8833,7 @@ msgid "" "_n: Editing 1 file\n" "Editing %n files" msgstr "" -"_n: 1 bestand bewerken\n" +"1 bestand bewerken\n" "%n bestanden bewerken" #: tagdialog.cpp:917 diff --git a/translations/messages/zh_CN.po b/translations/messages/zh_CN.po index 703d6337..cebd953f 100644 --- a/translations/messages/zh_CN.po +++ b/translations/messages/zh_CN.po @@ -3,12 +3,13 @@ # Funda Wang <[email protected]>, 2004, 2005. # Keqing Li <[email protected]>, 2021. # 梁维康 <[email protected]>, 2023, 2024. +# Toad114514 <[email protected]>, 2025. msgid "" msgstr "" "Project-Id-Version: amaroK\n" "POT-Creation-Date: 2024-09-30 18:14+0000\n" -"PO-Revision-Date: 2024-10-20 09:10+0000\n" -"Last-Translator: 梁维康 <[email protected]>\n" +"PO-Revision-Date: 2025-01-27 15:12+0000\n" +"Last-Translator: Toad114514 <[email protected]>\n" "Language-Team: Chinese (Simplified) <https://mirror.git.trinitydesktop.org/" "weblate/projects/applications/amarok/zh_Hans/>\n" "Language: zh_CN\n" @@ -3285,7 +3286,7 @@ msgstr "" #: engine/helix/helix-errors.cpp:167 msgid "Bad Format" -msgstr "" +msgstr "格式错误" #: engine/helix/helix-errors.cpp:168 msgid "Chunk Missing" @@ -3339,15 +3340,16 @@ msgstr "" #: engine/helix/helix-errors.cpp:180 msgid "Decode Not Found" -msgstr "" +msgstr "未找到解码器" #: engine/helix/helix-errors.cpp:181 +#, fuzzy msgid "Decode Invalid" -msgstr "" +msgstr "解码器无效" #: engine/helix/helix-errors.cpp:182 msgid "Decode Type Mismatch" -msgstr "" +msgstr "解码类型不匹配" #: engine/helix/helix-errors.cpp:183 #, fuzzy |