Permalink
Browse files

add new dialog CGUIDialogMediaFilter

  • Loading branch information...
1 parent 3476396 commit 918f64b3477491887279d83fc2b6acdf48e4d66e @Montellese Montellese committed Aug 6, 2012
@@ -3201,6 +3201,12 @@ msgctxt "#1273"
msgid "AirPlay"
msgstr ""
+#empty string id 1274
+
+msgctxt "#1275"
+msgid "Filter %s"
+msgstr ""
+
#empty strings from id 1274 to 1299
msgctxt "#1300"
@@ -9400,7 +9406,23 @@ msgctxt "#21465"
msgid "Above video"
msgstr ""
-#empty strings from id 21466 to 21799
+msgctxt "#21466"
+msgid "between"
+msgstr ""
@alanwww1
alanwww1 Oct 14, 2012 Team Kodi member

@Montellese
I am trying to add a helper comment for translators, but I cannot find where we actually use this string (#21466).
Could you please help ?
Thanks!

@Montellese
Montellese Oct 15, 2012 Team Kodi member

Nice find, I first used this one instead of the ones below (#21467 - #21469) but then found that those work better. So this one isn't used anymore and can be removed.

+
+msgctxt "#21467"
+msgid "%.1f to %.1f"
+msgstr ""
+
+msgctxt "#21468"
+msgid "%d to %d"
+msgstr ""
+
+msgctxt "#21469"
+msgid "%s to %s"
+msgstr ""
+
+#empty strings from id 21470 to 21799
msgctxt "#21800"
msgid "File name"
@@ -286,6 +286,7 @@
#include "guilib/GUIControlFactory.h"
#include "dialogs/GUIDialogCache.h"
#include "dialogs/GUIDialogPlayEject.h"
+#include "dialogs/GUIDialogMediaFilter.h"
#include "utils/XMLUtils.h"
#include "addons/AddonInstaller.h"
@@ -1299,6 +1300,8 @@ bool CApplication::Initialize()
g_windowManager.Add(new CGUIDialogPeripheralManager);
g_windowManager.Add(new CGUIDialogPeripheralSettings);
+
+ g_windowManager.Add(new CGUIDialogMediaFilter); // window id = 151
g_windowManager.Add(new CGUIWindowMusicPlayList); // window id = 500
g_windowManager.Add(new CGUIWindowMusicSongs); // window id = 501
@@ -3477,6 +3480,7 @@ bool CApplication::Cleanup()
g_windowManager.Delete(WINDOW_DIALOG_ADDON_SETTINGS);
g_windowManager.Delete(WINDOW_DIALOG_ACCESS_POINTS);
g_windowManager.Delete(WINDOW_DIALOG_SLIDER);
+ g_windowManager.Delete(WINDOW_DIALOG_MEDIA_FILTER);
/* Delete PVR related windows and dialogs */
g_windowManager.Delete(WINDOW_PVR);
Oops, something went wrong. Retry.

0 comments on commit 918f64b

Please sign in to comment.