This commit is contained in:
Thibault Deckers 2022-03-04 18:11:39 +09:00
parent 47b95ae402
commit 01178657a9
7 changed files with 40 additions and 42 deletions

View file

@ -154,10 +154,10 @@
"videoLoopModeShortOnly": "Short videos only",
"videoLoopModeAlways": "Always",
"videoControlsNone": "None",
"videoControlsPlay": "Play",
"videoControlsPlaySeek": "Play & seek",
"videoControlsPlayOutside": "Open with other player",
"videoControlsNone": "None",
"mapStyleGoogleNormal": "Google Maps",
"mapStyleGoogleHybrid": "Google Maps (Hybrid)",

View file

@ -68,6 +68,8 @@
"entryActionRemoveFavourite": "Retirer des favoris",
"videoActionCaptureFrame": "Capturer limage",
"videoActionMute": "Couper le son",
"videoActionUnmute": "Rétablir le son",
"videoActionPause": "Pause",
"videoActionPlay": "Lire",
"videoActionReplay10": "Reculer de 10 secondes",
@ -112,6 +114,11 @@
"videoLoopModeShortOnly": "Courtes vidéos seulement",
"videoLoopModeAlways": "Toujours",
"videoControlsPlay": "Lecture",
"videoControlsPlaySeek": "Lecture & déplacement",
"videoControlsPlayOutside": "Ouvrir avec un autre lecteur",
"videoControlsNone": "Aucun",
"mapStyleGoogleNormal": "Google Maps",
"mapStyleGoogleHybrid": "Google Maps (Satellite)",
"mapStyleGoogleTerrain": "Google Maps (Relief)",
@ -213,7 +220,7 @@
"removeEntryMetadataDialogTitle": "Retrait de métadonnées",
"removeEntryMetadataDialogMore": "Voir plus",
"removeEntryMetadataMotionPhotoXmpWarningDialogMessage": "Les métadonnées XMP sont nécessaires pour jouer la vidéo dune photo animée.\n\nVoulez-vous vraiment les supprimer ?",
"removeEntryMetadataMotionPhotoXmpWarningDialogMessage": "Les métadonnées XMP sont nécessaires pour lire la vidéo dune photo animée.\n\nVoulez-vous vraiment les supprimer ?",
"videoSpeedDialogLabel": "Vitesse de lecture",
@ -431,6 +438,7 @@
"settingsViewerShowInformation": "Afficher les détails",
"settingsViewerShowInformationSubtitle": "Afficher les titre, date, lieu, etc.",
"settingsViewerShowShootingDetails": "Afficher les détails de prise de vue",
"settingsViewerShowOverlayThumbnails": "Afficher les vignettes",
"settingsViewerEnableOverlayBlurEffect": "Effets de flou",
"settingsVideoPageTitle": "Réglages vidéo",
@ -456,6 +464,13 @@
"settingsSubtitleThemeTextAlignmentCenter": "centré",
"settingsSubtitleThemeTextAlignmentRight": "droite",
"settingsVideoControlsTile": "Contrôles",
"settingsVideoControlsTitle": "Contrôles",
"settingsVideoButtonsTile": "Boutons",
"settingsVideoButtonsTitle": "Boutons",
"settingsVideoGestureDoubleTapTogglePlay": "Appuyer deux fois pour lire ou mettre en pause",
"settingsVideoGestureSideDoubleTapSeek": "Appuyer deux fois sur les bords de lécran pour reculer ou avancer",
"settingsSectionPrivacy": "Confidentialité",
"settingsAllowInstalledAppAccess": "Autoriser laccès à linventaire des apps",
"settingsAllowInstalledAppAccessSubtitle": "Pour un affichage amélioré des albums",

View file

@ -68,6 +68,8 @@
"entryActionRemoveFavourite": "즐겨찾기에서 삭제",
"videoActionCaptureFrame": "프레임 캡처",
"videoActionMute": "음소거",
"videoActionUnmute": "음소거 해제",
"videoActionPause": "일시정지",
"videoActionPlay": "재생",
"videoActionReplay10": "10초 뒤로 탐색",
@ -112,6 +114,11 @@
"videoLoopModeShortOnly": "짧은 동영상만 반복",
"videoLoopModeAlways": "항상 반복",
"videoControlsPlay": "재생",
"videoControlsPlaySeek": "재생 및 탐색",
"videoControlsPlayOutside": "다른 앱에서 열기",
"videoControlsNone": "없음",
"mapStyleGoogleNormal": "구글 지도",
"mapStyleGoogleHybrid": "구글 지도 (위성)",
"mapStyleGoogleTerrain": "구글 지도 (지형)",
@ -431,6 +438,7 @@
"settingsViewerShowInformation": "상세 정보 표시",
"settingsViewerShowInformationSubtitle": "제목, 날짜, 장소 등 표시",
"settingsViewerShowShootingDetails": "촬영 정보 표시",
"settingsViewerShowOverlayThumbnails": "섬네일 표시",
"settingsViewerEnableOverlayBlurEffect": "흐림 효과",
"settingsVideoPageTitle": "동영상 설정",
@ -456,6 +464,13 @@
"settingsSubtitleThemeTextAlignmentCenter": "가운데",
"settingsSubtitleThemeTextAlignmentRight": "오른쪽",
"settingsVideoControlsTile": "제어",
"settingsVideoControlsTitle": "제어",
"settingsVideoButtonsTile": "버튼",
"settingsVideoButtonsTitle": "버튼",
"settingsVideoGestureDoubleTapTogglePlay": "두 번 탭해서 재생이나 일시정지하기",
"settingsVideoGestureSideDoubleTapSeek": "화면 측면에서 두 번 탭해서 탐색하기",
"settingsSectionPrivacy": "개인정보 보호",
"settingsAllowInstalledAppAccess": "설치된 앱의 목록 접근 허용",
"settingsAllowInstalledAppAccessSubtitle": "앨범 표시 개선을 위해",

View file

@ -19,4 +19,4 @@ enum UnitSystem { metric, imperial }
enum VideoLoopMode { never, shortOnly, always }
enum VideoControls { none, play, playSeek, playOutside }
enum VideoControls { play, playSeek, playOutside, none }

View file

@ -6,14 +6,14 @@ import 'enums.dart';
extension ExtraVideoControls on VideoControls {
String getName(BuildContext context) {
switch (this) {
case VideoControls.none:
return context.l10n.videoControlsNone;
case VideoControls.play:
return context.l10n.videoControlsPlay;
case VideoControls.playSeek:
return context.l10n.videoControlsPlaySeek;
case VideoControls.playOutside:
return context.l10n.videoControlsPlayOutside;
case VideoControls.none:
return context.l10n.videoControlsNone;
}
}
}

View file

@ -28,8 +28,6 @@ class VideoControlRow extends StatelessWidget {
selector: (context, s) => s.videoControls,
builder: (context, videoControls, child) {
switch (videoControls) {
case VideoControls.none:
return const SizedBox();
case VideoControls.play:
return Padding(
padding: const EdgeInsetsDirectional.only(start: padding),
@ -70,6 +68,8 @@ class VideoControlRow extends StatelessWidget {
padding: const EdgeInsetsDirectional.only(start: padding),
child: _buildIconButton(context, EntryAction.open, enabled: !trashed),
);
case VideoControls.none:
return const SizedBox();
}
},
);

View file

@ -3,10 +3,10 @@
"entryActionConvert",
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"videoControlsNone",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
@ -19,26 +19,10 @@
"es": [
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
"settingsVideoButtonsTile",
"settingsVideoButtonsTitle",
"settingsVideoGestureDoubleTapTogglePlay",
"settingsVideoGestureSideDoubleTapSeek"
],
"fr": [
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
@ -51,26 +35,10 @@
"id": [
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
"settingsVideoButtonsTile",
"settingsVideoButtonsTitle",
"settingsVideoGestureDoubleTapTogglePlay",
"settingsVideoGestureSideDoubleTapSeek"
],
"ko": [
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
@ -83,10 +51,10 @@
"pt": [
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"videoControlsNone",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",
@ -100,10 +68,10 @@
"entryActionConvert",
"videoActionMute",
"videoActionUnmute",
"videoControlsNone",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"videoControlsNone",
"settingsViewerShowOverlayThumbnails",
"settingsVideoControlsTile",
"settingsVideoControlsTitle",