Skip to content

Add Polish translation for the UI including CODEOWNER #51219

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

Merged
merged 1 commit into from
May 29, 2025
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 .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
airflow-core/src/airflow/ui/src/i18n/locales/de/ @jscheffl
airflow-core/src/airflow/ui/src/i18n/locales/zh-TW/ @Lee-W
airflow-core/src/airflow/ui/src/i18n/locales/nl/ @BasPH # not codeowner but engaged: @DjVinnii
airflow-core/src/airflow/ui/src/i18n/locales/pl/ @potiuk

# Security/Permissions
/airflow-core/src/airflow/security/permissions.py @vincbeck
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ repos:
^.*/kinglear\.txt$|
^.*pnpm-lock\.yaml$|
.*/dist/.*|
^airflow-core/src/airflow/ui/src/i18n/locales/de/
^airflow-core/src/airflow/ui/src/i18n/locales/de/|
^airflow-core/src/airflow/ui/src/i18n/locales/pl/
args:
- --ignore-words=docs/spelling_wordlist.txt
- --skip=providers/.*/src/airflow/providers/*/*.rst,providers/*/docs/changelog.rst,docs/*/commits.rst,providers/*/docs/commits.rst,providers/*/*/docs/commits.rst,docs/apache-airflow/tutorial/pipeline_example.csv,*.min.js,*.lock,INTHEWILD.md,*.svg
Expand Down
9 changes: 9 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import koCommon from "./locales/ko/common.json";
import koDashboard from "./locales/ko/dashboard.json";
import nlCommon from "./locales/nl/common.json";
import nlDashboard from "./locales/nl/dashboard.json";
import plCommon from "./locales/pl/common.json";
import plDags from "./locales/pl/dags.json";
import plDashboard from "./locales/pl/dashboard.json";
import zhTWCommon from "./locales/zh-TW/common.json";
import zhTWDashboard from "./locales/zh-TW/dashboard.json";

Expand All @@ -40,6 +43,7 @@ export const supportedLanguages = [
{ code: "en", name: "English" },
{ code: "ko", name: "한국어" },
{ code: "nl", name: "Nederlands" },
{ code: "pl", name: "Polski" },
{ code: "zh-TW", name: "繁體中文" },
] as const;

Expand All @@ -64,6 +68,11 @@ const resources = {
common: nlCommon,
dashboard: nlDashboard,
},
pl: {
common: plCommon,
dags: plDags,
dashboard: plDashboard,
},
"zh-TW": {
common: zhTWCommon,
dashboard: zhTWDashboard,
Expand Down
114 changes: 114 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/locales/pl/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"admin": {
"Config": "Konfiguracja",
"Connections": "Połączenia",
"Plugins": "Wtyczki",
"Pools": "Pule",
"Providers": "Providery",
"Variables": "Zmienne"
},
"assetEvent_one": "Zdarzenie Zasobu",
"assetEvent_other": "Zdarzenia Zasobów",
"browse": {
"auditLog": "Log audytu",
"xcoms": "XComy"
},
"dag_one": "Dag",
"dag_other": "Dagi",
"dagRun_one": "Wykonanie Daga",
"dagRun_other": "Wykonania Dagów",
"defaultToGraphView": "Domyślniue widok grafu",
"defaultToGridView": "Domyślnie widok siatki",
"docs": {
"documentation": "Documentacja",
"githubRepo": "Repozytorium GitHub",
"restApiReference": "Dokuentacja REST API"
},
"logout": "Wyloguj",
"logoutConfirmation": "Zamierzasz wylogować się z aplikacji.",
"modal": {
"cancel": "Anuluj",
"confirm": "Potwierdź",
"delete": {
"button": "Usuń",
"confirmation": "Jesteś pewien, że chcesz usunąć {{resourceName}}? Ta operacja nie może być cofnięta."
}
},
"nav": {
"admin": "Administracja",
"assets": "Aktywa",
"browse": "Przeglądanie",
"dags": "Dagi",
"docs": "Dokumentacja",
"home": "Strona główna",
"plugins": "Wtyczki",
"security": "Bezpieczeństwo"
},
"pools": {
"deferred": "Odłożone",
"open": "Otwarte",
"pools_one": "Pula",
"pools_other": "Pule",
"queued": "W kolejce",
"running": "W trakcie",
"scheduled": "Zaplanowane"
},
"security": {
"actions": "Akcje",
"permissions": "Uprawnienia",
"resources": "Zasoby",
"roles": "Role",
"users": "Użytkownicy"
},
"selectLanguage": "Wybierz język",
"states": {
"deferred": "Odłożone",
"failed": "Niepowodzenie",
"no_status": "Brak stanu",
"queued": "W kolejce",
"removed": "Usunięte",
"restarting": "Restartowanie",
"running": "Uruchomione",
"scheduled": "Zaplanowane",
"skipped": "Pominięte",
"success": "Sukces",
"up_for_reschedule": "Do ponownego zaplanowania",
"up_for_retry": "Do ponownej próby",
"upstream_failed": "Niepowodzenie poprzednika"
},
"switchToDarkMode": "Przełącz na tryb ciemny",
"switchToLightMode": "Przełącz na tryb jasny",
"table": {
"filterByTag": "Filtruj Dagi według tagu",
"filterColumns": "Filtruj kolumny tabeli",
"filters": {
"filter_one": "Filtr",
"filter_other": "Filtry",
"reset": "Resetuj"
},
"noTagsFound": "Nie znaleziono etykiet",
"tagMode": {
"all": "Wszystkie",
"any": "Dowolne"
},
"tagPlaceholder": "Filtruj według etykiety"
},
"taskInstance_one": "Instancja Zadania",
"taskInstance_other": "Instancje Zadań",
"timeRange": {
"duration": "Czas trwania",
"last12Hours": "Ostatnie 12 godzin",
"last24Hours": "Ostatnie 24 godziny",
"lastHour": "Ostatnia godzina",
"pastWeek": "Poprzedni tydzień"
},
"timezone": "Strefa czasowa",
"timezoneModal": {
"current-timezone": "Obecny czas w",
"placeholder": "Wybierz strefę czasową",
"title": "Wybierz strefę czasową",
"utc": "UTC (Uniwersalny Czas Koordynowany)"
},
"triggered": "Wyzwolony",
"user": "Użytkownik"
}
55 changes: 55 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/locales/pl/dags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"actions": {
"delete": "Skasuj Daga",
"deleteDagWarning": "Ta operacja usunie wszystkie metadane, takie jak wykonania Daga i zadania.",
"trigger": "Uruchom",
"triggerDag": "Uruchom Daga"
},
"assetSchedule": "Uaktualniono {{count}} z {{total}} zasobów",
"filters": {
"paused": {
"active": "Aktywne",
"all": "Wszystkie",
"paused": "Wstrzymane"
}
},
"list": {
"advancedSearch": "Wyszukiwanie zaawansowane",
"clearSearch": "Wyczyść wyszukiwanie",
"columns": {
"dagId": "Identyfikator Daga",
"lastDagRun": "Ostatnie Wykonanie Daga",
"nextDagRun": "Następne Wykonanie Daga",
"schedule": "Harmonogram",
"tags": "Etykiety"
},
"ownerLink": "Link do właściciela {{owner}}",
"runs": {
"duration": "Czas trwania",
"endDate": "Data zakończenia",
"runAfter": "Uruchom po",
"startDate": "Data rozpoczęcia",
"state": "Stan"
},
"searchPlaceholder": "Szukaj Dagów"
},
"sort": {
"displayName": {
"asc": "Sortuj według Nazwy Wyświetlanej (A-Z)",
"desc": "Sortuj według Nazwy Wyświetlanej (Z-A)"
},
"lastRunStartDate": {
"asc": "Sortuj według Daty Rozpoczęcia Ostatniego Wykonania (Najwcześniejsze-Najnowsze)",
"desc": "Sortuj według Daty Rozpoczęcia Ostatniego Wykonania (Najnowsze-Najwcześniejsze)"
},
"lastRunState": {
"asc": "Sortuj według Stanu Ostatniego Wykonania (A-Z)",
"desc": "Sortuj według Stanu Ostatniego Wykonania (Z-A)"
},
"nextDagRun": {
"asc": "Sortuj według Następnego Wykonania Daga (Najwcześniejsze-Najnowsze)",
"desc": "Sortuj według Następnego Wykonania Daga (Najnowsze-Najwcześniejsze)"
},
"placeholder": "Sortuj według"
}
}
38 changes: 38 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/locales/pl/dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"group": "Grupa",
"health": {
"dagProcessor": "Processor Dagów",
"health": "Stan Systemu",
"healthy": "Prawidłowy",
"lastHeartbeat": "Ostatni czas sprawdzenia",
"metaDatabase": "Baza Danych Meta",
"scheduler": "Planer zadań",
"status": "Stan",
"triggerer": "Wyzwalacz",
"unhealthy": "Nieprawidłowy"
},
"history": "Historia",
"importErrors": {
"dagImportError_one": "Błąd importu Daga",
"dagImportError_other": "Błędy importu Dagów",
"searchByFile": "Szukaj według plików",
"timestamp": "Znacznik czasu"
},
"managePools": "Zarządzaj pulami",
"noAssetEvents": "Nie znaleziono zdarzeń zasobów.",
"poolSlots": "",
"sortBy": {
"newestFirst": "Najnowsze Pierwsze",
"oldestFirst": "Najstarsze Pierwsze"
},
"source": "Kod źródłowy",
"stats": {
"activeDags": "Aktywne Dagi",
"failedDags": "Nieudane Dagi",
"queuedDags": "Zakolejkowane Dagi",
"runningDags": "Uruchomione Dagi",
"stats": "Statystyki"
},
"uri": "Uri",
"welcome": "Witaj"
}
Loading