Skip to content

Commit

Permalink
Fixed German translation.
Browse files Browse the repository at this point in the history
Fix #1503
  • Loading branch information
lins05 committed Jan 12, 2016
1 parent 1f3e419 commit 60b358e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions i18n/seafile_de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,7 @@ Der Speicherplatz der Eigentümerin oder des Eigentümers der Bibliothek ist auf
<message>
<location filename="../src/ui/repo-tree-view.cpp" line="445"/>
<source>Set sync &amp;Interval</source>
<translation>Sync-%Intervall festlegen</translation>
<translation>Sync-&amp;Intervall festlegen</translation>
</message>
<message>
<location filename="../src/ui/repo-tree-view.cpp" line="486"/>
Expand Down Expand Up @@ -3464,4 +3464,4 @@ Möchten Sie die Internetseite zum Herunterladen aufrufen?</translation>
<translation>Nein</translation>
</message>
</context>
</TS>
</TS>
3 changes: 2 additions & 1 deletion src/filebrowser/file-browser-dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ FileBrowserDialog::FileBrowserDialog(const Account &account, const ServerRepo& r

data_mgr_ = new DataManager(account_);

setWindowTitle(tr("Cloud File Browser"));
// In German translation there is a "seafile" string, so need to use tr("..").arg(..) here
setWindowTitle(tr("Cloud File Browser").arg(getBrand()));
setWindowIcon(QIcon(":/images/seafile.png"));
setWindowFlags((windowFlags() & ~Qt::WindowContextHelpButtonHint & ~Qt::Dialog)
#if !defined(Q_OS_MAC)
Expand Down
3 changes: 2 additions & 1 deletion src/ui/repo-tree-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ void RepoTreeView::createActions()

connect(share_repo_to_group_action_, SIGNAL(triggered()), this, SLOT(shareRepoToGroup()));

open_in_filebrowser_action_ = new QAction(tr("&Open cloud file browser"), this);
// In German translation there is a "seafile" string, so need to use tr("..").arg(..) here
open_in_filebrowser_action_ = new QAction(tr("&Open cloud file browser").arg(getBrand()), this);
open_in_filebrowser_action_->setIcon(QIcon(":/images/cloud-gray.png"));
open_in_filebrowser_action_->setStatusTip(tr("open this library in embedded Cloud File Browser"));
open_in_filebrowser_action_->setIconVisibleInMenu(true);
Expand Down

0 comments on commit 60b358e

Please sign in to comment.