Skip to content
Closed
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 src/about/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
7 changes: 7 additions & 0 deletions src/about/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"title": "O {appName}",
"description": "MicroPython dla inteligentnych hubów {lego} Powered Up.",
"licenseButton": { "label": "Licencje oprogramowania" },
"changelogButton": { "label": "Lista zmian" },
"websiteButton": { "label": "Strona Pybricks" }
}
1 change: 1 addition & 0 deletions src/activities/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
5 changes: 5 additions & 0 deletions src/activities/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "Aktywności",
"explorer": "Przeglądarka plików",
"settings": "Ustawienia i pomoc"
}
1 change: 1 addition & 0 deletions src/alerts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
6 changes: 6 additions & 0 deletions src/alerts/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"message": "Wystąpił nieoczekiwany błąd. Rozważ zgłoszenie go, abyśmy mogli przygotować lepszy komunikat.",
"technicalInfo": "Rozwiń, aby zobaczyć szczegółowe informacje techniczne",
"copyErrorMessage": "Kopiuj komunikat błędu",
"reportBug": "Zgłoś błąd"
}
1 change: 1 addition & 0 deletions src/app/alerts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
5 changes: 5 additions & 0 deletions src/app/alerts/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"updateServerFailure": {
"message": "Nie udało się połączyć z serwerem aktualizacji. Połączenie internetowe lub serwer mogą być niedostępne. Spróbuj ponownie później."
}
}
1 change: 1 addition & 0 deletions src/app/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
8 changes: 8 additions & 0 deletions src/app/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"landmark": {
"activities": "Aktywności",
"editor": "Edytor",
"terminal": "Terminal",
"documentation": "Dokumentacja"
}
}
1 change: 1 addition & 0 deletions src/ble/alerts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
41 changes: 41 additions & 0 deletions src/ble/alerts/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"noWebBluetooth": {
"message": "Ta przeglądarka nie obsługuje Web Bluetooth lub nie jest włączony.",
"suggestion": "Użyj obsługiwanej przeglądarki takiej jak Google Chrome lub Microsoft Edge.",
"linux": "Web Bluetooth jest eksperymentalny na Linuksie i musi być ręcznie włączony. Skopiuj poniższy link i wklej go w pasku adresu.",
"action": "Więcej informacji"
},
"bluetoothNotAvailable": {
"message": "Nie znaleziono adaptera Bluetooth lub nie udzielono zgody na jego użycie.",
"suggestion": "Podłącz lub włącz adapter Bluetooth Low Energy, upewnij się, że Twoja przeglądarka ma uprawnienia do jego użycia i zrestartuj przeglądarkę.",
"browserSupport": "Niektóre przeglądarki takie jak Brave i Opera nie obsługują Web Bluetooth. Upewnij się, że używasz obsługiwanej przeglądarki takiej jak Chrome, Edge lub na iOS WebBLE."
},
"noGatt": {
"message": "Przeglądarka internetowa nie udzieliła pozwolenia na użycie Bluetooth Low Energy."
},
"missingService": {
"message": "Połączono z hubem, ale nie udało się uzyskać usługi {serviceName}.",
"suggestion1": "Upewnij się, że używasz najnowszego firmware.",
"suggestion2": "Jeśli problem nadal występuje, spróbuj usunąć urządzenie \"{hubName}\" w ustawieniach Bluetooth systemu operacyjnego, a następnie spróbuj połączyć się ponownie."
},
"noHub": {
"message": "Nie wykryto huba.",
"suggestion": "Czy zainstalowałeś już firmware Pybricks?",
"flashFirmwareButton": "Zainstaluj firmware Pybricks",
"troubleshootButton": "Rozwiąż problemy z połączeniem"
},
"oldFirmware": {
"message": "Nowa wersja firmware jest dostępna dla tego huba. Zainstaluj najnowszą wersję, aby używać wszystkich nowych funkcji.",
"flashFirmware": {
"label": "Zaktualizuj firmware Pybricks"
}
},
"newPybricksProfile": {
"message": "Połączony hub używa nowszej wersji profilu komunikacji Pybricks. Niektóre funkcje mogą nie działać poprawnie.",
"versions": "Hub ma wersję {hubVersion}, podczas gdy {app} obsługuje {appVersion}.",
"suggestion": "Zdegraduj firmware huba lub zaktualizuj {app}, aby uniknąć problemów."
},
"disconnected": {
"message": "Hub nie jest już połączony. Połącz się ponownie i spróbuj jeszcze raz."
}
}
1 change: 1 addition & 0 deletions src/components/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
12 changes: 12 additions & 0 deletions src/components/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"helpButton": {
"label": "Pomoc",
"description": "Kliknij, aby wyświetlić pomoc dla pola wyboru {helpForLabel}."
},
"helpDialog": {
"title": "Pomoc",
"closeButton": {
"label": "Zamknij"
}
}
}
1 change: 1 addition & 0 deletions src/editor/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
20 changes: 20 additions & 0 deletions src/editor/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"tablist": {
"label": "Edytor"
},
"welcome": "Witaj",
"placeholder": "Napisz tutaj swój program...",
"check": "Sprawdź składnię",
"toggleDocs": "Pokaż/ukryj dokumentację",
"copy": "Kopiuj",
"paste": "Wklej",
"selectAll": "Zaznacz wszystko",
"undo": "Cofnij",
"redo": "Ponów",
"closeFile": { "tooltip": "Zamknij {fileName}" },
"contextMenu": { "label": "Menu kontekstowe edytora" },
"docs": {
"show": "Pokaż dokumentację",
"hide": "Ukryj dokumentację"
}
}
1 change: 1 addition & 0 deletions src/explorer/alerts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
11 changes: 11 additions & 0 deletions src/explorer/alerts/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"fileInUse": {
"message": "Plik '{fileName}' nie mógł zostać otwarty. Jest już otwarty w innym oknie."
},
"noFilesToBackup": {
"message": "Nie ma plików do backupu. Najpierw utwórz nowy plik klikając ikonę {icon}."
},
"noPyFiles": {
"message": "Nie było plików {py} w pliku {zip}."
}
}
1 change: 1 addition & 0 deletions src/explorer/deleteFileAlert/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
7 changes: 7 additions & 0 deletions src/explorer/deleteFileAlert/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"message": "Plik '{fileName}' zostanie trwale usunięty. Tej operacji nie można cofnąć.",
"action": {
"accept": "Usuń",
"cancel": "Zachowaj"
}
}
1 change: 1 addition & 0 deletions src/explorer/duplicateFileDialog/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
6 changes: 6 additions & 0 deletions src/explorer/duplicateFileDialog/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Duplikuj '{fileName}'",
"action": {
"accept": "Duplikuj"
}
}
1 change: 1 addition & 0 deletions src/explorer/fileNameFormGroup/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
13 changes: 13 additions & 0 deletions src/explorer/fileNameFormGroup/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"label": "Nazwa pliku",
"helpText": {
"isOk": "OK!",
"isEmpty": "Nazwa pliku nie może być pusta.",
"hasSpaces": "Nazwa pliku nie może zawierać spacji.",
"hasFileExtension": "Rozszerzenie pliku zostanie dodane automatycznie.",
"hasInvalidFirstCharacter": "Nazwa pliku musi zaczynać się od litery ({letters}) lub podkreślenia ({underscore}).",
"hasInvalidCharacters": "Nazwa pliku może zawierać tylko litery ({letters}), cyfry ({numbers}) i podkreślenia ({underscore}).",
"alreadyExists": "Plik o tej nazwie już istnieje. Spróbuj innej nazwy.",
"fixIt": "Napraw to dla mnie."
}
}
1 change: 1 addition & 0 deletions src/explorer/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
1 change: 1 addition & 0 deletions src/explorer/newFileWizard/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
16 changes: 16 additions & 0 deletions src/explorer/newFileWizard/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "Utwórz nowy plik",
"template": {
"label": "Szablon"
},
"useTemplate": {
"label": "Użyj szablonu",
"description": {
"checked": "Utwórz nowy plik dla wybranego huba.",
"unchecked": "Utwórz nowy pusty plik."
}
},
"action": {
"create": "Utwórz"
}
}
1 change: 1 addition & 0 deletions src/explorer/renameFileDialog/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
6 changes: 6 additions & 0 deletions src/explorer/renameFileDialog/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Zmień nazwę '{fileName}'",
"action": {
"rename": "Zmień nazwę"
}
}
1 change: 1 addition & 0 deletions src/explorer/renameImportDialog/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
8 changes: 8 additions & 0 deletions src/explorer/renameImportDialog/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"title": "Zmień nazwę importowanego pliku",
"message": "Nazwa importowanego pliku '{fileName}' jest niedozwolona w {appName}. Proszę zmienić nazwę poniżej.",
"action": {
"skip": "Pomiń importowanie tego pliku",
"rename": "Zmień nazwę"
}
}
1 change: 1 addition & 0 deletions src/explorer/replaceImportDialog/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
12 changes: 12 additions & 0 deletions src/explorer/replaceImportDialog/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Zastąpić istniejący plik?",
"message": "Plik o tej samej nazwie co importowany plik '{fileName}' już istnieje.",
"option": {
"remember": "Zapamiętaj tę odpowiedź przy rozwiązywaniu dodatkowych konfliktów."
},
"action": {
"skip": "Zachowaj istniejący plik i pomiń importowanie tego pliku",
"replace": "Zastąp istniejący plik importowanym plikiem",
"rename": "Zachowaj istniejący plik i zmień nazwę importowanego pliku"
}
}
33 changes: 33 additions & 0 deletions src/explorer/translations/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"header": {
"toolbar": {
"title": "Operacje na plikach",
"exportAll": "Utwórz kopię zapasową wszystkich plików",
"import": "Importuj plik",
"addNew": "Utwórz nowy plik"
}
},
"tree": {
"label": "Pliki",
"liveDescriptor": {
"intro": {
"accessibilityGuide": "Przewodnik dostępności dla drzewa {treeLabel}.",
"navigation": "Nawiguj po drzewie klawiszami strzałek. Zacznij wpisywać nazwę pliku, aby go wyszukać. Dostępne są dodatkowe skróty:",
"keybindings": {
"primaryAction": "{key}, aby otworzyć plik w edytorze kodu",
"rename": "{key}, aby rozpocząć zmianę nazwy zaznaczonego pliku",
"duplicate": "{key}, aby zduplikować zaznaczony plik",
"export": "{key}, aby wyeksportować zaznaczony plik",
"delete": "{key}, aby usunąć zaznaczony plik"
}
},
"searching": "Wyszukiwanie."
}
},
"treeItem": {
"renameTooltip": "Zmień nazwę {fileName}",
"duplicateTooltip": "Duplikuj {fileName}",
"exportTooltip": "Eksportuj {fileName}",
"deleteTooltip": "Usuń {fileName}"
}
}
1 change: 1 addition & 0 deletions src/firmware/alerts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useI18n as useShopifyI18n } from '@shopify/react-i18n';
import type { TypedI18n } from '../../i18n';
import type translations from './translations/en.json';
import './translations/pl.json';

export function useI18n(): TypedI18n<typeof translations> {
// istanbul ignore next: babel-loader rewrites this line
Expand Down
Loading