Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various translation issues #674

Merged
merged 5 commits into from Feb 26, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -748,7 +748,7 @@ void ControlPanel::on_favoriteProjectsListView_customContextMenuRequested(
}
}

void ControlPanel::on_actionRescanLibrary_triggered() {
void ControlPanel::on_actionRescanLibraries_triggered() {
mWorkspace.getLibraryDb().startLibraryRescan();
}

@@ -117,7 +117,7 @@ private slots:
void on_recentProjectsListView_customContextMenuRequested(const QPoint& pos);
void on_favoriteProjectsListView_customContextMenuRequested(
const QPoint& pos);
void on_actionRescanLibrary_triggered();
void on_actionRescanLibraries_triggered();

private:
// make some methods inaccessible...
@@ -458,7 +458,7 @@ QListView::item
<property name="title">
<string>Extras</string>
</property>
<addaction name="actionRescanLibrary"/>
<addaction name="actionRescanLibraries"/>
<addaction name="actionOpen_Library_Manager"/>
<addaction name="separator"/>
<addaction name="actionWorkspace_Settings"/>
@@ -477,7 +477,7 @@ QListView::item
<string>Quit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
<string notr="true">Ctrl+Q</string>
</property>
<property name="menuRole">
<enum>QAction::QuitRole</enum>
@@ -487,6 +487,9 @@ QListView::item
<property name="text">
<string>About Qt</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
<property name="menuRole">
<enum>QAction::AboutQtRole</enum>
</property>
@@ -499,6 +502,9 @@ QListView::item
<property name="text">
<string>&amp;About LibrePCB</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
<property name="menuRole">
<enum>QAction::AboutRole</enum>
</property>
@@ -511,6 +517,9 @@ QListView::item
<property name="text">
<string>New Project</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionOpen_Project">
<property name="icon">
@@ -520,11 +529,17 @@ QListView::item
<property name="text">
<string>Open Project</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionSwitch_Workspace">
<property name="text">
<string>Switch Workspace</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionWorkspace_Settings">
<property name="icon">
@@ -534,6 +549,9 @@ QListView::item
<property name="text">
<string>Workspace Settings</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
<property name="menuRole">
<enum>QAction::PreferencesRole</enum>
</property>
@@ -549,6 +567,9 @@ QListView::item
<property name="toolTip">
<string>Open Library Manager</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionClose_all_open_projects">
<property name="icon">
@@ -558,10 +579,20 @@ QListView::item
<property name="text">
<string>Close all open projects</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionRescanLibrary">
<action name="actionRescanLibraries">
<property name="icon">
<iconset>
<normaloff>:/img/actions/refresh.png</normaloff>:/img/actions/refresh.png</iconset>
</property>
<property name="text">
<string>Rescan Library</string>
<string>Rescan Libraries</string>
</property>
<property name="shortcut">
<string notr="true">F5</string>
</property>
</action>
<action name="actionOnlineDocumentation">
@@ -573,7 +604,7 @@ QListView::item
<string>Online Documentation</string>
</property>
<property name="shortcut">
<string>F1</string>
<string notr="true">F1</string>
</property>
</action>
<action name="actionOpenWebsite">
@@ -584,6 +615,9 @@ QListView::item
<property name="text">
<string>LibrePCB Website</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
@@ -80,8 +80,7 @@ const CmpSigPinDisplayType& CmpSigPinDisplayType::fromString(
}
throw RuntimeError(
__FILE__, __LINE__,
QString(tr("Invalid component signal pin display type: \"%1\""))
.arg(str));
QString("Invalid component signal pin display type: \"%1\"").arg(str));
}

const QList<CmpSigPinDisplayType>&
@@ -72,7 +72,7 @@ LibraryEditor::LibraryEditor(workspace::Workspace& ws, const FilePath& libFp,
&LibraryEditor::saveTriggered);
connect(mUi->actionShowElementInFileManager, &QAction::triggered, this,
&LibraryEditor::showElementInFileExplorerTriggered);
connect(mUi->actionUpdateLibraryDb, &QAction::triggered,
connect(mUi->actionRescanLibraries, &QAction::triggered,
&mWorkspace.getLibraryDb(),
&workspace::WorkspaceLibraryDb::startLibraryRescan);
connect(mUi->actionCut, &QAction::triggered, this,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.