Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ansus:KDE3
transkode
configdialog.cpp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File configdialog.cpp.patch of Package transkode
--- transkode/src/configdialog/configdialog.cpp 2007-08-06 01:35:44.000000000 -0300 +++ transkode/src/configdialog/configdialog-new.cpp 2008-04-02 10:49:56.000000000 -0300 @@ -58,7 +58,7 @@ ConfigDialog::ConfigDialog( const QStrin { showButton( Default, true ); - addPage( generalSettings = new GeneralSettings(), "General", m_iconLoader.loadIcon( "misc", KIcon::Desktop, KIcon::SizeMedium ), "General Settings" ); + addPage( generalSettings = new GeneralSettings(), i18n("General"), m_iconLoader.loadIcon( "misc", KIcon::Desktop, KIcon::SizeMedium ), i18n("General Settings") ); generalSettings->tempDirURLRequester->setCaption( i18n( "Select the directory for temporary files" ) ); generalSettings->tempDirURLRequester->setMode( KFile::Directory|KFile::LocalOnly ); @@ -67,7 +67,7 @@ ConfigDialog::ConfigDialog( const QStrin generalSettings->logEventsURLRequester->setMode( KFile::File|KFile::LocalOnly ); generalSettings->logEventsURLRequester->setFilter( "*.log" ); - addPage( profileSettings = new ProfileSettings(), "Profiles", m_iconLoader.loadIcon( "favorites", KIcon::Desktop, KIcon::SizeMedium ), "Profiles Settings" ); + addPage( profileSettings = new ProfileSettings(), i18n("Profiles"), m_iconLoader.loadIcon( i18n("favorites"), KIcon::Desktop, KIcon::SizeMedium ), i18n("Profiles Settings") ); QScrollView* programSettingsSV = new QScrollView( 0, "ProgramSettingsScrollView" ); programSettingsSV->setResizePolicy( QScrollView::AutoOneFit ); @@ -78,9 +78,9 @@ ConfigDialog::ConfigDialog( const QStrin programSettings = new ProgramSettings( programSettingsSV->viewport() ); programSettingsSV->addChild( programSettings ); - addPage( programSettingsSV, "Programs", m_iconLoader.loadIcon( "package_system", KIcon::Desktop, KIcon::SizeMedium ), "Program Settings" ); + addPage( programSettingsSV, i18n("Programs"), m_iconLoader.loadIcon( "package_system", KIcon::Desktop, KIcon::SizeMedium ), i18n("Program Settings") ); - addPage( tagSettings = new TagSettings(), "Metadata", m_iconLoader.loadIcon( "rss_tag", KIcon::Desktop, KIcon::SizeMedium ), "Tag Settings" ); + addPage( tagSettings = new TagSettings(), i18n("Metadata"), m_iconLoader.loadIcon( "rss_tag", KIcon::Desktop, KIcon::SizeMedium ), i18n("Tag Settings") ); connect( this, SIGNAL( applyClicked(void) ), this, SLOT( acceptConfig(void) ) ); connect( this, SIGNAL( okClicked(void) ), this, SLOT( acceptConfigAndClose(void) ) ); --- transkode/po/Makefile.in.orig 2008-04-02 15:59:23.000000000 -0300 +++ transkode/po/Makefile.in 2008-04-02 16:03:25.000000000 -0300 @@ -286,8 +286,8 @@ xdg_menudir = @xdg_menudir@ #>- POFILES = AUTO #>+ 2 -POFILES = es.po -GMOFILES = es.gmo +POFILES = es.po pt_BR.po +GMOFILES = es.gmo pt_BR.gmo subdir = po ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs @@ -461,20 +461,25 @@ .NOEXPORT: #>+ 2 -KDE_DIST=Makefile.in messages.mo es.po transkode.pot es.gmo +KDE_DIST=Makefile.in messages.mo es.po pt_BR.po transkode.pot es.gmo pt_BR.gmo #>+ 4 es.gmo: es.po rm -f es.gmo; $(GMSGFMT) -o es.gmo $(srcdir)/es.po test ! -f es.gmo || touch es.gmo +pt_BR.gmo: pt_BR.po + rm -f pt_BR.gmo; $(GMSGFMT) -o pt_BR.gmo $(srcdir)/pt_BR.po + test ! -f pt_BR.gmo || touch pt_BR.gmo + #>+ 3 clean-nls: -rm -f es.gmo + -rm -f pt_BR.gmo #>+ 10 install-nls: - @for base in es ; do \ + @for base in es pt_BR; do \ echo $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\ $(mkinstalldirs) $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES ; \ if test -f $$base.gmo; then $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\ @@ -486,6 +491,7 @@ #>+ 3 uninstall-nls: rm -f $(DESTDIR)$(kde_locale)/es/LC_MESSAGES/$(PACKAGE).mo + rm -f $(DESTDIR)$(kde_locale)/pt_BR/LC_MESSAGES/$(PACKAGE).mo #>+ 2 all-nls: $(GMOFILES)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor