Skip to content

Commit

Permalink
Update translations consistency and fix errors, drastically improve l…
Browse files Browse the repository at this point in the history
…anguage unit tests
  • Loading branch information
Ruben2776 committed Jan 25, 2025
1 parent 278bcb4 commit 379f4d3
Show file tree
Hide file tree
Showing 33 changed files with 57 additions and 665 deletions.
1 change: 0 additions & 1 deletion src/PicView.Avalonia/ViewModels/ViewModelBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ public void UpdateLanguage()
BlackAndWhite = TranslationHelper.Translation.BlackAndWhite;
NegativeColors = TranslationHelper.Translation.NegativeColors;
Blur = TranslationHelper.Translation.Blur;
DirectionalBlur = TranslationHelper.Translation.DirectionalBlur;
PencilSketch = TranslationHelper.Translation.PencilSketch;
OldMovie = TranslationHelper.Translation.OldMovie;
Posterize = TranslationHelper.Translation.Posterize;
Expand Down
21 changes: 0 additions & 21 deletions src/PicView.Core/Config/Languages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
"Auto": "Auto",
"AutoFitWindow": "Auto tilpas vindue",
"BadArchive": "Arkivet kunne ikke behandles",
"BandedSwirl": "Båndet virvel",
"Bands": "Bånd",
"Base64Image": "Base64 billede",
"BatchResize": "Batch Billedstørrelse",
"BitDepth": "Bit dybde",
"BlackAndWhite": "Sort/hvid",
"Bloom": "Bloom",
"Blur": "Sløring",
"BottomGalleryItemSize": "Billedstørrelse i bundgalleriet",
"BottomGalleryThumbnailStretch": "Udstrækning af billeder i bundgalleriet",
Expand Down Expand Up @@ -92,7 +89,6 @@
"DeletedFile": "Slettede filen",
"Descending": "Faldende",
"DigitalZoom": "Digital zoom",
"DirectionalBlur": "Retningsvis Sløring",
"DisableFadeInButtonsOnHover": "Skjul skjulte knapper, når musen er i kanterne i programmet",
"DiskSize": "Disk størrelse",
"DoubleClick": "Dobbeltklik",
Expand All @@ -104,7 +100,6 @@
"DuplicateFile": "Dupliker fil",
"Effects": "Billedeffekter",
"EffectsTooltip": "Vis billedeffektsvinduet",
"Embossed": "Emboss",
"Enter": "Enter",
"Esc": "Esc",
"EscCloseTooltip": "Lukker nuværende åbne vindue el. menu",
Expand Down Expand Up @@ -145,7 +140,6 @@
"FocalLength35mm": "Brændvidde 35mm",
"Folder": "Mappe",
"Forward": "Fremad",
"FrostyOutline": "Frosty Outline",
"Fstop": "F-stop",
"FullPath": "Filsti",
"Fullscreen": "Fuldskærm",
Expand All @@ -155,8 +149,6 @@
"GenerateThumbnails": "Generer thumbnails",
"GithubRepo": "Github side",
"GlassTheme": "Glas tema",
"GlassTile": "Glasflise",
"Gloom": "Gloom",
"GoBackBy100Images": "Gå 100 billeder tilbage",
"GoBackBy10Images": "Gå 10 billeder tilbage",
"GoToImageAtSpecifiedIndex": "Indlæs billede ved at indtaste numerisk placering",
Expand Down Expand Up @@ -207,7 +199,6 @@
"Minimize": "Minimer",
"MiscSettings": "Diverse indstillinger",
"Modified": "Modificeret",
"Monochrome": "Monokrom",
"MouseDrag": "Træk musen",
"MouseKeyBack": "Mouse knap tilbage",
"MouseKeyForward": "Museknap fremad",
Expand Down Expand Up @@ -240,16 +231,13 @@
"Orientation": "Orientering",
"OutputFolder": "Destination",
"Pan": "Panorering",
"PaperFold": "Papirfoldning",
"PasswordArchive": "Adgangskodebeskyttet arkiv understøttes ikke",
"PasteImageFromClipholder": "Indsæt billede fra udklipsholderen",
"PencilSketch": "Blyantskitse",
"PercentComplete": "% gennemført...",
"Percentage": "Procent",
"PermanentlyDelete": "Slet permanent",
"PhotometricInterpretation": "Fotometrisk fortolkning",
"Pivot": "Omdrejning",
"Pixelate": "Pixeler",
"Pixels": "pixels",
"Portrait": "Portræt",
"Posterize": "Posterize",
Expand Down Expand Up @@ -277,8 +265,6 @@
"RestoreDown": "Gendan",
"Reverse": "Baglæns",
"Right": "Højre",
"Ripple": "Bølge effekt",
"RippleAlt": "Bølge effekt Alt",
"RotateLeft": "Roter til venstre",
"RotateRight": "Roter til højre",
"Rotated": "Roteret",
Expand Down Expand Up @@ -330,9 +316,7 @@
"Size": "Størrelse",
"SizeMp": "Størrelse (mp)",
"SizeTooltip": "Indtast størrelse i pixels eller procent.",
"Sketch": "Skitse",
"Slideshow": "Slideshow",
"SmoothMagnify": "Glat forstørrelse",
"Soft": "Blød",
"Software": "Program",
"Solarize": "Solarize",
Expand All @@ -349,8 +333,6 @@
"StrobeReturnLightDetected": "Strob returneringslys genkendt",
"StrobeReturnLightNotDetected": "returneringslys ikke genkendt",
"Subject": "Emne",
"Swirl": "Virvel",
"TelescopicBlur": "Teleskopisk Sløring",
"Theme": "Tema",
"Thumbnail": "Thumb",
"Tile": "Flise",
Expand All @@ -360,10 +342,8 @@
"ToggleLooping": "Slå looping til/fra",
"ToggleScroll": "Slå scroll til/fra",
"ToggleTaskbarProgress": "Vis fremskridt i proceslinjen",
"ToneMapping": "ToneMapping",
"UnableToRender": "Kan ikke gengive billedet",
"Uncalibrated": "Ikke kalibreret",
"Underwater": "Undersøisk",
"UnexpectedError": "Der skete en ukendt fejl",
"Unflip": "Spejlvend tilbage",
"Uniform": "Ensartet",
Expand All @@ -375,7 +355,6 @@
"UsingTouchpad": "Bruger pegefelt",
"Version": "Version:",
"ViewLicenseFile": "Se licensfilen",
"WaveWarper": "Bølger",
"WhiteBalance": "Hvidbalance",
"WhiteFluorescent": "Hvid fluorescerende",
"Width": "Bredde",
Expand Down
21 changes: 0 additions & 21 deletions src/PicView.Core/Config/Languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
"Auto": "Auto",
"AutoFitWindow": "Fenster automatisch anpassen",
"BadArchive": "Archiv konnte nicht verarbeitet werden",
"BandedSwirl": "Gebänderter Wirbel",
"Bands": "Streifen",
"Base64Image": "Base64-Bild",
"BatchResize": "Stapel-Größenänderung",
"BitDepth": "Farbtiefe",
"BlackAndWhite": "Schwarz & Weiß",
"Bloom": "Blühen",
"Blur": "Verwischen",
"BottomGalleryItemSize": "Größe der Miniaturansichten in der unteren Galerie",
"BottomGalleryThumbnailStretch": "Miniaturbild-Erweiterung in der unteren Galerie",
Expand Down Expand Up @@ -92,7 +89,6 @@
"DeletedFile": "Datei gelöscht",
"Descending": "Absteigend",
"DigitalZoom": "Digitaler Zoom",
"DirectionalBlur": "Richtungsunschärfe",
"DisableFadeInButtonsOnHover": "Fade-in-Schaltflächen bei Mauszeiger deaktivieren",
"DiskSize": "Festplattengröße",
"DoubleClick": "Doppelklick",
Expand All @@ -104,7 +100,6 @@
"DuplicateFile": "Datei duplizieren",
"Effects": "Effekte",
"EffectsTooltip": "Fenster für Bildeffekte anzeigen",
"Embossed": "Erhaben",
"Enter": "Enter",
"Esc": "Esc",
"EscCloseTooltip": "Schließt das aktuell geöffnete Fenster/Menü",
Expand Down Expand Up @@ -145,7 +140,6 @@
"FocalLength35mm": "Brennweite (35mm)",
"Folder": "Ordner",
"Forward": "Vorwärts",
"FrostyOutline": "Eiskalter Umriss",
"Fstop": "F-Stop",
"FullPath": "Vollständiger Pfad",
"Fullscreen": "Vollbild",
Expand All @@ -155,8 +149,6 @@
"GenerateThumbnails": "Miniaturansichten generieren",
"GithubRepo": "Github-Repository",
"GlassTheme": "Glas",
"GlassTile": "Glaskachel",
"Gloom": "Dunkelheit",
"GoBackBy100Images": "100 Bilder zurück gehen",
"GoBackBy10Images": "10 Bilder zurück gehen",
"GoToImageAtSpecifiedIndex": "Zu Bild mit angegebenen Index gehen",
Expand Down Expand Up @@ -207,7 +199,6 @@
"Minimize": "Minimieren",
"MiscSettings": "Sonstige Einstellungen",
"Modified": "Geändert",
"Monochrome": "Einfarbig",
"MouseDrag": "Maus ziehen",
"MouseKeyBack": "Maustaste zurück",
"MouseKeyForward": "Maustaste vorwärts",
Expand Down Expand Up @@ -240,16 +231,13 @@
"Orientation": "Orientierung",
"OutputFolder": "Zielordner",
"Pan": "Schwenken",
"PaperFold": "Papierfalte",
"PasswordArchive": "Passwort geschützte Archive werden nicht unterstützt",
"PasteImageFromClipholder": "Bild von Zwischenablage einfügen",
"PencilSketch": "Bleistiftskizze",
"PercentComplete": "% vollständig...",
"Percentage": "Prozentsatz",
"PermanentlyDelete": "Endgültig löschen",
"PhotometricInterpretation": "Photometrische Interpretation",
"Pivot": "Drehpunkt",
"Pixelate": "Verpixeln",
"Pixels": "Pixel",
"Portrait": "Porträt",
"Posterize": "Posterisieren",
Expand Down Expand Up @@ -277,8 +265,6 @@
"RestoreDown": "Mini-/Maximieren",
"Reverse": "Umkehren",
"Right": "Rechts",
"Ripple": "Wellen",
"RippleAlt": "Wellen Alternative",
"RotateLeft": "Nach links drehen",
"RotateRight": "Nach rechts drehen",
"Rotated": "Gedreht",
Expand Down Expand Up @@ -330,9 +316,7 @@
"Size": "Größe",
"SizeMp": "Größe (mp)",
"SizeTooltip": "Gewünschte Größe in Pixel oder Prozent eingeben.",
"Sketch": "Skizzieren",
"Slideshow": "Diashow",
"SmoothMagnify": "Sanfte Vergrößerung",
"Soft": "Weich",
"Software": "Software",
"Solarize": "Solarisieren",
Expand All @@ -349,8 +333,6 @@
"StrobeReturnLightDetected": "Blitzlicht erkannt",
"StrobeReturnLightNotDetected": "Blitzlicht nicht erkannt",
"Subject": "Thema",
"Swirl": "Wirbel",
"TelescopicBlur": "Teleskopische Unschärfe",
"Theme": "Thema",
"Thumbnail": "Miniatur",
"Tile": "Kachel",
Expand All @@ -360,10 +342,8 @@
"ToggleLooping": "Wiederholung ein-/ausschalten",
"ToggleScroll": "Scrollen umschalten",
"ToggleTaskbarProgress": "Fortschritt in der Taskleiste anzeigen",
"ToneMapping": "Tönungspfade",
"UnableToRender": "Bild kann nicht gerendert werden",
"Uncalibrated": "Nicht kalibriert",
"Underwater": "Unterwasser",
"UnexpectedError": "Es ist ein unbekannter Fehler aufgetreten",
"Unflip": "Umdrehen",
"Uniform": "Gleichmäßig",
Expand All @@ -375,7 +355,6 @@
"UsingTouchpad": "Verwende Touchpad",
"Version": "Version:",
"ViewLicenseFile": "Lizenzdatei ansehen",
"WaveWarper": "Wellenverzerrer",
"WhiteBalance": "Weißabgleich",
"WhiteFluorescent": "Weiß fluoreszierend",
"Width": "Breite",
Expand Down
21 changes: 0 additions & 21 deletions src/PicView.Core/Config/Languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
"Auto": "Auto",
"AutoFitWindow": "Auto fit window",
"BadArchive": "Archive could not be processed",
"BandedSwirl": "Banded Swirl",
"Bands": "Bands",
"Base64Image": "Base64 image",
"BatchResize": "Batch Resize",
"BitDepth": "Bit depth",
"BlackAndWhite": "Black & White",
"Bloom": "Bloom",
"Blur": "Blur",
"BottomGalleryItemSize": "Size of thumbnails in the bottom gallery",
"BottomGalleryThumbnailStretch": "Thumbnail stretch in the bottom gallery",
Expand Down Expand Up @@ -92,7 +89,6 @@
"DeletedFile": "Deleted file",
"Descending": "Descending",
"DigitalZoom": "Digital zoom",
"DirectionalBlur": "Directional Blur",
"DisableFadeInButtonsOnHover": "Disable fade-in buttons on mouse hover",
"DiskSize": "Disk size",
"DoubleClick": "Double Click",
Expand All @@ -104,7 +100,6 @@
"DuplicateFile": "Duplicate file",
"Effects": "Effects",
"EffectsTooltip": "Show image effects window",
"Embossed": "Embossed",
"Enter": "Enter",
"Esc": "Esc",
"EscCloseTooltip": "Closes currently opened window/menu",
Expand Down Expand Up @@ -145,7 +140,6 @@
"FocalLength35mm": "Focal length 35mm",
"Folder": "Folder",
"Forward": "Forward",
"FrostyOutline": "Frosty Outline",
"Fstop": "F-stop",
"FullPath": "Full path",
"Fullscreen": "Fullscreen",
Expand All @@ -155,8 +149,6 @@
"GenerateThumbnails": "Generate thumbnails",
"GithubRepo": "Github repository",
"GlassTheme": "Glass Theme",
"GlassTile": "Glass Tile",
"Gloom": "Gloom",
"GoBackBy100Images": "Go Back by 100 Images",
"GoBackBy10Images": "Go Back by 10 Images",
"GoToImageAtSpecifiedIndex": "Go to image at specified index",
Expand Down Expand Up @@ -207,7 +199,6 @@
"Minimize": "Minimize",
"MiscSettings": "Misc settings",
"Modified": "Modified",
"Monochrome": "Monochrome",
"MouseDrag": "Mouse drag",
"MouseKeyBack": "Mouse key back",
"MouseKeyForward": "Mouse key forward",
Expand Down Expand Up @@ -240,16 +231,13 @@
"Orientation": "Orientation",
"OutputFolder": "Output folder",
"Pan": "Pan",
"PaperFold": "Paper Fold",
"PasswordArchive": "Password protected archive not supported",
"PasteImageFromClipholder": "Paste image from clip-holder",
"PencilSketch": "Pencil Sketch",
"PercentComplete": "% complete...",
"Percentage": "Percentage",
"PermanentlyDelete": "Permanently delete",
"PhotometricInterpretation": "Photometric interpretation",
"Pivot": "Pivot",
"Pixelate": "Pixelate",
"Pixels": "pixels",
"Portrait": "Portrait",
"Posterize": "Posterize",
Expand Down Expand Up @@ -277,8 +265,6 @@
"RestoreDown": "Restore Down",
"Reverse": "Reverse",
"Right": "Right",
"Ripple": "Ripple",
"RippleAlt": "Ripple Alt",
"RotateLeft": "Rotate left",
"RotateRight": "Rotate right",
"Rotated": "Rotated",
Expand Down Expand Up @@ -330,9 +316,7 @@
"Size": "Size",
"SizeMp": "Size (mp)",
"SizeTooltip": "Enter desired size in pixels or percentage.",
"Sketch": "Sketch",
"Slideshow": "Slideshow",
"SmoothMagnify": "Smooth Magnify",
"Soft": "Soft",
"Software": "Software",
"Solarize": "Solarize",
Expand All @@ -349,8 +333,6 @@
"StrobeReturnLightDetected": "Strobe return light detected",
"StrobeReturnLightNotDetected": "Strobe return light not detected",
"Subject": "Subject",
"Swirl": "Swirl",
"TelescopicBlur": "Telescopic Blur",
"Theme": "Theme",
"Thumbnail": "Thumb",
"Tile": "Tile",
Expand All @@ -360,10 +342,8 @@
"ToggleLooping": "Toggle looping",
"ToggleScroll": "Toggle scroll",
"ToggleTaskbarProgress": "Display taskbar progress",
"ToneMapping": "ToneMapping",
"UnableToRender": "Unable to render image",
"Uncalibrated": "Uncalibrated",
"Underwater": "Underwater",
"UnexpectedError": "An unknown error occured",
"Unflip": "Unflip",
"Uniform": "Uniform",
Expand All @@ -375,7 +355,6 @@
"UsingTouchpad": "Using touchpad",
"Version": "Version:",
"ViewLicenseFile": "View license file",
"WaveWarper": "Wave Warper",
"WhiteBalance": "White balance",
"WhiteFluorescent": "White fluorescent",
"Width": "Width",
Expand Down
Loading

0 comments on commit 379f4d3

Please sign in to comment.