diff --git a/src/gtk/directoriesconfig.cpp b/src/gtk/directoriesconfig.cpp index 8286b414..526858b0 100644 --- a/src/gtk/directoriesconfig.cpp +++ b/src/gtk/directoriesconfig.cpp @@ -27,11 +27,11 @@ namespace VBA const DirectoriesConfigDialog::SDirEntry DirectoriesConfigDialog::m_astDirs[] = { - { "gba_roms", _("GBA roms :"), "GBARomsDirEntry" }, - { "gb_roms", _("GB roms :"), "GBRomsDirEntry" }, - { "batteries", _("Batteries :"), "BatteriesDirEntry" }, - { "saves", _("Saves :"), "SavesDirEntry" }, - { "captures", _("Captures :"), "CapturesDirEntry" } + { "gba_roms", N_("GBA roms :"), "GBARomsDirEntry" }, + { "gb_roms", N_("GB roms :"), "GBRomsDirEntry" }, + { "batteries", N_("Batteries :"), "BatteriesDirEntry" }, + { "saves", N_("Saves :"), "SavesDirEntry" }, + { "captures", N_("Captures :"), "CapturesDirEntry" } }; DirectoriesConfigDialog::DirectoriesConfigDialog(Config::Section * _poConfig) : @@ -44,7 +44,7 @@ DirectoriesConfigDialog::DirectoriesConfigDialog(Config::Section * _poConfig) : for (guint i = 0; i < G_N_ELEMENTS(m_astDirs); i++) { - Gtk::Label * poLabel = Gtk::manage( new Gtk::Label(m_astDirs[i].m_csLabel, Gtk::ALIGN_RIGHT) ); + Gtk::Label * poLabel = Gtk::manage( new Gtk::Label(gettext(m_astDirs[i].m_csLabel), Gtk::ALIGN_RIGHT) ); m_poButtons[i] = Gtk::manage( new Gtk::FileChooserButton(Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER) ); m_poButtons[i]->set_current_folder(m_poConfig->sGetKey(m_astDirs[i].m_csKey)); diff --git a/src/gtk/windowcallbacks.cpp b/src/gtk/windowcallbacks.cpp index 21cbfaab..afca5aaa 100644 --- a/src/gtk/windowcallbacks.cpp +++ b/src/gtk/windowcallbacks.cpp @@ -500,7 +500,7 @@ void Window::vOnHelpAbout() oAboutDialog.set_copyright(csCopyright); oAboutDialog.set_logo_icon_name("vbam"); - oAboutDialog.set_website("http://http://www.vba-m.com/"); + oAboutDialog.set_website("http://www.vba-m.com/"); std::list list_authors; list_authors.push_back("Forgotten");