1. 21 Sep, 2021 2 commits
    • Hans-Christoph Steiner's avatar
      fix merge conflicts with Weblate · 50876184
      Hans-Christoph Steiner authored
      50876184
    • Hans-Christoph Steiner's avatar
      po: delete obsolete translations · a19f4695
      Hans-Christoph Steiner authored
      sed -i '/^#~ /d' po/_*.po
      sed -i '/^#~|/d' po/_*.po
      for f in  po/_*.po; do tail -3 $f |grep -F '#, fuzzy' > /dev/null && echo $f; done
      sed -Ei '/^#~ (msgid "|msgstr "|").*/d' po/*.po*
      
      ```
      import re, glob
      for f in sorted(glob.glob('po/_*.po')):
          print(f)
          with open(f) as fp:
              contents = fp.read()
          with open(f, 'w') as fp:
              fp.write(re.sub(r'\n\n\n', r'', re.sub(r'\n#, fuzzy\n\n', r'', contents)))
              fp.write('\n')
      ```
      a19f4695
  2. 20 Sep, 2021 38 commits