From fa1e4194bf6b89b9a6b7a9da3672a20643bc9afc Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 3 Jul 2011 15:38:52 +0000 Subject: changed configuration keys git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2267 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmanager.cpp | 9 ++++++++- src/qmmpui/playlistmanager.h | 2 +- src/qmmpui/translations/libqmmpui_cs.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_de.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_es.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_it.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_ja.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_lt.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_nl.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_pl.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_pt_BR.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_ru.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_tr.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_uk_UA.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_zh_CN.ts | 22 +++++++++++----------- src/qmmpui/translations/libqmmpui_zh_TW.ts | 22 +++++++++++----------- 16 files changed, 163 insertions(+), 156 deletions(-) (limited to 'src/qmmpui') diff --git a/src/qmmpui/playlistmanager.cpp b/src/qmmpui/playlistmanager.cpp index f2a47e6e9..2c56ecd58 100644 --- a/src/qmmpui/playlistmanager.cpp +++ b/src/qmmpui/playlistmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2010 by Ilya Kotovs * + * Copyright (C) 2009-2011 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "playlistsettings_p.h" #include "playlistmanager.h" @@ -39,12 +40,18 @@ PlayListManager::PlayListManager(QObject *parent) : QObject(parent) m_repeatable = false; m_shuffle = false; readPlayLists(); + QSettings settings(Qmmp::configFile(), QSettings::IniFormat); + setRepeatableList(settings.value("Playlist/repeatable",false).toBool()); + setShuffle(settings.value("Playlist/shuffle",false).toBool()); } PlayListManager::~PlayListManager() { writePlayLists(); delete PlaylistSettings::instance(); + QSettings settings(Qmmp::configFile(), QSettings::IniFormat); + settings.setValue("Playlist/repeatable", m_repeatable); + settings.setValue("Playlist/shuffle", m_shuffle); m_instance = 0; } diff --git a/src/qmmpui/playlistmanager.h b/src/qmmpui/playlistmanager.h index fde5f4270..f49341a74 100644 --- a/src/qmmpui/playlistmanager.h +++ b/src/qmmpui/playlistmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2010 by Ilya Kotov * + * Copyright (C) 2009-2011 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * diff --git a/src/qmmpui/translations/libqmmpui_cs.ts b/src/qmmpui/translations/libqmmpui_cs.ts index 38dd06530..2e4649d0c 100644 --- a/src/qmmpui/translations/libqmmpui_cs.ts +++ b/src/qmmpui/translations/libqmmpui_cs.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Název - + Artist Umělec - + Album Album - + Comment Poznámka - + Genre Žánr - + Composer Skladatel - + Year Rok - + Track Stopa - + Disc number Číslo disku @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Seznam skladeb diff --git a/src/qmmpui/translations/libqmmpui_de.ts b/src/qmmpui/translations/libqmmpui_de.ts index 5c897cac1..cebf792b8 100644 --- a/src/qmmpui/translations/libqmmpui_de.ts +++ b/src/qmmpui/translations/libqmmpui_de.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Titel - + Artist Interpret - + Album Album - + Comment Kommentar - + Genre Genre - + Composer Komponent - + Year Jahr - + Track Stück - + Disc number CD-Nummer @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Wiedergabeliste diff --git a/src/qmmpui/translations/libqmmpui_es.ts b/src/qmmpui/translations/libqmmpui_es.ts index 800c75b54..ea7b61934 100644 --- a/src/qmmpui/translations/libqmmpui_es.ts +++ b/src/qmmpui/translations/libqmmpui_es.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Título - + Artist Intérprete - + Album Album - + Comment Comentario - + Genre Género - + Composer Compositor - + Year Año - + Track Pista - + Disc number Número de disco @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Lista de reproducción diff --git a/src/qmmpui/translations/libqmmpui_it.ts b/src/qmmpui/translations/libqmmpui_it.ts index c2b1cb673..3b07f7476 100644 --- a/src/qmmpui/translations/libqmmpui_it.ts +++ b/src/qmmpui/translations/libqmmpui_it.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Titolo - + Artist Interprete - + Album Album - + Comment Commento - + Genre Genere - + Composer Compositore - + Year Anno - + Track Traccia - + Disc number Disco n° @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Lista esecuzione diff --git a/src/qmmpui/translations/libqmmpui_ja.ts b/src/qmmpui/translations/libqmmpui_ja.ts index e69c3e986..22afdf459 100644 --- a/src/qmmpui/translations/libqmmpui_ja.ts +++ b/src/qmmpui/translations/libqmmpui_ja.ts @@ -37,47 +37,47 @@ p, li { white-space: pre-wrap; } <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> - + Title タイトル - + Artist アーティスト - + Album アルバム - + Comment コメント - + Genre ジャンル - + Composer 作曲者 - + Year - + Track トラック - + Disc number ディスク番号 @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist プレイリスト diff --git a/src/qmmpui/translations/libqmmpui_lt.ts b/src/qmmpui/translations/libqmmpui_lt.ts index 496a08818..2f1c2d50e 100644 --- a/src/qmmpui/translations/libqmmpui_lt.ts +++ b/src/qmmpui/translations/libqmmpui_lt.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Pavadinimas - + Artist Atlikėjas - + Album Albumas - + Comment Komentaras - + Genre Žanras - + Composer Autorius - + Year Metai - + Track Takelis - + Disc number Disko numeris @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Grojaraštis diff --git a/src/qmmpui/translations/libqmmpui_nl.ts b/src/qmmpui/translations/libqmmpui_nl.ts index 54edf7a64..8388b4deb 100644 --- a/src/qmmpui/translations/libqmmpui_nl.ts +++ b/src/qmmpui/translations/libqmmpui_nl.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Naam - + Artist Artiest - + Album Album - + Comment Commentaar - + Genre Genre - + Composer Componist - + Year Jaar - + Track Nummer - + Disc number CD nummer @@ -85,8 +85,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Afspeellijst diff --git a/src/qmmpui/translations/libqmmpui_pl.ts b/src/qmmpui/translations/libqmmpui_pl.ts index b7ab188c3..72ab69cd3 100644 --- a/src/qmmpui/translations/libqmmpui_pl.ts +++ b/src/qmmpui/translations/libqmmpui_pl.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Tytuł - + Artist Artysta - + Album Album - + Comment Komentarz - + Genre Gatunek - + Composer Kompozytor - + Year Rok - + Track Ścieżka - + Disc number Numer płyty @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Lista odtwarzania diff --git a/src/qmmpui/translations/libqmmpui_pt_BR.ts b/src/qmmpui/translations/libqmmpui_pt_BR.ts index d95eb1947..af378ee8f 100644 --- a/src/qmmpui/translations/libqmmpui_pt_BR.ts +++ b/src/qmmpui/translations/libqmmpui_pt_BR.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title - + Artist - + Album - + Comment - + Genre - + Composer - + Year - + Track - + Disc number @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist diff --git a/src/qmmpui/translations/libqmmpui_ru.ts b/src/qmmpui/translations/libqmmpui_ru.ts index 543f2bc6d..995fdbcd4 100644 --- a/src/qmmpui/translations/libqmmpui_ru.ts +++ b/src/qmmpui/translations/libqmmpui_ru.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Название - + Artist Исполнитель - + Album Альбом - + Comment Комментарий - + Genre Жанр - + Composer Композитор - + Year Год - + Track Дорожка - + Disc number Номер диска @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Список diff --git a/src/qmmpui/translations/libqmmpui_tr.ts b/src/qmmpui/translations/libqmmpui_tr.ts index 524fd0bf6..1235d847b 100644 --- a/src/qmmpui/translations/libqmmpui_tr.ts +++ b/src/qmmpui/translations/libqmmpui_tr.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title - + Artist - + Album - + Comment - + Genre - + Composer - + Year - + Track - + Disc number @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist diff --git a/src/qmmpui/translations/libqmmpui_uk_UA.ts b/src/qmmpui/translations/libqmmpui_uk_UA.ts index 333310043..8d93934e4 100644 --- a/src/qmmpui/translations/libqmmpui_uk_UA.ts +++ b/src/qmmpui/translations/libqmmpui_uk_UA.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title Заголовок - + Artist Виконавець - + Album Альбом - + Comment Коментар - + Genre Жанр - + Composer Композитор - + Year Рік - + Track Доріжка - + Disc number Номер диску @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist Список diff --git a/src/qmmpui/translations/libqmmpui_zh_CN.ts b/src/qmmpui/translations/libqmmpui_zh_CN.ts index f04da8908..e4a80bfd1 100644 --- a/src/qmmpui/translations/libqmmpui_zh_CN.ts +++ b/src/qmmpui/translations/libqmmpui_zh_CN.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title 标题 - + Artist 艺术家 - + Album 专辑 - + Comment 备注 - + Genre 流派 - + Composer 作曲 - + Year 年代 - + Track 音轨 - + Disc number 光盘编号 @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist 播放列表 diff --git a/src/qmmpui/translations/libqmmpui_zh_TW.ts b/src/qmmpui/translations/libqmmpui_zh_TW.ts index cc55b05b2..f6d02b7cc 100644 --- a/src/qmmpui/translations/libqmmpui_zh_TW.ts +++ b/src/qmmpui/translations/libqmmpui_zh_TW.ts @@ -4,47 +4,47 @@ DetailsDialog - + Title 標題 - + Artist 藝術家 - + Album 專輯 - + Comment 備註 - + Genre 流派 - + Composer 作曲 - + Year 年代 - + Track 音軌 - + Disc number 光槃編號 @@ -81,8 +81,8 @@ p, li { white-space: pre-wrap; } PlayListManager - - + + Playlist 播放清單 -- cgit v1.2.3-13-gbd6f