Skip to content

Commit

Permalink
localized few strings
Browse files Browse the repository at this point in the history
  • Loading branch information
benapetr committed May 25, 2018
1 parent 52e2dab commit 3553353
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/huggle_l10n/Localization/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@
<string name="main-revision-revert-warn">Revert the currently displayed edit and warn the user</string>
<string name="main-revision-rws">Revert the currently displayed edit, warn the user and stay on the page</string>
<string name="main-revision-faith">Revert assuming good faith</string>
<string name="main-revision-revert-only-this">Revert only this revision</string>
<string name="main-revision-revert-agf">Revert only this revision assuming good faith</string>
<string name="main-revision-previous">Previous</string>
<string name="main-revision-next">Next</string>
<string name="main-revision-latest">Latest</string>
Expand Down Expand Up @@ -400,11 +402,14 @@
<string name="main-page-delete">Delete</string>
<string name="main-page-load">Load</string>
<string name="main-patrol-not-enabled">Patrolling is not enabled on $1</string>
<string name="main-page-refresh">Refresh</string>
<string name="main-page-restore">Restore this revision</string>
<string name="main-page-watchlist-add">Add page to a watchlist</string>
<string name="main-page-tab-close">Close the current tab</string>
<string name="main-page-tab-open">Open a new tab</string>
<string name="main-page-watchlist-remove">Remove page from a watchlist</string>
<string name="main-scripting">Scripting</string>
<string name="main-scripting-script-manager">Scripts manager</string>
<string name="main-user-info">Show user info</string>
<string name="main-user-ignore">Ignore</string>
<string name="main-user-unignore">Unignore</string>
Expand All @@ -417,6 +422,7 @@
<string name="main-user-db">Decrease badness score of user</string>
<string name="main-user-report">Report</string>
<string name="main-user-ib">Increase badness score</string>
<string name="main-user-contribution-browser">Contribution browser</string>
<string name="main-user-clear-tp">Clear talk page of user</string>
<string name="main-user-retrieving-tp">Retrieving Talk Page of $1</string>
<string name="main-user-block">Block...</string>
Expand All @@ -439,6 +445,7 @@
<string name="main-help-feedback">Feedback</string>
<string name="main-help-about">About Huggle...</string>
<string name="main-help-introduction">Introduction</string>
<string name="main-help-welcome-page">Welcome page</string>
<string name="main-help-contents">Contents</string>
<string name="main-help-queuelegend">Queue legend</string>
<string name="main-addqueue">Add...</string>
Expand Down
8 changes: 8 additions & 0 deletions src/huggle_ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include <huggle_core/hugglefeedproviderxml.hpp>
#include <huggle_core/huggleparser.hpp>
#include <huggle_core/huggleprofiler.hpp>

#ifdef HUGGLE_WEBEN
#include "web_engine/huggleweb.hpp"
#else
Expand Down Expand Up @@ -2067,6 +2068,13 @@ void MainWindow::Localize()
this->ui->actionUser_page->setText(_l("main-user-page"));
this->ui->menuManual_template->setTitle(_l("main-user-manualtemplate"));
this->ui->actionPost_a_custom_message->setText(_l("custommessage-menu"));
this->ui->actionRefresh->setText(_l("main-page-refresh"));
this->ui->actionScripts_manager->setText(_l("main-scripting-script-manager"));
this->ui->menuScripting->setTitle(_l("main-scripting"));
this->ui->actionWelcome_page->setText(_l("main-help-welcome-page"));
this->ui->actionContribution_browser->setText(_l("main-user-contribution-browser"));
this->ui->actionRevert_only_this_revision_assuming_good_faith->setText(_l("main-revision-revert-agf"));
this->ui->actionRevert_only_this_revision->setText(_("main-revision-revert-only-this"));

// arrows icons should be mirrored for RTL languages
if (Localizations::HuggleLocalizations->IsRTL())
Expand Down

0 comments on commit 3553353

Please sign in to comment.