Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into AppIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
alxlpn committed Jan 11, 2025
2 parents d045e49 + 59141b9 commit 5438f01
Show file tree
Hide file tree
Showing 54 changed files with 2,872 additions and 5 deletions.
2 changes: 1 addition & 1 deletion desktop/src/ui/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export async function configurePlatform (): Promise<void> {
setMetadata(aiBot.metadata.EndpointURL, config.AI_URL)
setMetadata(presence.metadata.PresenceUrl, config.PRESENCE_URL ?? '')

const languages = myBranding.languages !== undefined && myBranding.languages !== '' ? myBranding.languages.split(',').map((l) => l.trim()) : ['en', 'ru', 'es', 'pt', 'zh', 'fr', 'cs', 'it']
const languages = myBranding.languages !== undefined && myBranding.languages !== '' ? myBranding.languages.split(',').map((l) => l.trim()) : ['en', 'ru', 'es', 'pt', 'zh', 'fr', 'cs', 'it', 'de']

setMetadata(uiPlugin.metadata.Languages, languages)

Expand Down
4 changes: 2 additions & 2 deletions dev/prod/public/branding.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"localhost:8080": {
"title": "Huly",
"languages": "en,ru,pt,es,zh,fr",
"languages": "en,ru,pt,es,zh,fr,de",
"defaultLanguage": "en",
"defaultApplication": "tracker",
"defaultSpace": "tracker:project:DefaultProject",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"localhost:8087": {
"title": "Huly",
"languages": "en,ru,pt,es,zh,fr",
"languages": "en,ru,pt,es,zh,fr,de",
"defaultLanguage": "en",
"defaultApplication": "tracker",
"defaultSpace": "tracker:project:DefaultProject",
Expand Down
2 changes: 1 addition & 1 deletion dev/prod/src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export async function configurePlatform() {
setMetadata(sign.metadata.SignURL, config.SIGN_URL)
setMetadata(presence.metadata.PresenceUrl, config.PRESENCE_URL ?? '')

const languages = myBranding.languages ? (myBranding.languages as string).split(',').map((l) => l.trim()) : ['en', 'ru', 'es', 'pt', 'zh', 'fr', 'cs', 'it']
const languages = myBranding.languages ? (myBranding.languages as string).split(',').map((l) => l.trim()) : ['en', 'ru', 'es', 'pt', 'zh', 'fr', 'cs', 'it', 'de']

setMetadata(uiPlugin.metadata.Languages, languages)

Expand Down
67 changes: 67 additions & 0 deletions packages/core/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"string": {
"Id": "Id",
"Space": "Arbeitsbereich",
"Spaces": "Arbeitsbereiche",
"SpacesDescription": "Alle Arbeitsbereichstypen verwalten",
"TypedSpace": "Typisierter Arbeitsbereich",
"SpaceType": "Arbeitsbereichstyp",
"Modified": "Geändert",
"ModifiedDate": "Änderungsdatum",
"ModifiedBy": "Geändert von",
"Class": "Klasse",
"AttachedTo": "Angehängt an",
"AttachedToClass": "Angehängt an Klasse",
"Name": "Name",
"Description": "Beschreibung",
"ShortDescription": "Kurzbeschreibung",
"Descriptor": "Bezeichner",
"TargetClass": "Zielklasse",
"Role": "Rolle",
"Roles": "Rollen",
"Private": "Privat",
"Archived": "Archiviert",
"ClassLabel": "Typ",
"ClassPropertyLabel": "Bezeichnung",
"String": "Text",
"Markup": "Formatierter Text",
"Number": "Zahl",
"Boolean": "Boolesch",
"Timestamp": "Zeitstempel",
"Date": "Datum",
"IntlString": "Internationaler Text",
"Ref": "Referenz",
"Collection": "Sammlung",
"Array": "Liste",
"Enum": "Aufzählung",
"Members": "Mitglieder",
"Hyperlink": "URL",
"MarkupBlobRef": "Kollaborativ",
"Object": "Objekt",
"System": "System",
"CreatedBy": "Erstellt von",
"CreatedDate": "Erstellungsdatum",
"Status": "Status",
"StatusCategory": "Statuskategorie",
"Account": "Konto",
"Rank": "Rang",
"Owners": "Eigentümer",
"Permission": "Berechtigung",
"CreateObject": "Objekt erstellen",
"UpdateObject": "Objekt aktualisieren",
"DeleteObject": "Objekt löschen",
"ForbidDeleteObject": "Objekt löschen verbieten",
"UpdateSpace": "Arbeitsbereich aktualisieren",
"ArchiveSpace": "Arbeitsbereich archivieren",
"CreateObjectDescription": "Gewährt Benutzern die Möglichkeit, Objekte im Arbeitsbereich zu erstellen",
"UpdateObjectDescription": "Gewährt Benutzern die Möglichkeit, Objekte im Arbeitsbereich zu aktualisieren",
"DeleteObjectDescription": "Gewährt Benutzern die Möglichkeit, Objekte im Arbeitsbereich zu löschen",
"ForbidDeleteObjectDescription": "Verbietet Benutzern das Löschen von Objekten im Arbeitsbereich",
"UpdateSpaceDescription": "Gewährt Benutzern die Möglichkeit, den Arbeitsbereich zu aktualisieren",
"ArchiveSpaceDescription": "Gewährt Benutzern die Möglichkeit, den Arbeitsbereich zu archivieren",
"AutoJoin": "Automatisch beitreten",
"AutoJoinDescr": "Neue Mitarbeiter automatisch diesem Arbeitsbereich hinzufügen",
"BlobSize": "Größe",
"BlobContentType": "Inhaltstyp"
}
}
24 changes: 24 additions & 0 deletions packages/platform/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"status": {
"LoadingPlugin": "Plugin {plugin} wird geladen...",
"UnknownError": "Unbekannter Fehler: {message}",
"InvalidId": "Ungültige ID: {id}",
"BadRequest": "Fehlerhafte Anfrage",
"Forbidden": "Zugriff verweigert",
"ExpiredLink": "Dieser Einladungslink ist abgelaufen",
"Unauthorized": "Nicht autorisiert",
"UnknownMethod": "Unbekannte Methode: {method}",
"InternalServerError": "Interner Serverfehler",
"MaintenanceWarning": "Wartung geplant in {time, plural, =1 {weniger als einer Minute} other {# Minuten}}",
"AccountNotFound": "Konto nicht gefunden",
"AccountNotConfirmed": "Konto nicht bestätigt",
"WorkspaceNotFound": "Arbeitsbereich nicht gefunden",
"InvalidPassword": "Ungültiges Passwort",
"AccountAlreadyExists": "Konto existiert bereits",
"WorkspaceRateLimit": "Server ist ausgelastet, bitte warten Sie einen Moment und versuchen Sie es erneut",
"AccountAlreadyConfirmed": "Konto wurde bereits bestätigt",
"WorkspaceAlreadyExists": "Arbeitsbereich existiert bereits",
"InvalidOtp": "Ungültiger Code",
"InviteNotFound": "Einladung mit E-Mail: {email} nicht gefunden."
}
}
5 changes: 5 additions & 0 deletions packages/platform/src/__tests__/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"string": {
"loadingPlugin": "Plugin '<b>'{plugin}'</b>' wird geladen..."
}
}
46 changes: 46 additions & 0 deletions packages/presentation/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"string": {
"Create": "Erstellen",
"Cancel": "Abbrechen",
"Ok": "Ok",
"Save": "Speichern",
"Saved": "Gespeichert...",
"Download": "Herunterladen",
"Delete": "Löschen",
"Close": "Schließen",
"NotSelected": "Nicht ausgewählt",
"Deselect": "Auswahl aufheben",
"Archived": "(archiviert)",
"AddSocialLinks": "Social Media Links hinzufügen",
"EditSocialLinks": "Social Media Links bearbeiten",
"Change": "Ändern",
"Remove": "Entfernen",
"Search": "Suchen...",
"Spaces": "Bereiche",
"NumberSpaces": "{count, plural, =0 {In} =1 {In 1 Bereich} other {In # Bereichen}}",
"InThis": "In diesem {space}",
"NoMatchesInThis": "Keine Treffer in diesem {space}",
"NoMatchesFound": "Keine Treffer gefunden",
"NotInThis": "Nicht in diesem {space}",
"Match": "Treffer",
"Add": "Hinzufügen",
"Edit": "Bearbeiten",
"DocumentPreview": "Vorschau",
"MakePrivate": "Privat machen",
"MakePrivateDescription": "Nur Mitglieder können es sehen",
"Created": "Erstellt",
"NoResults": "Keine Ergebnisse gefunden",
"Next": "Weiter",
"FailedToPreview": "Vorschau fehlgeschlagen",
"ContentType": "Inhaltstyp",
"ContentTypeNotSupported": "Vorschau ist für diesen Inhaltstyp nicht verfügbar",
"StartDrawing": "Darüber kritzeln",
"DrawingHistory": "Kritzel-Verlauf",
"ColorAdd": "Farbvoreinstellung hinzufügen",
"ColorRemove": "Farbvoreinstellung entfernen",
"ColorReset": "Farbvoreinstellungen zurücksetzen"
},
"status": {
"FileTooLarge": "Datei zu groß"
}
}
1 change: 1 addition & 0 deletions packages/ui/lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {1 minuta před} other {# minut před}}",
"HoursBefore": "{hours, plural, =1 {1 hodina před} other {# hodin před}}",
"DaysBefore": "{days, plural, =1 {1 den před} other {# dní před}}",
Expand Down
102 changes: 102 additions & 0 deletions packages/ui/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"string": {
"EditBoxPlaceholder": "Text eingeben...",
"Ok": "Ok",
"Cancel": "Abbrechen",
"Save": "Speichern",
"Publish": "Veröffentlichen",
"SaveDraft": "Entwurf speichern",
"MinutesAgo": "{minutes, plural, =0 {vor weniger als einer Minute} =1 {vor einer Minute} other {vor # Minuten}}",
"HoursAgo": "{hours, plural, =0 {vor weniger als einer Stunde} =1 {vor einer Stunde} other {vor # Stunden}}",
"DaysAgo": "{days, plural, =0 {heute} =1 {gestern} other {vor # Tagen}}",
"MonthsAgo": "{months, plural, =0 {diesen Monat} =1 {vor einem Monat} other {vor # Monaten}}",
"YearsAgo": "{years, plural, =0 {dieses Jahr} =1 {vor einem Jahr} other {vor # Jahren}}",
"Minutes": "{minutes, plural, =0 {weniger als eine Minute} =1 {eine Minute} other {# Minuten}}",
"Hours": "{hours, plural, =0 {weniger als eine Stunde} =1 {eine Stunde} other {# Stunden}}",
"Days": "{days, plural, =0 {heute} =1 {1 Tag} other {# Tage}}",
"Weeks": "{weeks, plural, =0 {diese Woche} =1 {1 Woche} other {# Wochen}}",
"Months": "{months, plural, =0 {diesen Monat} =1 {1 Monat} other {# Monate}}",
"Years": "{years, plural, =0 {dieses Jahr} =1 {ein Jahr} other {# Jahre}}",
"Before": "Vor",
"After": "Nach",
"MinutesShort": "{value}m",
"HoursShort": "{value}h",
"DaysShort": "{value}t",
"ShowMore": "Mehr anzeigen",
"ShowLess": "Weniger anzeigen",
"Search": "Suchen",
"SearchDots": "Suchen...",
"Suggested": "Vorgeschlagen",
"TimeTooltip": "{value}",
"SelectDate": "Datum auswählen",
"None": "Keine",
"NotSelected": "Nicht ausgewählt",
"Today": "Heute",
"NoDate": "Kein Datum",
"StartDate": "Startdatum",
"TargetDate": "Zieldatum",
"Overdue": "Überfällig",
"DueDate": "Fälligkeitsdatum",
"AddDueDate": "Fälligkeitsdatum hinzufügen",
"SetDueDate": "Fälligkeitsdatum festlegen",
"EditDueDate": "Fälligkeitsdatum bearbeiten",
"SaveDueDate": "Fälligkeitsdatum speichern",
"NeedsToBeCompletedByThisDate": "Muss bis zu diesem Datum abgeschlossen sein",
"DueDatePopupTitle": "Fällig am {value}",
"DueDatePopupOverdueTitle": "War fällig am {value}",
"DueDatePopupDescription": "{value, plural, =0 {Heute} =1 {Morgen} other {noch # Tage}}",
"DueDatePopupOverdueDescription": "{value, plural, =1 {1 Tag überfällig} other {# Tage überfällig}}",
"English": "Englisch",
"Russian": "Russisch",
"Portuguese": "Portugiesisch",
"Spanish": "Spanisch",
"Chinese": "Chinesisch",
"French": "Französisch",
"Italian": "Italienisch",
"Czech": "Tschechisch",
"MinutesBefore": "{minutes, plural, =1 {eine Minute vorher} other {# Minuten vorher}}",
"HoursBefore": "{hours, plural, =1 {eine Stunde vorher} other {# Stunden vorher}}",
"DaysBefore": "{days, plural, =1 {einen Tag vorher} other {# Tage vorher}}",
"WeeksBefore": "{weeks, plural, =1 {eine Woche vorher} other {# Wochen vorher}}",
"MonthsBefore": "{months, plural, =1 {einen Monat vorher} other {# Monate vorher}}",
"MinutesAfter": "{minutes, plural, =1 {in einer Minute} other {in # Minuten}}",
"HoursAfter": "{hours, plural, =1 {in einer Stunde} other {in # Stunden}}",
"DaysAfter": "{days, plural, =1 {in einem Tag} other {in # Tagen}}",
"WeeksAfter": "{weeks, plural, =1 {in einer Woche} other {in # Wochen}}",
"MonthsAfter": "{months, plural, =1 {in einem Monat} other {in # Monaten}}",
"NoActionsDefined": "Keine Aktionen verfügbar",
"Incoming": "Eingehend",
"HoursLabel": "Stunden",
"Back": "Zurück",
"Next": "Weiter",
"DropdownDefaultLabel": "Element auswählen",
"DD": "TT",
"MM": "MM",
"YYYY": "JJJJ",
"HH": "HH",
"GettingWorkDone": "Arbeit erledigen",
"ExpressYourself": "Ausdrücken",
"Smileys": "Smileys",
"Nature": "Natur",
"Symbols": "Symbole",
"TravelAndPlaces": "Reisen & Orte",
"Objects": "Objekte",
"Food": "Essen",
"MoreCount": "{count} weitere",
"Spacious": "Geräumig",
"Compact": "Kompakt",
"ThemeLight": "Hell",
"ThemeDark": "Dunkel",
"ThemeSystem": "System",
"NoTimeZonesFound": "Keine Zeitzonen gefunden",
"Selected": "Ausgewählt:",
"Submit": "Absenden",
"NextStep": "Nächster Schritt",
"TypeHere": "Hier eingeben...",
"NormalSize": "Normale Größe",
"FullSize": "Volle Größe",
"UseMaxWidth": "Maximale Breite",
"Sidebar": "Seitenleiste",
"Language": "Sprache"
}
}
1 change: 1 addition & 0 deletions packages/ui/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {a minute before} other {# minutes before}}",
"HoursBefore": "{hours, plural, =1 {an hour before} other {# hours before}}",
"DaysBefore": "{days, plural, =1 {a day before} other {# days before}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {un minuto antes} other {# minutos antes}}",
"HoursBefore": "{hours, plural, =1 {una hora antes} other {# horas antes}}",
"DaysBefore": "{days, plural, =1 {un día antes} other {# días antes}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {une minute avant} other {# minutes avant}}",
"HoursBefore": "{hours, plural, =1 {une heure avant} other {# heures avant}}",
"DaysBefore": "{days, plural, =1 {un jour avant} other {# jours avant}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {un minuto prima} other {# minuti prima}}",
"HoursBefore": "{hours, plural, =1 {un'ora prima} other {# ore prima}}",
"DaysBefore": "{days, plural, =1 {un giorno prima} other {# giorni prima}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {um minuto antes} other {# minutos antes}}",
"HoursBefore": "{hours, plural, =1 {uma hora antes} other {# horas antes}}",
"DaysBefore": "{days, plural, =1 {um dia antes} other {# dias antes}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {за минуту} one {за # минуту} few {за # минуты} other {за # минут}}",
"HoursBefore": "{hours, plural, =1 {за час} one {за # час} few {за # часа} other {за # часов}}",
"DaysBefore": "{days, plural, =1 {за день} one {за # день} few {за # дня} other {за # дней}}",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lang/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"French": "Français",
"Italian": "Italiano",
"Czech": "Čeština",
"German": "Deutsch",
"MinutesBefore": "{minutes, plural, =1 {一分钟前} other {# 分钟前}}",
"HoursBefore": "{hours, plural, =1 {一小时前} other {# 小时前}}",
"DaysBefore": "{days, plural, =1 {一天前} other {# 天前}}",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/src/components/internal/LangSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{ id: 'zh', label: ui.string.Chinese, logo: '&#x1F1E8;&#x1F1F3;' },
{ id: 'fr', label: ui.string.French, logo: '&#x1F1EB;&#x1F1F7;' },
{ id: 'it', label: ui.string.Italian, logo: '&#x1F1EE;&#x1F1F9;' },
{ id: 'cs', label: ui.string.Czech, logo: '&#x1F1E8;&#x1F1FF;' }
{ id: 'cs', label: ui.string.Czech, logo: '&#x1F1E8;&#x1F1FF;' },
{ id: 'de', label: ui.string.German, logo: '&#x1F1E9;&#x1F1EA;' }
].filter((lang) => uiLangs.has(lang.id))
if (langs.findIndex((l) => l.id === currentLanguage) < 0 && langs.length !== 0) {
setLanguage(langs[0].id)
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const uis = plugin(uiId, {
French: '' as IntlString,
Italian: '' as IntlString,
Czech: '' as IntlString,
German: '' as IntlString,
MinutesBefore: '' as IntlString,
HoursBefore: '' as IntlString,
DaysBefore: '' as IntlString,
Expand Down
Loading

0 comments on commit 5438f01

Please sign in to comment.