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

feat(locale): add German translations - community PR #3697

Merged
merged 3 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions extensions/default/src/hpMNGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const hpMN: Types.HangingProtocol.Protocol = {
constraint: {
greaterThan: { value: 0 },
},
required: true,
},
// This display set will select the specified items by preference
// It has no affect if nothing is specified in the URL.
Expand Down
2 changes: 1 addition & 1 deletion modes/basic-test-mode/src/toolbarButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ const toolbarButtons: Button[] = [
context: 'CORNERSTONE',
},
],
'Flip Horizontal'
'Flip Horizontally'
),
_createToggleButton(
'StackImageSync',
Expand Down
14 changes: 14 additions & 0 deletions platform/i18n/src/locales/de/AboutModal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"Browser": "Browser",
"Build Number": "Build-Nummer",
"Latest Master Commits": "Letzter Master Commit",
"More details": "Mehr Details",
"Name": "Name",
"About OHIF Viewer": "Über OHIF Viewer",
"OS": "OS",
"Report an issue": "Ein Problem melden",
"Repository URL": "Repository URL",
"Value": "Wert",
"Version Information": "Informationen zur Version",
"Visit the forum": "Besuchen Sie das Forum"
}
50 changes: 50 additions & 0 deletions platform/i18n/src/locales/de/Buttons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"Acquired": "Akquiriert",
"Angle": "Winkel",
"Axial": "Axial",
"Bidirectional": "Bidirektional",
"Brush": "Pinsel",
"CINE": "CINE",
"Cancel": "Abbrechen",
"Circle": "Kreis",
"Clear": "Leeren",
"Coronal": "Koronal",
"Crosshairs": "Fadenkreuz",
"Download": "Download",
"Ellipse": "Ellipse",
"Elliptical": "Elliptisch",
"Flip Horizontally": "Horizontal spiegeln",
"Flip Vertically": "Vertikal spiegeln",
"Freehand": "Freihand",
"Invert": "Invertieren",
"Invert Colors": "Invertieren",
"Layout": "$t(Common:Layout)",
"Grid Layout": "Rasterlayout",
"Length": "Länge",
"Levels": "Level",
"Window Level": "Helligkeit/Kontrast",
"Magnify": "Vergrössern",
"Manual": "Manuell",
"Measurements": "Messungen",
"More": "$t(Common:More)",
"Next": "$t(Common:Next)",
"Pan": "Schwenken",
"Play": "$t(Common:Play)",
"Previous": "$t(Common:Previous)",
"Probe": "Probe",
"ROI Window": "ROI Fenster",
"Rectangle": "Rechteck",
"Reset": "$t(Common:Reset)",
"Reset View": "$t(Common:Reset)",
"Reset to Defaults": "Auf Default zurücksetzen",
"Rotate Right": "Nach rechts drehen",
"Rotate +90": "Drehen +90",
"Sagittal": "Sagittal",
"Save": "Speichern",
"Stack Scroll": "Stack Scroll",
"Stop": "$t(Common:Stop)",
"Themes": "Themen",
"Zoom": "Zoomen",
"More Tools": "Weitere Werkzeuge",
"More Measure Tools": "Weitere Messwerkzeuge"
}
8 changes: 8 additions & 0 deletions platform/i18n/src/locales/de/CineDialog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Next image": "Nächstes Bild",
"Play / Stop": "$t(Common:Play) / $t(Common:Stop)",
"Previous image": "Vorheriges Bild",
"Skip to first image": "Zum ersten Bild springen",
"Skip to last image": "Zum letzten Bild springen",
"fps": "fps"
}
16 changes: 16 additions & 0 deletions platform/i18n/src/locales/de/Common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"Close": "Schliessen",
"Image": "Bild",
"Layout": "Layout",
"Measurements": "Messungen",
"More": "Mehr",
"Next": "Nächste",
"Play": "Abspielen",
"Previous": "Vorherige",
"Reset": "Zurücksetzen",
"RowsPerPage": "Zeilen pro Seite",
"Series": "Serien",
"Show": "Anzeigen",
"Stop": "Stoppen",
"StudyDate": "Studiendatum"
}
5 changes: 5 additions & 0 deletions platform/i18n/src/locales/de/DatePicker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Clear dates": "Daten löschen",
"End Date": "Enddatum",
"Start Date": "Startdatum"
}
8 changes: 8 additions & 0 deletions platform/i18n/src/locales/de/Header.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"About": "Über",
"Back to Viewer": "Zurück zum Viewer",
"INVESTIGATIONAL USE ONLY": "NUR FÜR FORSCHUNGSZWECKE",
"Options": "Optionen",
"Preferences": "Einstellungen",
"Study list": "Studienliste"
}
9 changes: 9 additions & 0 deletions platform/i18n/src/locales/de/MeasurementTable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Criteria nonconformities": "Kriterien für Nichtkonformitäten",
"Delete": "Löschen",
"Description": "Beschreibung",
"MAX": "MAX",
"NonTargets": "NonTargets",
"Relabel": "Relabel",
"Targets": "Targets"
}
13 changes: 13 additions & 0 deletions platform/i18n/src/locales/de/StudyList.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"AccessionNumber": "Eingangsnummer",
"Accession": "Eingangsnummer",
"Empty": "Leer",
"MRN": "MRN",
"Modality": "Modalität",
"Patient Name": "Patientenname",
"Study date": "Studiendatum",
"Description": "Beschreibung",
"Study list": "Studienliste",
"Instances": "Instanzen",
"Studies": "Studien"
}
11 changes: 11 additions & 0 deletions platform/i18n/src/locales/de/UserPreferencesModal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Cancel": "$t(Buttons:Cancel)",
"No hotkeys found": "Keine Hotkeys gefunden.",
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
"ResetDefaultMessage": "Einstellungen zurückgesetzt. Bitte speichern.",
"Save": "$t(Buttons:Save)",
"SaveMessage": "Gespeichert",
"User Preferences": "Benutzereinstellungen",
"Language": "Sprache",
"General": "Allgemein"
}
14 changes: 14 additions & 0 deletions platform/i18n/src/locales/de/ViewportDownloadForm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"emptyFilenameError": "Der Dateiname darf nicht leer sein.",
"fileType": "Dateityp",
"filename": "Dateiname",
"formTitle": "Bitte geben Sie die Grösse, den Dateinamen und den gewünschten Typ für das Bild an.",
"imageHeight": "Höhe (px)",
"imagePreview": "Vorschau",
"imageWidth": "Breite (px)",
"keepAspectRatio": "Seitenverhältnis beibehalten",
"loadingPreview": "Vorschau laden...",
"minHeightError": "Die Mindesthöhe beträgt 100px.",
"minWidthError": "Die Mindestbreite beträgt 100px.",
"showAnnotations": "Annotationen anzeigen"
}
25 changes: 25 additions & 0 deletions platform/i18n/src/locales/de/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import AboutModal from './AboutModal.json';
import Buttons from './Buttons.json';
import CineDialog from './CineDialog.json';
import Common from './Common.json';
import DatePicker from './DatePicker.json';
import Header from './Header.json';
import MeasurementTable from './MeasurementTable.json';
import StudyList from './StudyList.json';
import UserPreferencesModal from './UserPreferencesModal.json';
import ViewportDownloadForm from './ViewportDownloadForm.json';

export default {
de: {
AboutModal,
Buttons,
CineDialog,
Common,
DatePicker,
Header,
MeasurementTable,
StudyList,
UserPreferencesModal,
ViewportDownloadForm,
},
};
2 changes: 2 additions & 0 deletions platform/i18n/src/locales/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import tr_TR from './tr-TR/';
import ar from './ar/';
import de from './de';
import en_US from './en-US/';
import es from './es/';
import fr from './fr/';
Expand All @@ -13,6 +14,7 @@ import test_lng from './test-LNG/';
export default {
...ar,
...tr_TR,
...de,
...en_US,
...es,
...fr,
Expand Down
Loading