From ef72f2246a43ee5ed1c23a10192b547d3a32b128 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 23 Jan 2020 16:52:25 +0100 Subject: [PATCH] Import Indonesian resource check from TravisCI to Weblate pipeline --- .buildkite/pipeline.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index de434d0122..a410ea0af9 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -86,3 +86,10 @@ steps: plugins: - docker#v3.1.0: image: "openjdk" + + # Check that indonesians files are identical. + # Due to Android issue, the resource folder must be values-in/, and Weblate export data into values-id/. + # If this step fails, it means that Weblate has updated the file in value-id/ so to fix it, copy the file to values-in/ + - label: "Indonesian" + command: + - "diff ./vector/src/main/res/values-id/strings.xml ./vector/src/main/res/values-in/strings.xml"