From bea32af5d45702e5608d347bf2bf6314d899f2e0 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Sat, 12 Jan 2019 18:18:23 +0100 Subject: [feat] Reorganize code Let's use a more structured folder system: https://github.com/golang-standards/project-layout - Resolves: #99 --- locales/en-US/messages.gotext.json | 70 +++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 39 deletions(-) (limited to 'locales/en-US') diff --git a/locales/en-US/messages.gotext.json b/locales/en-US/messages.gotext.json index f1d2084..d8e72cc 100644 --- a/locales/en-US/messages.gotext.json +++ b/locales/en-US/messages.gotext.json @@ -1,6 +1,26 @@ { "language": "en-US", "messages": [ + { + "id": [ + "errorMsg", + "An error has ocurred initializing the VPN: {Err}" + ], + "message": "An error has ocurred initializing the VPN: {Err}", + "translation": "An error has ocurred initializing VPN: {Err}", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "Err", + "string": "%[1]v", + "type": "error", + "underlyingType": "interface{Error() string}", + "argNum": 1, + "expr": "err" + } + ], + "fuzzy": true + }, { "id": [ "donationText", @@ -16,7 +36,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "n.conf.ApplicationName" } ], "fuzzy": true @@ -43,7 +63,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "n.conf.ApplicationName" }, { "id": "ApplicationName", @@ -51,7 +71,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "n.conf.ApplicationName" }, { "id": "ApplicationName_1", @@ -59,7 +79,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "n.conf.ApplicationName" }, { "id": "Version", @@ -118,7 +138,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "n.conf.ApplicationName" }, { "id": "Err", @@ -138,34 +158,6 @@ "translatorComment": "Copied from source.", "fuzzy": true }, - { - "id": [ - "errorMsg", - "An error has ocurred initializing {ApplicationName}: {Err}" - ], - "message": "An error has ocurred initializing {ApplicationName}: {Err}", - "translation": "An error has ocurred initializing {ApplicationName}: {Err}", - "translatorComment": "Copied from source.", - "placeholders": [ - { - "id": "ApplicationName", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "applicationName" - }, - { - "id": "Err", - "string": "%[2]v", - "type": "error", - "underlyingType": "interface{Error() string}", - "argNum": 2, - "expr": "err" - } - ], - "fuzzy": true - }, { "id": "Checking status...", "message": "Checking status...", @@ -224,7 +216,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" }, { "id": "City", @@ -249,7 +241,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" } ], "fuzzy": true @@ -266,7 +258,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" } ], "fuzzy": true @@ -288,7 +280,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" } ], "fuzzy": true @@ -305,7 +297,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" } ], "fuzzy": true @@ -327,7 +319,7 @@ "type": "string", "underlyingType": "string", "argNum": 1, - "expr": "applicationName" + "expr": "bt.conf.ApplicationName" } ], "fuzzy": true -- cgit v1.2.3