From 6e7dea7b83da14fd205b166c9553b39ceef79c84 Mon Sep 17 00:00:00 2001 From: Tijmen Wildervanck Date: Mon, 16 Oct 2017 14:24:25 +0200 Subject: Add a Dutch translation --- .../java/org/xapek/andiodine/FragmentStatus.java | 4 +- src/main/res/layout/fragment_status.xml | 2 +- src/main/res/values-de/strings.xml | 3 + src/main/res/values-nl/strings.xml | 66 ++++++++++++++++++++++ src/main/res/values/strings.xml | 9 ++- 5 files changed, 78 insertions(+), 6 deletions(-) create mode 100644 src/main/res/values-nl/strings.xml (limited to 'src/main') diff --git a/src/main/java/org/xapek/andiodine/FragmentStatus.java b/src/main/java/org/xapek/andiodine/FragmentStatus.java index c1f709a..db6e5ad 100644 --- a/src/main/java/org/xapek/andiodine/FragmentStatus.java +++ b/src/main/java/org/xapek/andiodine/FragmentStatus.java @@ -44,13 +44,13 @@ public class FragmentStatus extends Fragment { .create() // .show(); } else if (IodineVpnService.ACTION_STATUS_CONNECT.equals(intent.getAction())) { - mStatus.setText("Connect"); + mStatus.setText(R.string.connect); } else if (IodineVpnService.ACTION_STATUS_CONNECTED.equals(intent.getAction())) { mStatus.setText("Connected: " + IodineClient.getIp() + '/' + IodineClient.getNetbits() + " MTU: " + IodineClient.getMtu() + '\n'); } else if (IodineVpnService.ACTION_STATUS_DISCONNECT.equals(intent.getAction())) { - mStatus.setText("Disconnect"); + mStatus.setText(R.string.disconnect); } } }; diff --git a/src/main/res/layout/fragment_status.xml b/src/main/res/layout/fragment_status.xml index 65f63b1..3735c7c 100644 --- a/src/main/res/layout/fragment_status.xml +++ b/src/main/res/layout/fragment_status.xml @@ -37,7 +37,7 @@