diff rc/locale/en_GB.ts @ 112:80f49f623d30

locale: allow switching locales without restarting
author Paper <mrpapersonic@gmail.com>
date Mon, 06 Nov 2023 13:41:30 -0500
parents 79714c95a145
children c72b907b9bef
line wrap: on
line diff
--- a/rc/locale/en_GB.ts	Mon Nov 06 02:03:55 2023 -0500
+++ b/rc/locale/en_GB.ts	Mon Nov 06 13:41:30 2023 -0500
@@ -185,252 +185,267 @@
 <context>
     <name>MainWindow</name>
     <message>
-        <location filename="../../src/gui/window.cc" line="65"/>
+        <location filename="../../src/gui/window.cc" line="99"/>
         <source>Now Playing</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="67"/>
+        <location filename="../../src/gui/window.cc" line="101"/>
         <source>Anime List</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="68"/>
+        <location filename="../../src/gui/window.cc" line="102"/>
         <source>History</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="69"/>
+        <location filename="../../src/gui/window.cc" line="103"/>
         <source>Statistics</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="71"/>
+        <location filename="../../src/gui/window.cc" line="105"/>
         <source>Search</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="72"/>
+        <location filename="../../src/gui/window.cc" line="106"/>
         <source>Seasons</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="73"/>
+        <location filename="../../src/gui/window.cc" line="107"/>
         <source>Torrents</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="117"/>
+        <location filename="../../src/gui/window.cc" line="133"/>
         <source>&amp;File</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="119"/>
+        <location filename="../../src/gui/window.cc" line="135"/>
         <source>&amp;Library folders</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="120"/>
+        <location filename="../../src/gui/window.cc" line="136"/>
         <source>&amp;Add new folder...</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="122"/>
+        <location filename="../../src/gui/window.cc" line="138"/>
         <source>&amp;Scan available episodes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="126"/>
+        <location filename="../../src/gui/window.cc" line="142"/>
         <source>Play &amp;next episode</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="128"/>
+        <location filename="../../src/gui/window.cc" line="144"/>
         <source>Play &amp;random episode</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="133"/>
+        <location filename="../../src/gui/window.cc" line="149"/>
         <source>E&amp;xit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="135"/>
+        <location filename="../../src/gui/window.cc" line="151"/>
         <source>&amp;Services</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="136"/>
+        <location filename="../../src/gui/window.cc" line="152"/>
         <source>Synchronize &amp;list</source>
         <translation>Synchronise &amp;list</translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="141"/>
+        <location filename="../../src/gui/window.cc" line="157"/>
         <source>&amp;AniList</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="142"/>
-        <location filename="../../src/gui/window.cc" line="148"/>
-        <location filename="../../src/gui/window.cc" line="152"/>
+        <location filename="../../src/gui/window.cc" line="158"/>
+        <location filename="../../src/gui/window.cc" line="164"/>
+        <location filename="../../src/gui/window.cc" line="168"/>
         <source>Go to my &amp;profile</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="143"/>
+        <location filename="../../src/gui/window.cc" line="159"/>
         <source>Go to my &amp;stats</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="145"/>
+        <location filename="../../src/gui/window.cc" line="161"/>
         <source>&amp;Kitsu</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="146"/>
+        <location filename="../../src/gui/window.cc" line="162"/>
         <source>Go to my &amp;feed</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="147"/>
+        <location filename="../../src/gui/window.cc" line="163"/>
         <source>Go to my &amp;library</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="150"/>
+        <location filename="../../src/gui/window.cc" line="166"/>
         <source>&amp;MyAnimeList</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="151"/>
+        <location filename="../../src/gui/window.cc" line="167"/>
         <source>Go to my p&amp;anel</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="153"/>
+        <location filename="../../src/gui/window.cc" line="169"/>
         <source>Go to my &amp;history</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="155"/>
+        <location filename="../../src/gui/window.cc" line="171"/>
         <source>&amp;Tools</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="156"/>
+        <location filename="../../src/gui/window.cc" line="172"/>
         <source>&amp;Export anime list</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="157"/>
+        <location filename="../../src/gui/window.cc" line="173"/>
         <source>Export as &amp;Markdown...</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="158"/>
+        <location filename="../../src/gui/window.cc" line="174"/>
         <source>Export as MyAnimeList &amp;XML...</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="162"/>
+        <location filename="../../src/gui/window.cc" line="178"/>
         <source>Enable anime &amp;recognition</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="164"/>
+        <location filename="../../src/gui/window.cc" line="180"/>
         <source>Enable auto &amp;sharing</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="166"/>
+        <location filename="../../src/gui/window.cc" line="182"/>
         <source>Enable &amp;auto synchronization</source>
         <translation>Enable &amp;auto synchronisation</translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="171"/>
+        <location filename="../../src/gui/window.cc" line="187"/>
         <source>&amp;Settings</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="177"/>
-        <source>&amp;View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../src/gui/window.cc" line="184"/>
-        <source>&amp;Now Playing</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../src/gui/window.cc" line="188"/>
-        <source>&amp;Anime List</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="../../src/gui/window.cc" line="193"/>
+        <source>&amp;View</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="200"/>
+        <source>&amp;Now Playing</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="204"/>
+        <source>&amp;Anime List</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="209"/>
         <source>&amp;History</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="197"/>
+        <location filename="../../src/gui/window.cc" line="213"/>
         <source>&amp;Statistics</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="201"/>
+        <location filename="../../src/gui/window.cc" line="217"/>
         <source>S&amp;earch</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="205"/>
+        <location filename="../../src/gui/window.cc" line="221"/>
         <source>Se&amp;asons</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="209"/>
+        <location filename="../../src/gui/window.cc" line="225"/>
         <source>&amp;Torrents</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="220"/>
+        <location filename="../../src/gui/window.cc" line="236"/>
         <source>Show sidebar</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="222"/>
+        <location filename="../../src/gui/window.cc" line="238"/>
         <source>&amp;Help</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="223"/>
-        <source>&amp;About Minori</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../src/gui/window.cc" line="227"/>
-        <source>About &amp;Qt</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="../../src/gui/window.cc" line="239"/>
+        <source>&amp;About Minori</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="243"/>
+        <source>About &amp;Qt</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="259"/>
         <source>&amp;Synchronize</source>
         <translation>&amp;Synchronise</translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="246"/>
+        <location filename="../../src/gui/window.cc" line="266"/>
         <source>Add new folder...</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="256"/>
+        <location filename="../../src/gui/window.cc" line="276"/>
         <source>Placeholder</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/window.cc" line="264"/>
+        <location filename="../../src/gui/window.cc" line="284"/>
         <source>S&amp;ettings</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="298"/>
+        <source>Error synchronizing with service!</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="299"/>
+        <source>It seems you haven&apos;t yet selected a service to use.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../src/gui/window.cc" line="300"/>
+        <source>Would you like to select one now?</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>NowPlayingPages::Default</name>
@@ -716,6 +731,11 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
+        <location filename="../../src/gui/dialog/settings/application.cc" line="110"/>
+        <source>Set application locale:</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
         <location filename="../../src/gui/dialog/settings/application.cc" line="142"/>
         <source>Highlight anime if next episode is available in library folders</source>
         <translation type="unfinished"></translation>
@@ -726,11 +746,6 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/gui/dialog/settings/application.cc" line="110"/>
-        <source>Set application locale (requires restart):</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="../../src/gui/dialog/settings/application.cc" line="161"/>
         <source>Progress</source>
         <translation type="unfinished"></translation>