updated: Skip () in translation (thx jmarshall)
authorblittan <blittan@svn>
Mon, 11 Jan 2010 03:25:02 +0000 (03:25 +0000)
committerblittan <blittan@svn>
Mon, 11 Jan 2010 03:25:02 +0000 (03:25 +0000)
fixed: spaces instead of tabs *damn editor not converting tabs to spaces*

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26656 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

language/English/strings.xml
language/Swedish/strings.xml
xbmc/GUIWindowScripts.cpp

index d902d75..d41cfd0 100644 (file)
   <string id="23050">Activate Teletext</string>
   <string id="23051">Part %i</string>
   <string id="23052">Buffering %i bytes</string>
-  <string id="23053">(Stopping)</string>
-  <string id="23054">(Running)</string>
+  <string id="23053">Stopping</string>
+  <string id="23054">Running</string>
 
   <!-- strings 23100 thru 23150 reserved for external player -->
   <string id="23100">External Player Active</string>
index 035e5e7..3476cf8 100644 (file)
   <string id="23050">Aktivera teletext</string>
   <string id="23051">Del %i</string>
   <string id="23052">Buffrar %i bytes</string> 
-  <string id="23053">(Stoppar)</string> 
-  <string id="23054">(Igång)</string> 
+  <string id="23053">Stoppar</string> 
+  <string id="23054">Igång</string> 
   <string id="23100">Extern spelare är aktiv</string>
   <string id="23101">Klicka OK för att avsluta spelaren</string>
   <string id="23104">Klicka OK när uppspelningen har slutat</string>
index 317bb01..deb2057 100644 (file)
@@ -33,6 +33,7 @@
 #include "ScriptSettings.h"
 #include "GUIDialogPluginSettings.h"
 #include "Settings.h"
+#include "LocalizeStrings.h"
 #if defined(__APPLE__)
 #include "SpecialProtocol.h"
 #include "CocoaInterface.h"
@@ -105,12 +106,12 @@ bool CGUIWindowScripts::Update(const CStdString &strDirectory)
         CFileItemPtr pItem = m_vecItems->Get(i);
         if (pItem->m_strPath == filename)
         {
-                       CStdString runningLabel = pItem->GetLabel() + " ";
-                       if (g_pythonParser.isStopping(id))
-                         runningLabel += g_localizeStrings.Get(23053);
+            CStdString runningLabel = pItem->GetLabel() + " (";
+            if (g_pythonParser.isStopping(id))
+                runningLabel += g_localizeStrings.Get(23053) + ")";
                        else
-                         runningLabel += g_localizeStrings.Get(23054);
-                       pItem->SetLabel(runningLabel)
+                runningLabel += g_localizeStrings.Get(23054) + ")";
+            pItem->SetLabel(runningLabel)
         }
       }
     }