summaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-02-21 12:06:58 +0100
committerRuben Pollan <meskio@sindominio.net>2018-02-21 15:46:21 +0100
commit868b796e77146e259c36789666282007cf80cc9b (patch)
treea6847eec043757fd4a386ec19002ca1fad1d7966 /locales
parente843f609fcedc9d5bc15c762429bca9cc3c3f8b0 (diff)
[feat] add i18n support
Using golang.org/x/text, wich is still in early stages of development, but seems to work good enough for our needs. - Resolves: #2
Diffstat (limited to 'locales')
-rw-r--r--locales/en-US/messages.gotext.json181
-rw-r--r--locales/es-ES/messages.gotext.json169
2 files changed, 350 insertions, 0 deletions
diff --git a/locales/en-US/messages.gotext.json b/locales/en-US/messages.gotext.json
new file mode 100644
index 0000000..1559f61
--- /dev/null
+++ b/locales/en-US/messages.gotext.json
@@ -0,0 +1,181 @@
+{
+ "language": "en-US",
+ "messages": [
+ {
+ "id": "Donate to RiseupVPN",
+ "message": "Donate to RiseupVPN",
+ "translation": "Donate to RiseupVPN",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": [
+ "donationText",
+ "The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn"
+ ],
+ "message": "The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn",
+ "translation": "The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": "Can't contact bitmask",
+ "message": "Can't contact bitmask",
+ "translation": "Can't contact bitmask",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": [
+ "notRunning",
+ "Is bitmaskd running? Start bitmask and try again."
+ ],
+ "message": "Is bitmaskd running? Start bitmask and try again.",
+ "translation": "Is bitmaskd running? Start bitmask and try again.",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": "Missing authentication agent",
+ "message": "Missing authentication agent",
+ "translation": "Missing authentication agent",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": [
+ "missingAuthAgent",
+ "Could not find a polkit authentication agent. Please run one and try again."
+ ],
+ "message": "Could not find a polkit authentication agent. Please run one and try again.",
+ "translation": "Could not find a polkit authentication agent. Please run one and try again.",
+ "translatorComment": "Copied from source.",
+ "fuzzy": true
+ },
+ {
+ "id": "Checking status...",
+ "message": "Checking status...",
+ "translation": "Checking status..."
+ },
+ {
+ "id": "Turn on",
+ "message": "Turn on",
+ "translation": "Turn on"
+ },
+ {
+ "id": "Turn RiseupVPN on",
+ "message": "Turn RiseupVPN on",
+ "translation": "Turn RiseupVPN on"
+ },
+ {
+ "id": "Turn off",
+ "message": "Turn off",
+ "translation": "Turn off"
+ },
+ {
+ "id": "Turn RiseupVPN off",
+ "message": "Turn RiseupVPN off",
+ "translation": "Turn RiseupVPN off"
+ },
+ {
+ "id": "Cancel",
+ "message": "Cancel",
+ "translation": "Cancel"
+ },
+ {
+ "id": "Cancel connection to RiseupVPN",
+ "message": "Cancel connection to RiseupVPN",
+ "translation": "Cancel connection to RiseupVPN"
+ },
+ {
+ "id": "Help ...",
+ "message": "Help ...",
+ "translation": "Help ..."
+ },
+ {
+ "id": "Donate ...",
+ "message": "Donate ...",
+ "translation": "Donate ...!!!!"
+ },
+ {
+ "id": "... I have donated",
+ "message": "... I have donated",
+ "translation": "... I have donated"
+ },
+ {
+ "id": "About ...",
+ "message": "About ...",
+ "translation": "About ..."
+ },
+ {
+ "id": "Quit",
+ "message": "Quit",
+ "translation": "Quit"
+ },
+ {
+ "id": "Quit BitmaskVPN",
+ "message": "Quit BitmaskVPN",
+ "translation": "Quit BitmaskVPN"
+ },
+ {
+ "id": "Route traffic through",
+ "message": "Route traffic through",
+ "translation": "Route traffic through"
+ },
+ {
+ "id": "Use RiseupVPN {Name} gateway",
+ "message": "Use RiseupVPN {Name} gateway",
+ "translation": "Use RiseupVPN {Name} gateway",
+ "placeholders": [
+ {
+ "id": "Name",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "name"
+ }
+ ]
+ },
+ {
+ "id": "Retry",
+ "message": "Retry",
+ "translation": "Retry"
+ },
+ {
+ "id": "blocking internet",
+ "message": "blocking internet",
+ "translation": "blocking internet"
+ },
+ {
+ "id": "RiseupVPN is {StatusStr}",
+ "message": "RiseupVPN is {StatusStr}",
+ "translation": "RiseupVPN is {StatusStr}",
+ "placeholders": [
+ {
+ "id": "StatusStr",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "statusStr"
+ }
+ ]
+ },
+ {
+ "id": "VPN is {StatusStr}",
+ "message": "VPN is {StatusStr}",
+ "translation": "VPN is {StatusStr}",
+ "placeholders": [
+ {
+ "id": "StatusStr",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "statusStr"
+ }
+ ]
+ }
+ ]
+}
diff --git a/locales/es-ES/messages.gotext.json b/locales/es-ES/messages.gotext.json
new file mode 100644
index 0000000..3960c2d
--- /dev/null
+++ b/locales/es-ES/messages.gotext.json
@@ -0,0 +1,169 @@
+{
+ "language": "es-ES",
+ "messages": [
+ {
+ "id": "Donate to RiseupVPN",
+ "message": "Donate to RiseupVPN",
+ "translation": "Dona a RiseupVPN"
+ },
+ {
+ "id": [
+ "donationText",
+ "The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn"
+ ],
+ "message": "The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn",
+ "translation": "El servicio RiseupVPN es caro de mantener. Como no queremos guardar ninguna información personal tuya, no hay cuentas ni servicio de facturación. Si quieres que este servicio continue, dona al menos $5 cada mes en https://riseup.net/donate-vpn"
+ },
+ {
+ "id": "Can't contact bitmask",
+ "message": "Can't contact bitmask",
+ "translation": "No puedo contactar a bitmask"
+ },
+ {
+ "id": [
+ "notRunning",
+ "Is bitmaskd running? Start bitmask and try again."
+ ],
+ "message": "Is bitmaskd running? Start bitmask and try again.",
+ "translation": "¿Esta bitmask en ejecucion? Arranca bitmask y prueba de nuevo."
+ },
+ {
+ "id": "Missing authentication agent",
+ "message": "Missing authentication agent",
+ "translation": "Falta el agente de autenticación"
+ },
+ {
+ "id": [
+ "missingAuthAgent",
+ "Could not find a polkit authentication agent. Please run one and try again."
+ ],
+ "message": "Could not find a polkit authentication agent. Please run one and try again.",
+ "translation": "No pude encontrar ningún agente de autenticacion polkit. Por favor ejecuta uno y prueba de nuevo."
+ },
+ {
+ "id": "Checking status...",
+ "message": "Checking status...",
+ "translation": "Comprobando el estado..."
+ },
+ {
+ "id": "Turn on",
+ "message": "Turn on",
+ "translation": "Encender"
+ },
+ {
+ "id": "Turn RiseupVPN on",
+ "message": "Turn RiseupVPN on",
+ "translation": "Enciende RiseupVPN"
+ },
+ {
+ "id": "Turn off",
+ "message": "Turn off",
+ "translation": "Apagar"
+ },
+ {
+ "id": "Turn RiseupVPN off",
+ "message": "Turn RiseupVPN off",
+ "translation": "Apaga RiseupVPN"
+ },
+ {
+ "id": "Cancel",
+ "message": "Cancel",
+ "translation": "Cancelar"
+ },
+ {
+ "id": "Cancel connection to RiseupVPN",
+ "message": "Cancel connection to RiseupVPN",
+ "translation": "Cancela la conexión a RiseupVPN"
+ },
+ {
+ "id": "Help ...",
+ "message": "Help ...",
+ "translation": "Ayuda ..."
+ },
+ {
+ "id": "Donate ...",
+ "message": "Donate ...",
+ "translation": "Dona ..."
+ },
+ {
+ "id": "... I have donated",
+ "message": "... I have donated",
+ "translation": "... ya he donado"
+ },
+ {
+ "id": "About ...",
+ "message": "About ...",
+ "translation": "Acerca de ..."
+ },
+ {
+ "id": "Quit",
+ "message": "Quit",
+ "translation": "Cerrar"
+ },
+ {
+ "id": "Quit BitmaskVPN",
+ "message": "Quit BitmaskVPN",
+ "translation": "Cierra BitmaskVPN"
+ },
+ {
+ "id": "Route traffic through",
+ "message": "Route traffic through",
+ "translation": "Salir a traves de"
+ },
+ {
+ "id": "Use RiseupVPN {Name} gateway",
+ "message": "Use RiskieupVPN {Name} gateway",
+ "translation": "Usa la salida de RiseupVPN en {Name}",
+ "placeholders": [
+ {
+ "id": "Name",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "name"
+ }
+ ]
+ },
+ {
+ "id": "Retry",
+ "message": "Retry",
+ "translation": "Reintentar"
+ },
+ {
+ "id": "blocking internet",
+ "message": "blocking internet",
+ "translation": "internet bloqueado"
+ },
+ {
+ "id": "RiseupVPN is {StatusStr}",
+ "message": "RiseupVPN is {StatusStr}",
+ "translation": "RiseupVPN esta {StatusStr}",
+ "placeholders": [
+ {
+ "id": "StatusStr",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "statusStr"
+ }
+ ]
+ },
+ {
+ "id": "VPN is {StatusStr}",
+ "message": "VPN is {StatusStr}",
+ "translation": "VPN esta {StatusStr}",
+ "placeholders": [
+ {
+ "id": "StatusStr",
+ "string": "%[1]v",
+ "type": "string",
+ "underlyingType": "string",
+ "argNum": 1,
+ "expr": "statusStr"
+ }
+ ]
+ }
+ ]
+}