Update donate links to my.fsfe.org #1092

已合併
max.mehl 將 11 次提交從 fix/donate-links 合併至 master 2020-04-15 09:09:42 +00:00
擁有者

This PR solves #1077.

I run locally the following script for all patterns we know for old donation/supporter links, so $expr is always different:

#!/usr/bin/env bash
root=$(git rev-parse --show-toplevel)
expr="(\"https?://fsfe.org|\")/donate/donate(\.[a-z][a-z]\.|\.)html\""
for file in $(git grep -rEil "$expr"); do
  if "$root"/tools/check-translation-status.sh -f "$file" -q; then
    sed -Ei -e "s;$expr;\"https://my.fsfe.org/donate\";g" $file
  else
    echo "$file is an outdated translation"
  fi
done

Thanks to the pre-commit hook, I also identified a few translations which I either fake-updated or where I had to change the donation link because it was completely different from the pattern.

For each pattern, I will write a comment with the files that have not been changed due to the fact that they are outpdated translations.

This PR solves #1077. I run locally the following script for all patterns we know for old donation/supporter links, so `$expr` is always different: ``` #!/usr/bin/env bash root=$(git rev-parse --show-toplevel) expr="(\"https?://fsfe.org|\")/donate/donate(\.[a-z][a-z]\.|\.)html\"" for file in $(git grep -rEil "$expr"); do if "$root"/tools/check-translation-status.sh -f "$file" -q; then sed -Ei -e "s;$expr;\"https://my.fsfe.org/donate\";g" $file else echo "$file is an outdated translation" fi done ``` Thanks to the pre-commit hook, I also identified a few translations which I either fake-updated or where I had to change the donation link because it was completely different from the pattern. For each pattern, I will write a comment with the files that have not been changed due to the fact that they are outpdated translations.
作者
擁有者

Pattern: /donate/donate.html with regex (\"https?://fsfe.org|\")/donate/donate(\.[a-z][a-z]\.|\.)html\"

Changed files: 230

Outdated translations:

about/about.da.xhtml is an outdated translation
about/about.el.xhtml is an outdated translation
about/about.es.xhtml is an outdated translation
about/about.fi.xhtml is an outdated translation
about/about.fr.xhtml is an outdated translation
about/about.pt.xhtml is an outdated translation
about/about.ru.xhtml is an outdated translation
about/about.sq.xhtml is an outdated translation
about/about.sv.xhtml is an outdated translation
about/about.tr.xhtml is an outdated translation
campaigns/pdfreaders/pdfreaders.es.xhtml is an outdated translation
campaigns/pdfreaders/pdfreaders.fr.xhtml is an outdated translation
campaigns/pdfreaders/pdfreaders.hr.xhtml is an outdated translation
campaigns/valentine/2010/valentine-2010.cs.xhtml is an outdated translation
donate/thankgnus-2001.cs.xhtml is an outdated translation
donate/thankgnus-2001.el.xhtml is an outdated translation
donate/thankgnus-2001.ru.xhtml is an outdated translation
donate/thankgnus-2002.cs.xhtml is an outdated translation
donate/thankgnus-2002.el.xhtml is an outdated translation
donate/thankgnus-2002.ru.xhtml is an outdated translation
donate/thankgnus-2003.cs.xhtml is an outdated translation
donate/thankgnus-2003.el.xhtml is an outdated translation
donate/thankgnus-2003.ru.xhtml is an outdated translation
donate/thankgnus-2004.cs.xhtml is an outdated translation
donate/thankgnus-2004.el.xhtml is an outdated translation
donate/thankgnus-2004.ru.xhtml is an outdated translation
donate/thankgnus-2005.cs.xhtml is an outdated translation
donate/thankgnus-2005.el.xhtml is an outdated translation
donate/thankgnus-2005.ru.xhtml is an outdated translation
donate/thankgnus-2006.cs.xhtml is an outdated translation
donate/thankgnus-2006.el.xhtml is an outdated translation
donate/thankgnus-2006.ru.xhtml is an outdated translation
donate/thankgnus-2007.cs.xhtml is an outdated translation
donate/thankgnus-2007.el.xhtml is an outdated translation
donate/thankgnus-2007.ru.xhtml is an outdated translation
donate/thankgnus-2008.cs.xhtml is an outdated translation
donate/thankgnus-2008.el.xhtml is an outdated translation
donate/thankgnus-2008.ru.xhtml is an outdated translation
donate/thankgnus-2009.cs.xhtml is an outdated translation
donate/thankgnus-2009.el.xhtml is an outdated translation
donate/thankgnus-2009.ru.xhtml is an outdated translation
donate/thankgnus-2010.cs.xhtml is an outdated translation
donate/thankgnus-2010.el.xhtml is an outdated translation
donate/thankgnus-2010.ru.xhtml is an outdated translation
donate/thankgnus-2011.el.xhtml is an outdated translation
donate/thankgnus-2011.ru.xhtml is an outdated translation
donate/thankgnus-2012.de.xhtml is an outdated translation
donate/thankgnus-2012.el.xhtml is an outdated translation
donate/thankgnus-2012.ru.xhtml is an outdated translation
donate/thankgnus-2013.fr.xhtml is an outdated translation
donate/thankgnus-2014.fr.xhtml is an outdated translation
donate/thankgnus-2015.fr.xhtml is an outdated translation
donate/thankgnus-2016.fr.xhtml is an outdated translation
donate/thankgnus-2017.de.xhtml is an outdated translation
donate/thankgnus-2017.fr.xhtml is an outdated translation
donate/thankgnus-2017.it.xhtml is an outdated translation
donate/thankgnus.bs.xhtml is an outdated translation
donate/thankgnus.el.xhtml is an outdated translation
donate/thankgnus.fi.xhtml is an outdated translation
donate/thankgnus.fr.xhtml is an outdated translation
donate/thankgnus.sq.xhtml is an outdated translation
Pattern: /donate/donate.html with regex `(\"https?://fsfe.org|\")/donate/donate(\.[a-z][a-z]\.|\.)html\"` Changed files: 230 Outdated translations: ```txt about/about.da.xhtml is an outdated translation about/about.el.xhtml is an outdated translation about/about.es.xhtml is an outdated translation about/about.fi.xhtml is an outdated translation about/about.fr.xhtml is an outdated translation about/about.pt.xhtml is an outdated translation about/about.ru.xhtml is an outdated translation about/about.sq.xhtml is an outdated translation about/about.sv.xhtml is an outdated translation about/about.tr.xhtml is an outdated translation campaigns/pdfreaders/pdfreaders.es.xhtml is an outdated translation campaigns/pdfreaders/pdfreaders.fr.xhtml is an outdated translation campaigns/pdfreaders/pdfreaders.hr.xhtml is an outdated translation campaigns/valentine/2010/valentine-2010.cs.xhtml is an outdated translation donate/thankgnus-2001.cs.xhtml is an outdated translation donate/thankgnus-2001.el.xhtml is an outdated translation donate/thankgnus-2001.ru.xhtml is an outdated translation donate/thankgnus-2002.cs.xhtml is an outdated translation donate/thankgnus-2002.el.xhtml is an outdated translation donate/thankgnus-2002.ru.xhtml is an outdated translation donate/thankgnus-2003.cs.xhtml is an outdated translation donate/thankgnus-2003.el.xhtml is an outdated translation donate/thankgnus-2003.ru.xhtml is an outdated translation donate/thankgnus-2004.cs.xhtml is an outdated translation donate/thankgnus-2004.el.xhtml is an outdated translation donate/thankgnus-2004.ru.xhtml is an outdated translation donate/thankgnus-2005.cs.xhtml is an outdated translation donate/thankgnus-2005.el.xhtml is an outdated translation donate/thankgnus-2005.ru.xhtml is an outdated translation donate/thankgnus-2006.cs.xhtml is an outdated translation donate/thankgnus-2006.el.xhtml is an outdated translation donate/thankgnus-2006.ru.xhtml is an outdated translation donate/thankgnus-2007.cs.xhtml is an outdated translation donate/thankgnus-2007.el.xhtml is an outdated translation donate/thankgnus-2007.ru.xhtml is an outdated translation donate/thankgnus-2008.cs.xhtml is an outdated translation donate/thankgnus-2008.el.xhtml is an outdated translation donate/thankgnus-2008.ru.xhtml is an outdated translation donate/thankgnus-2009.cs.xhtml is an outdated translation donate/thankgnus-2009.el.xhtml is an outdated translation donate/thankgnus-2009.ru.xhtml is an outdated translation donate/thankgnus-2010.cs.xhtml is an outdated translation donate/thankgnus-2010.el.xhtml is an outdated translation donate/thankgnus-2010.ru.xhtml is an outdated translation donate/thankgnus-2011.el.xhtml is an outdated translation donate/thankgnus-2011.ru.xhtml is an outdated translation donate/thankgnus-2012.de.xhtml is an outdated translation donate/thankgnus-2012.el.xhtml is an outdated translation donate/thankgnus-2012.ru.xhtml is an outdated translation donate/thankgnus-2013.fr.xhtml is an outdated translation donate/thankgnus-2014.fr.xhtml is an outdated translation donate/thankgnus-2015.fr.xhtml is an outdated translation donate/thankgnus-2016.fr.xhtml is an outdated translation donate/thankgnus-2017.de.xhtml is an outdated translation donate/thankgnus-2017.fr.xhtml is an outdated translation donate/thankgnus-2017.it.xhtml is an outdated translation donate/thankgnus.bs.xhtml is an outdated translation donate/thankgnus.el.xhtml is an outdated translation donate/thankgnus.fi.xhtml is an outdated translation donate/thankgnus.fr.xhtml is an outdated translation donate/thankgnus.sq.xhtml is an outdated translation ```
普通成員

@max.mehl can you add fsfe.org/support to your change?

@max.mehl can you add fsfe.org/support to your change?
作者
擁有者

Pattern: /support with regex (\"https?://fsfe.org|\")/support/?(index.*?html)?\"

Changed files: 28

Outdated translations:

campaigns/swpat/current/unitary-patent.fi.xhtml is an outdated translation
news/2012/news-20120619-01.fi.xhtml is an outdated translation
news/2012/news-20120711-01.fi.xhtml is an outdated translation
Pattern: /support with regex `(\"https?://fsfe.org|\")/support/?(index.*?html)?\"` Changed files: 28 Outdated translations: ``` campaigns/swpat/current/unitary-patent.fi.xhtml is an outdated translation news/2012/news-20120619-01.fi.xhtml is an outdated translation news/2012/news-20120711-01.fi.xhtml is an outdated translation ```
作者
擁有者

Pattern: /join with regex (\"https?://(fellowship\.)?fsfe.org|\")/join/?\"

Changed files: 505

Outdated translations: none

Pattern: /join with regex `(\"https?://(fellowship\.)?fsfe.org|\")/join/?\"` Changed files: 505 Outdated translations: none
作者
擁有者

Pattern: /donate with regex (\"https?://fsfe.org|\")/donate/?\"

Changed files: 51

Outdated translations:

campaigns/swpat/current/unitary-patent.fi.xhtml is an outdated translation
Pattern: /donate with regex `(\"https?://fsfe.org|\")/donate/?\"` Changed files: 51 Outdated translations: ``` campaigns/swpat/current/unitary-patent.fi.xhtml is an outdated translation ```
作者
擁有者

Pattern: /join/join.html with regex (\"https?://(fellowship\.)?fsfe.org|\")/join/join(.html)?\"

Changed files: 24

Outdated translations:

news/2014/news-20141203-01.es.xhtml is an outdated translation
Pattern: /join/join.html with regex `(\"https?://(fellowship\.)?fsfe.org|\")/join/join(.html)?\"` Changed files: 24 Outdated translations: ``` news/2014/news-20141203-01.es.xhtml is an outdated translation ```
作者
擁有者

Pattern: /join/$ref with regex (\"https?://(fellowship\.)?fsfe.org|\")/join/(.+?)\"

Changed files: 129

Outdated translations:

news/2014/news-20141203-01.es.xhtml is an outdated translation
Pattern: /join/$ref with regex `(\"https?://(fellowship\.)?fsfe.org|\")/join/(.+?)\"` Changed files: 129 Outdated translations: ``` news/2014/news-20141203-01.es.xhtml is an outdated translation ```
作者
擁有者

Pattern: fellowship.fsfe.org/login/join.php with regex (\"https?://(fellowship\.)?fsfe.org|\")/login/join.php.*?\"

Changed files: 10

Outdated translations: none

Pattern: fellowship.fsfe.org/login/join.php with regex `(\"https?://(fellowship\.)?fsfe.org|\")/login/join.php.*?\"` Changed files: 10 Outdated translations: none
作者
擁有者

Pattern: /fellowship/(ams/)join with regex (\"https?://(fellowship\.)?fsfe.org|\")/fellowship/(ams/)?join.*?\"

Changed files: 50

Outdated translations: none

Pattern: /fellowship/(ams/)join with regex `(\"https?://(fellowship\.)?fsfe.org|\")/fellowship/(ams/)?join.*?\"` Changed files: 50 Outdated translations: none
作者
擁有者

Pattern: /donate/onetime-donation with regex (\"https?://fsfe.org|\")/donate/onetime-donation.*?\"

Changed files: 16

Outdated translations:

news/2014/news-20141203-01.es.xhtml is an outdated translation
Pattern: /donate/onetime-donation with regex `(\"https?://fsfe.org|\")/donate/onetime-donation.*?\"` Changed files: 16 Outdated translations: ``` news/2014/news-20141203-01.es.xhtml is an outdated translation ```
max.mehl 將標題從 WIP: Update donate links to my.fsfe.org 改為 Update donate links to my.fsfe.org 2020-04-15 09:09:19 +00:00
max.mehl 關閉了這個合併請求 2020-04-15 09:09:42 +00:00
max.mehl 刪除分支 fix/donate-links 2020-04-15 10:58:28 +00:00
登入 才能加入這對話。
No description provided.