GTK: Fix NLS for the directories config dialog

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1000 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2011-02-24 21:02:47 +00:00
parent 6bb7f0a8b2
commit 48ce2e94b7
2 changed files with 7 additions and 7 deletions

View File

@ -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));

View File

@ -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<Glib::ustring> list_authors;
list_authors.push_back("Forgotten");