From 0cacf5b1a0e8807ffa9dee250c619bad563e46aa Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 27 May 2017 14:54:05 +0100 Subject: [PATCH] script to make punctuation consistent in i18n strings --- scripts/fix-i18n.pl | 77 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 scripts/fix-i18n.pl diff --git a/scripts/fix-i18n.pl b/scripts/fix-i18n.pl new file mode 100755 index 0000000000..6afc93e05e --- /dev/null +++ b/scripts/fix-i18n.pl @@ -0,0 +1,77 @@ +#!/usr/bin/perl -ni + +use strict; +use warnings; + +# script which synchronises i18n strings to include punctuation. +# i've cherry-picked ones which seem to have diverged between the different translations +# from TextForEvent, causing missing events all over the place + +BEGIN { +$::fixups = [split(/\n/, <