From e1553aa9126f73dad214928a5094e2664dfa3539 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 3 Feb 2019 21:11:45 +1000 Subject: [PATCH] Initial CrowdIn translation stuff --- crowdin.yml | 53 +++++++++++++++++++ .../chanserv.lang.json} | 0 .../help.lang.json} | 0 .../hostserv.lang.json} | 0 .../irc.lang.json} | 0 .../nickserv.lang.json} | 0 .../translation.lang.yaml} | 0 7 files changed, 53 insertions(+) create mode 100644 crowdin.yml rename languages/{example-chanserv.lang.json => example/chanserv.lang.json} (100%) rename languages/{example-help.lang.json => example/help.lang.json} (100%) rename languages/{example-hostserv.lang.json => example/hostserv.lang.json} (100%) rename languages/{example-irc.lang.json => example/irc.lang.json} (100%) rename languages/{example-nickserv.lang.json => example/nickserv.lang.json} (100%) rename languages/{example.lang.yaml => example/translation.lang.yaml} (100%) diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..94b7947a --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,53 @@ +# +# Your crowdin's credentials +# +"project_identifier" : "oragono" +# "api_key" : "" +# "base_path" : "" +#"base_url" : "" + +# +# Choose file structure in crowdin +# e.g. true or false +# +"preserve_hierarchy": true + +# +# Files configuration +# +files: [ + { + "source" : "languages/example/translation.lang.yaml", + "translation" : "languages/%locale%.lang.yaml", + "dest" : "translation.lang.yaml" + }, + { + "source" : "languages/example/irc.lang.json", + "translation" : "languages/%locale%-irc.lang.yaml", + "dest" : "irc.lang.json" + }, + { + "source" : "languages/example/help.lang.json", + "translation" : "languages/%locale%-help.lang.yaml", + "dest" : "help.lang.json", + "update_option" : "update_as_unapproved", + }, + { + "source" : "languages/example/chanserv.lang.json", + "translation" : "languages/%locale%-chanserv.lang.yaml", + "dest" : "services/chanserv.lang.json", + "update_option" : "update_as_unapproved", + }, + { + "source" : "languages/example/nickserv.lang.json", + "translation" : "languages/%locale%-nickserv.lang.yaml", + "dest" : "services/nickserv.lang.json", + "update_option" : "update_as_unapproved", + }, + { + "source" : "languages/example/hostserv.lang.json", + "translation" : "languages/%locale%-hostserv.lang.yaml", + "dest" : "services/hostserv.lang.json", + "update_option" : "update_as_unapproved", + }, +] \ No newline at end of file diff --git a/languages/example-chanserv.lang.json b/languages/example/chanserv.lang.json similarity index 100% rename from languages/example-chanserv.lang.json rename to languages/example/chanserv.lang.json diff --git a/languages/example-help.lang.json b/languages/example/help.lang.json similarity index 100% rename from languages/example-help.lang.json rename to languages/example/help.lang.json diff --git a/languages/example-hostserv.lang.json b/languages/example/hostserv.lang.json similarity index 100% rename from languages/example-hostserv.lang.json rename to languages/example/hostserv.lang.json diff --git a/languages/example-irc.lang.json b/languages/example/irc.lang.json similarity index 100% rename from languages/example-irc.lang.json rename to languages/example/irc.lang.json diff --git a/languages/example-nickserv.lang.json b/languages/example/nickserv.lang.json similarity index 100% rename from languages/example-nickserv.lang.json rename to languages/example/nickserv.lang.json diff --git a/languages/example.lang.yaml b/languages/example/translation.lang.yaml similarity index 100% rename from languages/example.lang.yaml rename to languages/example/translation.lang.yaml