1. 18 Apr, 2020 1 commit
  2. 17 Apr, 2020 9 commits
  3. 16 Apr, 2020 3 commits
  4. 15 Apr, 2020 13 commits
    • intrigeri's avatar
      Clarify what "retry" means here · f35c6155
      intrigeri authored
      Reported by kibi, in passing, on #17597.
      f35c6155
    • IkiWiki's avatar
      updated PO files · b14adc4c
      IkiWiki authored
      b14adc4c
    • intrigeri's avatar
      d06942f1
    • intrigeri's avatar
    • anonym's avatar
      Unfuzzy PO files changed by refs: #17005. · a5e62488
      anonym authored
      I used this hacky approach:
      
          git diff 6b9e13f1^..origin/master  -- *.po > lots-of-fuzzy.patch
          patch -R -p1 < lots-of-fuzzy.patch
          git commit
      
      So I undid all the PO changes of #17005. The idea is to unfuzzy
      lots-of-fuzzy.patch and then apply this patch instead, and then squash
      those changes into the "revert" commit we made above, turning it into
      the commit I'm writing right now.
      
      The fuzzy cases I care aboute looke like this:
      
          -#, no-wrap
          -msgid "Online anonymity and censorship circumvention\n"
          +#, fuzzy, no-wrap
          +#| msgid "Online anonymity and censorship circumvention\n"
          +msgid "Online anonymity and censorship circumvention"
           msgstr "Onlineanonymität und Zensurumgehung\n"
      
      and should be transformed into this:
      
           #, no-wrap
          -msgid "Online anonymity and censorship circumvention\n"
          +msgid "Online anonymity and censorship circumvention"
          -msgstr "Onlineanonymität und Zensurumgehung\n"
          +msgstr "Onlineanonymität und Zensurumgehung"
      
      Behold this ugly state machine (my favored way of solving these kind
      of problems in small steps without having to think much about the
      whole problem):
      
          out = open('unfuzzy.patch', 'w')
          state = 0
          fuzzy_buf = ''
          unfuzzy_buf = ''
          File.read('lots-of-fuzzy.patch').each_line do |line|
            line = line.chomp
            fuzzy_buf   += line + "\n"
            if    state == 0 && line == '-#, no-wrap'
              state = 1
              unfuzzy_buf += " #, no-wrap\n"
            elsif state == 1 && /^-msgid ".*\\n"/.match(line)
              state = 2
              unfuzzy_buf += line + "\n"
            elsif state == 1 && line == '-msgstr ""'
              ;
            elsif state == 2 && line == '+#, fuzzy, no-wrap'
              state = 3
            elsif state == 3 && /^\+#| msgid ".*\\n"/.match(line)
              state = 4
            elsif state == 4 && /^\+msgid ".*"/.match(line)
              state = 5
              unfuzzy_buf += line + "\n"
            elsif state == 5 && /^ msgstr ".*\\n"/.match(line)
              state = 6
              unfuzzy_buf += "-" + line[1..] + "\n"
              unfuzzy_buf += "+" + line[1..-4] + '"' + "\n"
            elsif state == 6 && /^\s*$/.match(line)
              state = 0
              # Eh, so in total the above transformations mean that our hunk
              # results in one less line, so the diff offset is off by one =>
              # bad patch! So we just add a line that we easily can remove
              # later. :)
              unfuzzy_buf += "+########sdf9s7d87fyusdf98sd7f098sd7f09sduf09uj######\n"
              unfuzzy_buf += line + "\n"
              out.write(unfuzzy_buf)
              fuzzy_buf = ''
              unfuzzy_buf = ''
            else
              state = 0
              out.write(fuzzy_buf)
              fuzzy_buf = ''
              unfuzzy_buf = ''
            end
          end
      
      Then I applied unfuzzy.patch and used sed to kill the weird lines I
      had to introduce (see above):
      
          pattern="########sdf9s7d87fyusdf98sd7f098sd7f09sduf09uj######"
          for f in $(git grep -l ${pattern}); do
              sed -i "/${pattern}/d" ${f}
          done
      
      and squashed, and now we have 1386 fewer fuzzy strings, yay! And
      po_lint does not complain, which seems like a good sign. :)
      a5e62488
    • IkiWiki's avatar
      updated PO files · 44c4ffe8
      IkiWiki authored
      44c4ffe8
    • intrigeri's avatar
      a0775bd1
    • intrigeri's avatar
      Update PO files · 3ad7b62a
      intrigeri authored
      3ad7b62a
    • intrigeri's avatar
      Merge branch 'feature/17005-po4a-0.55' · 6b9e13f1
      intrigeri authored
      6b9e13f1
    • intrigeri's avatar
      Add a HTML anchor · be483b7c
      intrigeri authored
      be483b7c
    • intrigeri's avatar
      Weblate: fix maintenance mode instructions · 81e1d80f
      intrigeri authored
      The previous command would not work due to permission issues.
      Let's instead put the flag file in a place where all Weblate admins
      can write.
      81e1d80f
    • intrigeri's avatar
      Weblate: document maintenance mode · 0858da2a
      intrigeri authored
      0858da2a
    • sajolida's avatar
      Replace PNG with SVG · c82aa700
      sajolida authored
      c82aa700
  5. 14 Apr, 2020 14 commits
    • intrigeri's avatar
      Fix Markdown formatting · c4c7ad64
      intrigeri authored
      c4c7ad64
    • Tails translators's avatar
      merge with main git using merge_canonical_changes.py. · 05aed1f4
      Tails translators authored
      wiki/src/doc/anonymous_internet/electrum.ar.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.ca.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.id.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.pl.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.ru.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.sr_Latn.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.tr.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.zh.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/doc/anonymous_internet/electrum.zh_TW.po: updating as wiki/src/doc/anonymous_internet/electrum.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ar.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ca.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.id.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.pl.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ru.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.sr_Latn.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.tr.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.zh.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.zh_TW.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/news/version_3.13.1.ar.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.ca.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.id.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.pl.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.ru.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.sr_Latn.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.tr.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.zh.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.1.zh_TW.po: updating as wiki/src/news/version_3.13.1.de.po has changed.
      wiki/src/news/version_3.13.ar.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.ca.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.id.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.pl.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.ru.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.sr_Latn.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.tr.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.zh.po: updating as wiki/src/news/version_3.13.de.po has changed.
      wiki/src/news/version_3.13.zh_TW.po: updating as wiki/src/news/version_3.13.de.po has changed.
      05aed1f4
    • IkiWiki's avatar
      updated PO files · 23e4ccac
      IkiWiki authored
      23e4ccac
    • sajolida's avatar
      Merge remote-tracking branch 'origin/master' · a92564be
      sajolida authored
      a92564be
    • sajolida's avatar
    • Tails translators's avatar
      merge with main git using merge_canonical_changes.py. · 9e34da7b
      Tails translators authored
      wiki/src/doc.ar.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.ca.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.id.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.pl.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.ru.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.sr_Latn.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.tr.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.zh.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/doc.zh_TW.po: updating as wiki/src/doc.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ar.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ca.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.id.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.pl.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.ru.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.sr_Latn.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.tr.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.zh.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      wiki/src/install/inc/steps/download.inline.zh_TW.po: updating as wiki/src/install/inc/steps/download.inline.de.po has changed.
      9e34da7b
    • IkiWiki's avatar
      updated PO files · 17a7338b
      IkiWiki authored
      17a7338b
    • sajolida's avatar
    • sajolida's avatar
      Merge remote-tracking branch 'origin/master' · e4d21b15
      sajolida authored
      e4d21b15
    • sajolida's avatar
    • Tails translators's avatar
      merge with main git using merge_canonical_changes.py. · f673b7f0
      Tails translators authored
      wiki/src/install/inc/steps/restart_second_time.inline.ar.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.ca.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.id.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.pl.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.ru.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.sr_Latn.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.tr.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.zh.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      wiki/src/install/inc/steps/restart_second_time.inline.zh_TW.po: updating as wiki/src/install/inc/steps/restart_second_time.inline.de.po has changed.
      f673b7f0
    • IkiWiki's avatar
      updated PO files · 97623143
      IkiWiki authored
      97623143
    • sajolida's avatar
      Merge remote-tracking branch 'origin/master' · da773b22
      sajolida authored
      da773b22
    • sajolida's avatar