mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-16 15:33:57 +00:00
Added missing strings to translation files (#2682)
* Added missing strings to translation files * Added missing strings to translation files
This commit is contained in:
@@ -164,25 +164,25 @@ void ShortcutsWidget::loadShortcuts()
|
||||
if (shortcutName == "TYPE_COPY") {
|
||||
if (m_config.copyOnDoubleClick()) {
|
||||
m_shortcuts << (QStringList() << "" << tool->description()
|
||||
<< "Left Double-click");
|
||||
<< tr("Left Double-click"));
|
||||
}
|
||||
}
|
||||
delete tool;
|
||||
}
|
||||
|
||||
// additional tools that don't have their own buttons
|
||||
appendShortcut("TYPE_TOGGLE_PANEL", "Toggle side panel");
|
||||
appendShortcut("TYPE_RESIZE_LEFT", "Resize selection left 1px");
|
||||
appendShortcut("TYPE_RESIZE_RIGHT", "Resize selection right 1px");
|
||||
appendShortcut("TYPE_RESIZE_UP", "Resize selection up 1px");
|
||||
appendShortcut("TYPE_RESIZE_DOWN", "Resize selection down 1px");
|
||||
appendShortcut("TYPE_SELECT_ALL", "Select entire screen");
|
||||
appendShortcut("TYPE_MOVE_LEFT", "Move selection left 1px");
|
||||
appendShortcut("TYPE_MOVE_RIGHT", "Move selection right 1px");
|
||||
appendShortcut("TYPE_MOVE_UP", "Move selection up 1px");
|
||||
appendShortcut("TYPE_MOVE_DOWN", "Move selection down 1px");
|
||||
appendShortcut("TYPE_COMMIT_CURRENT_TOOL", "Commit text in text area");
|
||||
appendShortcut("TYPE_DELETE_CURRENT_TOOL", "Delete current tool");
|
||||
appendShortcut("TYPE_TOGGLE_PANEL", tr("Toggle side panel"));
|
||||
appendShortcut("TYPE_RESIZE_LEFT", tr("Resize selection left 1px"));
|
||||
appendShortcut("TYPE_RESIZE_RIGHT", tr("Resize selection right 1px"));
|
||||
appendShortcut("TYPE_RESIZE_UP", tr("Resize selection up 1px"));
|
||||
appendShortcut("TYPE_RESIZE_DOWN", tr("Resize selection down 1px"));
|
||||
appendShortcut("TYPE_SELECT_ALL", tr("Select entire screen"));
|
||||
appendShortcut("TYPE_MOVE_LEFT", tr("Move selection left 1px"));
|
||||
appendShortcut("TYPE_MOVE_RIGHT", tr("Move selection right 1px"));
|
||||
appendShortcut("TYPE_MOVE_UP", tr("Move selection up 1px"));
|
||||
appendShortcut("TYPE_MOVE_DOWN", tr("Move selection down 1px"));
|
||||
appendShortcut("TYPE_COMMIT_CURRENT_TOOL", tr("Commit text in text area"));
|
||||
appendShortcut("TYPE_DELETE_CURRENT_TOOL", tr("Delete current tool"));
|
||||
|
||||
// non-editable shortcuts have an empty shortcut name
|
||||
|
||||
@@ -191,8 +191,8 @@ void ShortcutsWidget::loadShortcuts()
|
||||
|
||||
// Global hotkeys
|
||||
#if defined(Q_OS_MACOS)
|
||||
appendShortcut("TAKE_SCREENSHOT", "Capture screen");
|
||||
appendShortcut("SCREENSHOT_HISTORY", "Screenshot history");
|
||||
appendShortcut("TAKE_SCREENSHOT", tr("Capture screen"));
|
||||
appendShortcut("SCREENSHOT_HISTORY", tr("Screenshot history"));
|
||||
#elif defined(Q_OS_WIN)
|
||||
m_shortcuts << (QStringList() << "" << QObject::tr("Screenshot history")
|
||||
<< "Shift+Print Screen");
|
||||
|
||||
@@ -55,10 +55,10 @@ void ColorGrabWidget::startGrabbing()
|
||||
qApp->setOverrideCursor(Qt::CrossCursor);
|
||||
qApp->installEventFilter(this);
|
||||
OverlayMessage::pushKeyMap(
|
||||
{ { "Enter or Left Click", tr("Accept color") },
|
||||
{ "Hold Left Click", tr("Precisely select color") },
|
||||
{ "Space or Right Click", tr("Toggle magnifier") },
|
||||
{ "Esc", tr("Cancel") } });
|
||||
{ { tr("Enter or Left Click"), tr("Accept color") },
|
||||
{ tr("Hold Left Click"), tr("Precisely select color") },
|
||||
{ tr("Space or Right Click"), tr("Toggle magnifier") },
|
||||
{ tr("Esc"), tr("Cancel") } });
|
||||
}
|
||||
|
||||
QColor ColorGrabWidget::color()
|
||||
|
||||
Reference in New Issue
Block a user