Skip to content

Commit

Permalink
Convert old locales to WebExtension format
Browse files Browse the repository at this point in the history
- default to English
- #20
  • Loading branch information
lidel committed Sep 10, 2016
1 parent 0d6c120 commit 3cc6ca7
Show file tree
Hide file tree
Showing 5 changed files with 246 additions and 109 deletions.
122 changes: 122 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"toggle_button_label": {
"message": "IPFS Gateway Redirect"
},
"useCustomGateway_title": {
"message": "Use Custom Gateway"
},
"useCustomGateway_description": {
"message": "When enabled, all requests to any of Public Gateways defined below will be sent to Custom Gateway instead."
},
"publicGatewayHosts_title": {
"message": "Public Gateways"
},
"publicGatewayHosts_description": {
"message": "List of public gateway hosts (space separated, first one is the default used for copying public URLs)"
},
"customGatewayHost_title": {
"message": "Custom Gateway Host"
},
"customGatewayHost_description": {
"message": "Most people want to use localhost (127.0.0.1)"
},
"customGatewayPort_title": {
"message": "Custom Gateway Port"
},
"customGatewayPort_description": {
"message": "HTTP2IPFS gateway service (eg. local instance of go-ipfs)"
},
"customApiPort_title": {
"message": "IPFS API Port"
},
"customApiPort_description": {
"message": "Used for pinning (on the Gateway host)"
},
"apiPollInterval_title": {
"message": "API Poll Interval"
},
"apiPollInterval_description": {
"message": "How often peer connection number is updated from API (in miliseconds)"
},
"automatic_title": {
"message": "Automatic Mode"
},
"automatic_description": {
"message": "Automatically enable/disable redirect based on the peer count."
},
"automatic_up_notification_title": {
"message": "IPFS is Up"
},
"automatic_up_notification_text": {
"message": "Redirection of IPFS requests is enabled"
},
"automatic_down_notification_title": {
"message": "IPFS is Down"
},
"automatic_down_notification_text": {
"message": "Redirection of IPFS requests is disabled"
},
"dns_title": {
"message": "Enable DNS Lookup"
},
"dns_description": {
"message": "(EXPERIMENTAL) Check if domain contains DNS TXT record with dnslink to IPFS path and redirect to it"
},
"linkify_title": {
"message": "Extended IPFS Link Support"
},
"linkify_description": {
"message": "(EXPERIMENTAL) Rewrite links to /ip(f|n)s/* paths on every page to point to IPFS gateway. Make plaintext IPFS links clickable."
},
"fsUris_title": {
"message": "Keep fs: in the address bar"
},
"fsUris_description": {
"message": "(EXPERIMENTAL) display fs:/ URIs as-is instead of rewriting to http:// (may break JS on pages)"
},
"panel_status-gateway-redirect": {
"message": "redirect"
},
"panel_status-gateway-redirect-enabled": {
"message": "enabled"
},
"panel_status-gateway-redirect-disabled": {
"message": "disabled"
},
"panel_status-gateway-address": {
"message": "gateway"
},
"panel_status-gateway-version": {
"message": "version"
},
"panel_status-swarm-peers": {
"message": "swarm peers"
},
"panel_operations-header": {
"message": "Operations"
},
"panel_open-webui": {
"message": "Open WebUI"
},
"panel_open-preferences": {
"message": "Open Preferences"
},
"panel_toggle-gateway-redirect-enable": {
"message": "Enable Gateway Redirect"
},
"panel_toggle-gateway-redirect-disable": {
"message": "Disable Gateway Redirect"
},
"panel_ipfs-only-header": {
"message": "Actions for current address"
},
"panel_pin-current-ipfs-address": {
"message": "Pin IPFS Resource"
},
"panel_copy-current-ipfs-address": {
"message": "Copy Canonical Address"
},
"panel_copy-current-public-gw-url": {
"message": "Copy Public Gateway URL"
}
}
122 changes: 122 additions & 0 deletions _locales/pl_PL/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"toggle_button_label": {
"message": "Przekierowanie Bramy IPFS"
},
"useCustomGateway_title": {
"message": "Używaj własnej bramy"
},
"useCustomGateway_description": {
"message": "Sprawia, że wszystkie zapytania do publicznych bram będą przekierowane do własnej, zdenifiowanej poniżej."
},
"publicGatewayHosts_title": {
"message": "Publiczne bramy"
},
"publicGatewayHosts_description": {
"message": "Lista domen do przekierowania (oddzielone spacjami, pierwsza jest domyślną, używaną przy kopiowaniu publicznych URLi)"
},
"customGatewayHost_title": {
"message": "Host własnej bramy"
},
"customGatewayHost_description": {
"message": "Zazwyczaj używany jest localhost (127.0.0.1)"
},
"customGatewayPort_title": {
"message": "Port własnej bramy"
},
"customGatewayPort_description": {
"message": "Usługa bramy HTTP2IPFS (np. z lokalnej instancji go-ipfs)"
},
"customApiPort_title": {
"message": "Port IPFS API"
},
"customApiPort_description": {
"message": "Używany do przypinania (na hoście Bramy)"
},
"apiPollInterval_title": {
"message": "Częstotliwość zapytań do API"
},
"apiPollInterval_description": {
"message": "Jak często API jest odpytywane o liczbę dostępnych węzłów (w milisekundach)"
},
"automatic_title": {
"message": "Tryb automatyczny"
},
"automatic_description": {
"message": "Automatycznie włącza/wyłącza przekierowanie na podstawie liczby połączonych węzłów."
},
"automatic_up_notification_title": {
"message": "IPFS jest dostępne"
},
"automatic_up_notification_text": {
"message": "Włączono przekierowanie"
},
"automatic_down_notification_title": {
"message": "IPFS jest niedostępne"
},
"automatic_down_notification_text": {
"message": "Wyłączono przekierowanie"
},
"dns_title": {
"message": "Odpytywanie DNS"
},
"dns_description": {
"message": "(EKSPERYMENT) Sprawdza, czy domena posiada wpis TXT w DNS z dnslink do zasobu IPFS i przekierowuje jeśli jest obecny"
},
"linkify_title": {
"message": "Rozszerzone wsparcie linków IPFS"
},
"linkify_description": {
"message": "(EKSPERYMENT) Przepisuje linki do zasobów /ip(f|n)s/* na każdej stronie tak, aby wskazywały na Bramę. Dodatkowo sprawia, że czysto-tekstowe adresy IPFS są klikalne."
},
"fsUris_title": {
"message": "Zachowaj fs: w pasku adresu"
},
"fsUris_description": {
"message": "(EXPERIMENTAL) wyświetla natywne URI fs:/ zamiast ich zamiany na http:// aktywnej bramy (może powodować błędy JS na stronach)"
},
"panel_status-gateway-redirect": {
"message": "przekierowanie"
},
"panel_status-gateway-redirect-enabled": {
"message": "włączone"
},
"panel_status-gateway-redirect-disabled": {
"message": "wyłączone"
},
"panel_status-gateway-address": {
"message": "brama"
},
"panel_status-gateway-version": {
"message": "wersja"
},
"panel_status-swarm-peers": {
"message": "połączenia"
},
"panel_operations-header": {
"message": "Operacje"
},
"panel_open-webui": {
"message": "Otwórz WebUI"
},
"panel_open-preferences": {
"message": "Otwórz Preferencje"
},
"panel_toggle-gateway-redirect-enable": {
"message": "Włącz przekierowanie"
},
"panel_toggle-gateway-redirect-disable": {
"message": "Wyłącz przekierowanie"
},
"panel_ipfs-only-header": {
"message": "Operacje dla tego zasobu"
},
"panel_pin-current-ipfs-address": {
"message": "Przypnij zasób IPFS"
},
"panel_copy-current-ipfs-address": {
"message": "Skopiuj kanoniczny adres"
},
"panel_copy-current-public-gw-url": {
"message": "Skopiuj URL do publicznej bramy"
}
}
54 changes: 0 additions & 54 deletions locale.legacysdk/en-US.properties

This file was deleted.

54 changes: 0 additions & 54 deletions locale.legacysdk/pl-PL.properties

This file was deleted.

3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"data/linkify-demo.html",
"icons/ipfs-logo-on.svg",
"icons/ipfs-logo-off.svg"
]
],

"default_locale": "en"
}

0 comments on commit 3cc6ca7

Please sign in to comment.