diff options
-rw-r--r-- | addons/resource.language.en_gb/resources/strings.po | 25 | ||||
-rw-r--r-- | xbmc/storage/AutorunMediaJob.cpp | 11 |
2 files changed, 30 insertions, 6 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po index ff32bfd77e..faf423c0ad 100644 --- a/addons/resource.language.en_gb/resources/strings.po +++ b/addons/resource.language.en_gb/resources/strings.po @@ -11178,7 +11178,30 @@ msgctxt "#21330" msgid "Show hidden files and directories" msgstr "" -#empty strings from id 21331 to 21335 +#: xbmc/storage/AutorunMediaJob.cpp +msgctxt "#21331" +msgid "New media detected" +msgstr "" + +#: xbmc/storage/AutorunMediaJob.cpp +msgctxt "#21332" +msgid "Browse videos" +msgstr "" + +#: xbmc/storage/AutorunMediaJob.cpp +msgctxt "#21333" +msgid "Browse music" +msgstr "" + +#: xbmc/storage/AutorunMediaJob.cpp +msgctxt "#21334" +msgid "Browse pictures" +msgstr "" + +#: xbmc/storage/AutorunMediaJob.cpp +msgctxt "#21335" +msgid "Browse files" +msgstr "" #: xbmc/peripherals/devices/peripheralcecadapter.cpp msgctxt "#21336" diff --git a/xbmc/storage/AutorunMediaJob.cpp b/xbmc/storage/AutorunMediaJob.cpp index 84148063ad..259ad819cb 100644 --- a/xbmc/storage/AutorunMediaJob.cpp +++ b/xbmc/storage/AutorunMediaJob.cpp @@ -21,6 +21,7 @@ #include "Application.h" #include "interfaces/Builtins.h" #include "guilib/GUIWindowManager.h" +#include "guilib/LocalizeStrings.h" #include "dialogs/GUIDialogSelect.h" #include "utils/StringUtils.h" @@ -41,12 +42,12 @@ bool CAutorunMediaJob::DoWork() if (m_label.size() > 0) pDialog->SetHeading(m_label); else - pDialog->SetHeading("New media detected"); + pDialog->SetHeading(g_localizeStrings.Get(21331)); - pDialog->Add("Browse videos"); - pDialog->Add("Browse music"); - pDialog->Add("Browse pictures"); - pDialog->Add("Browse files"); + pDialog->Add(g_localizeStrings.Get(21332)); + pDialog->Add(g_localizeStrings.Get(21333)); + pDialog->Add(g_localizeStrings.Get(21334)); + pDialog->Add(g_localizeStrings.Get(21335)); pDialog->DoModal(); |