- R mirrors the view about the viewport centre and clears the active effects (same reset as double right click); pressing R again restores the original orientation. Pan/zoom are kept. - Image switch, fill/fit toggle and right double click also clear the flip. - Crop save (Ctrl+S) mirrors the output too, so the saved JPEG matches the on-screen view (verified in combination with rotation). - Shortcut lists (tr/en), README and CHANGELOG updated; deb rebuilt as 1.6.0.
67 lines
1.8 KiB
Dart
67 lines
1.8 KiB
Dart
// ignore: unused_import
|
|
import 'package:intl/intl.dart' as intl;
|
|
import 'app_localizations.dart';
|
|
|
|
// ignore_for_file: type=lint
|
|
|
|
/// The translations for English (`en`).
|
|
class AppLocalizationsEn extends AppLocalizations {
|
|
AppLocalizationsEn([String locale = 'en']) : super(locale);
|
|
|
|
@override
|
|
String get settingsTitle => 'Settings';
|
|
|
|
@override
|
|
String get sortBy => 'Sort by';
|
|
|
|
@override
|
|
String get sortByTime => 'By time';
|
|
|
|
@override
|
|
String get sortByName => 'By name';
|
|
|
|
@override
|
|
String get appDescription =>
|
|
'Ultra-lightweight and fast image viewer. Open images and use arrows or keyboard keys to navigate.';
|
|
|
|
@override
|
|
String get shortcuts => 'Shortcuts';
|
|
|
|
@override
|
|
String get shortcutsList =>
|
|
'• Left/Right arrow — previous/next image\n• Ctrl+S — save visible area (JPEG 93)\n• Ctrl+Q — close window\n• Ctrl+Shift+Q — close all windows\n• Double click — toggle fill/fit\n• Right-drag — contrast\n• Shift+right-drag — rotate\n• Ctrl+right-drag — saturation\n• Ctrl+Shift+right-drag — brightness\n• R — flip horizontally (resets effects, press again to undo)';
|
|
|
|
@override
|
|
String get print => 'Print';
|
|
|
|
@override
|
|
String get close => 'Close';
|
|
|
|
@override
|
|
String get saveCrop => 'Save visible area (JPEG 93)';
|
|
|
|
@override
|
|
String cropSaved(String path) {
|
|
return 'Saved: $path';
|
|
}
|
|
|
|
@override
|
|
String get cropFileExists =>
|
|
'A file with the same name already exists — nothing was written';
|
|
|
|
@override
|
|
String get cropUnsupported => 'This image format cannot be saved as a crop';
|
|
|
|
@override
|
|
String get cropFailed => 'Failed to save crop';
|
|
|
|
@override
|
|
String get dragDropHint => 'Drag images here\nor press Ctrl+O to open';
|
|
|
|
@override
|
|
String get dropHere => 'Drop';
|
|
|
|
@override
|
|
String get imageLoadError => 'Failed to load image';
|
|
}
|