Skip to content

Commit

Permalink
add new dialog CGUIDialogMediaFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Oct 8, 2012
1 parent 3476396 commit 918f64b
Show file tree
Hide file tree
Showing 8 changed files with 1,019 additions and 2 deletions.
24 changes: 23 additions & 1 deletion language/English/strings.po
Expand Up @@ -3201,6 +3201,12 @@ msgctxt "#1273"
msgid "AirPlay" msgid "AirPlay"
msgstr "" msgstr ""


#empty string id 1274

msgctxt "#1275"
msgid "Filter %s"
msgstr ""

#empty strings from id 1274 to 1299 #empty strings from id 1274 to 1299


msgctxt "#1300" msgctxt "#1300"
Expand Down Expand Up @@ -9400,7 +9406,23 @@ msgctxt "#21465"
msgid "Above video" msgid "Above video"
msgstr "" msgstr ""


#empty strings from id 21466 to 21799 msgctxt "#21466"
msgid "between"
msgstr ""

This comment has been minimized.

Copy link
@alanwww1

alanwww1 Oct 14, 2012

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!

This comment has been minimized.

Copy link
@Montellese

Montellese Oct 15, 2012

Author 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" msgctxt "#21800"
msgid "File name" msgid "File name"
Expand Down
4 changes: 4 additions & 0 deletions xbmc/Application.cpp
Expand Up @@ -286,6 +286,7 @@
#include "guilib/GUIControlFactory.h" #include "guilib/GUIControlFactory.h"
#include "dialogs/GUIDialogCache.h" #include "dialogs/GUIDialogCache.h"
#include "dialogs/GUIDialogPlayEject.h" #include "dialogs/GUIDialogPlayEject.h"
#include "dialogs/GUIDialogMediaFilter.h"
#include "utils/XMLUtils.h" #include "utils/XMLUtils.h"
#include "addons/AddonInstaller.h" #include "addons/AddonInstaller.h"


Expand Down Expand Up @@ -1299,6 +1300,8 @@ bool CApplication::Initialize()


g_windowManager.Add(new CGUIDialogPeripheralManager); g_windowManager.Add(new CGUIDialogPeripheralManager);
g_windowManager.Add(new CGUIDialogPeripheralSettings); 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 CGUIWindowMusicPlayList); // window id = 500
g_windowManager.Add(new CGUIWindowMusicSongs); // window id = 501 g_windowManager.Add(new CGUIWindowMusicSongs); // window id = 501
Expand Down Expand Up @@ -3477,6 +3480,7 @@ bool CApplication::Cleanup()
g_windowManager.Delete(WINDOW_DIALOG_ADDON_SETTINGS); g_windowManager.Delete(WINDOW_DIALOG_ADDON_SETTINGS);
g_windowManager.Delete(WINDOW_DIALOG_ACCESS_POINTS); g_windowManager.Delete(WINDOW_DIALOG_ACCESS_POINTS);
g_windowManager.Delete(WINDOW_DIALOG_SLIDER); g_windowManager.Delete(WINDOW_DIALOG_SLIDER);
g_windowManager.Delete(WINDOW_DIALOG_MEDIA_FILTER);


/* Delete PVR related windows and dialogs */ /* Delete PVR related windows and dialogs */
g_windowManager.Delete(WINDOW_PVR); g_windowManager.Delete(WINDOW_PVR);
Expand Down

0 comments on commit 918f64b

Please sign in to comment.