Skip to content

z mzaini30

John Vandenberg edited this page Oct 25, 2016 · 1 revision

Github Project : FelisCatus/SwitchyOmega

Translation Project Page : https://hosted.weblate.org/projects/switchyomega/

Bug Description : Invalid Variables

Command : dennis-cmd lint --errorsonly .

Output:

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/ach.po
E201: invalid variables: %20e
53:msgid "condition_help_HostRegexCondition"
54:msgstr ""
55:"Like Host wildcard condition, but matches hosts (domain names) by <a "
56:"href='https://www.google.com/search?q=regular%20expression'>regular "
57:"expression</a>.<br>Regular expressions can be hard to construct (and read)."
58:"<br>It is recommended to use wildcards for most cases and only use regex for "
59:"conditions that cannot be achieved by any other condition type."

E201: invalid variables: %20e
85:msgid "condition_help_UrlRegexCondition"
86:msgstr ""
87:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
88:"q=regular%20expression'>regular expression</a>.<br>However, regular "
89:"expressions can be hard to construct (and read).<br>It is recommended to use "
90:"wildcards for most cases and only use regex for conditions that cannot be "
91:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/cs.po
E201: invalid variables: %20e
54:msgid "condition_help_HostRegexCondition"
55:msgstr ""
56:"Jako hostitele zástupné stav, ale zápasy hostí (názvy domén) <a "
57:"href='https://www.google.com/search?q=regular%20expression'> regulární</a> "
58:"výraz.<br>Regulární výrazy mohou být těžké sestavit (a číst).<br>Se "
59:"doporučuje použít zástupné znaky pro většinu případů a pouze používat regex "
60:"pro podmínky, které nelze dosáhnout jiným typ podmínky."

E201: invalid variables: %20e
86:msgid "condition_help_UrlRegexCondition"
87:msgstr ""
88:"Adresa URL odpovídá mimořádně mocné <a "
89:"href='https://www.google.com/search?q=regular%20expression'> regulární "
90:"výraz</a>.<br>Však může být obtížné sestavit (a číst) regulární výrazy.<br>"
91:"Se doporučuje použít zástupné znaky pro většinu případů a pouze používat "
92:"regex pro podmínky, které nelze dosáhnout jiným typ podmínky."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/de.po
E201: invalid variables: %20e
57:msgid "condition_help_HostRegexCondition"
58:msgstr ""
59:"Wie die Host Platzhalter Bedingung, aber gleicht hosts (domain namen) bei <a "
60:"href='https://www.google.com/search?q=regular%20expression'>Regulärer "
61:"Ausdruck</a>.<br>Regulärer Ausdruck können schwer zu erstellen und/oder zu "
62:"lesen sein.<br>Es wird empfohlen meistens Platzhalter zu verwenden und "
63:"Regulärer Ausdrücke nur für Bedingungen die nicht mit anderen Bedingungen "
64:"Typen möglich sind zu benutzen."

E201: invalid variables: %20e
90:msgid "condition_help_UrlRegexCondition"
91:msgstr ""
92:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
93:"q=regular%20expression'>regular expression</a>.<br>However, regular "
94:"expressions can be hard to construct (and read).<br>It is recommended to use "
95:"wildcards for most cases and only use regex for conditions that cannot be "
96:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/en_US.po
E201: invalid variables: %20e
54:msgid "condition_help_HostRegexCondition"
55:msgstr ""
56:"Like Host wildcard condition, but matches hosts (domain names) by <a href='"
57:"https://www.google.com/search?q=regular%20expression'>regular expression</a>.<"
58:"br>Regular expressions can be hard to construct (and read).<br>It is "
59:"recommended to use wildcards for most cases and only use regex for conditions "
60:"that cannot be achieved by any other condition type."

E201: invalid variables: %20e
86:msgid "condition_help_UrlRegexCondition"
87:msgstr ""
88:"Matches URL by extremely powerful <a href='https://www.google.com/search?q="
89:"regular%20expression'>regular expression</a>.<br>However, regular expressions "
90:"can be hard to construct (and read).<br>It is recommended to use wildcards "
91:"for most cases and only use regex for conditions that cannot be achieved by "
92:"any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/es_AR.po
E201: invalid variables: %20r
55:msgid "condition_help_HostRegexCondition"
56:msgstr ""
57:"Como la condición de comodín de Host, pero coincide hosts (nombres de "
58:"dominio) por <a href='https://www.google.com/search?q=expresión%20regular'>"
59:"expresión regular</a>.<br>Las expresiones regulares pueden ser difíciles de "
60:"construir (y leer).<br>Es recomendado usar comodines para la mayoría de los "
61:"casos y solo usar expresiones regulares para las condiciones que no se "
62:"pueden expresar por ningún otro tipo de condición."

E201: invalid variables: %20e
89:msgid "condition_help_UrlRegexCondition"
90:msgstr ""
91:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
92:"q=regular%20expression'>regular expression</a>.<br>However, regular "
93:"expressions can be hard to construct (and read).<br>It is recommended to use "
94:"wildcards for most cases and only use regex for conditions that cannot be "
95:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/fr.po
E201: invalid variables: %20e
55:msgid "condition_help_HostRegexCondition"
56:msgstr ""
57:"Like Host wildcard condition, but matches hosts (domain names) by <a "
58:"href='https://www.google.com/search?q=regular%20expression'>regular "
59:"expression</a>.<br>Regular expressions can be hard to construct (and read)."
60:"<br>It is recommended to use wildcards for most cases and only use regex for "
61:"conditions that cannot be achieved by any other condition type."

E201: invalid variables: %20e
87:msgid "condition_help_UrlRegexCondition"
88:msgstr ""
89:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
90:"q=regular%20expression'>regular expression</a>.<br>However, regular "
91:"expressions can be hard to construct (and read).<br>It is recommended to use "
92:"wildcards for most cases and only use regex for conditions that cannot be "
93:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/ja.po
E201: invalid variables: %20e
83:msgid "condition_help_UrlRegexCondition"
84:msgstr ""
85:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
86:"q=regular%20expression'>regular expression</a>.<br>However, regular "
87:"expressions can be hard to construct (and read).<br>It is recommended to use "
88:"wildcards for most cases and only use regex for conditions that cannot be "
89:"achieved by any other condition type."

Totals
  Errors:       1

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/pt_BR.po
E201: invalid variables: %20e
54:msgid "condition_help_HostRegexCondition"
55:msgstr ""
56:"Like Host wildcard condition, but matches hosts (domain names) by <a "
57:"href='https://www.google.com/search?q=regular%20expression'>regular "
58:"expression</a>.<br>Regular expressions can be hard to construct (and read)."
59:"<br>It is recommended to use wildcards for most cases and only use regex for "
60:"conditions that cannot be achieved by any other condition type."

E201: invalid variables: %20e
86:msgid "condition_help_UrlRegexCondition"
87:msgstr ""
88:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
89:"q=regular%20expression'>regular expression</a>.<br>However, regular "
90:"expressions can be hard to construct (and read).<br>It is recommended to use "
91:"wildcards for most cases and only use regex for conditions that cannot be "
92:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/ru.po
E201: invalid variables: %20e
58:msgid "condition_help_HostRegexCondition"
59:msgstr ""
60:"Like Host wildcard condition, but matches hosts (domain names) by <a "
61:"href='https://www.google.com/search?q=regular%20expression'>regular "
62:"expression</a>.<br>Regular expressions can be hard to construct (and read)."
63:"<br>It is recommended to use wildcards for most cases and only use regex for "
64:"conditions that cannot be achieved by any other condition type."

E201: invalid variables: %20e
90:msgid "condition_help_UrlRegexCondition"
91:msgstr ""
92:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
93:"q=regular%20expression'>regular expression</a>.<br>However, regular "
94:"expressions can be hard to construct (and read).<br>It is recommended to use "
95:"wildcards for most cases and only use regex for conditions that cannot be "
96:"achieved by any other condition type."

Totals
  Errors:       2

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/switchy omega/tr.po
E201: invalid variables: %20e
57:msgid "condition_help_HostRegexCondition"
58:msgstr ""
59:"Like Host wildcard condition, but matches hosts (domain names) by <a "
60:"href='https://www.google.com/search?q=regular%20expression'>regular "
61:"expression</a>.<br>Regular expressions can be hard to construct (and read)."
62:"<br>It is recommended to use wildcards for most cases and only use regex for "
63:"conditions that cannot be achieved by any other condition type."

E201: invalid variables: %20e
89:msgid "condition_help_UrlRegexCondition"
90:msgstr ""
91:"Matches URL by extremely powerful <a href='https://www.google.com/search?"
92:"q=regular%20expression'>regular expression</a>.<br>However, regular "
93:"expressions can be hard to construct (and read).<br>It is recommended to use "
94:"wildcards for most cases and only use regex for conditions that cannot be "
95:"achieved by any other condition type."

Totals
  Errors:       2

Final totals
  Number of files examined:             17
  Total number of files with errors:    10
  Total number of errors:               19

Errors  Filename
     2  task 1 (tr.po)
     2  task 1 (ru.po)
     2  task 1 (pt_BR.po)
     2  task 1 (fr.po)
     2  task 1 (es_AR.po)
     2  task 1 (en_US.po)
     2  task 1 (de.po)
     2  task 1 (cs.po)
     2  task 1 (ach.po)
     1  task 1 (ja.po)

Other Information:

  • Using Dennis
  • Before I run this Dennis program, I download all po files with this Python syntax:
import os

with open("list.txt") as download:
	list_download = download.read().splitlines()
	for x in list_download:
		os.system("wget 'https://github.com/FelisCatus/SwitchyOmega/raw/master/omega-locales/'"+x+"'/LC_MESSAGES/omega-web.po'")
		os.system("mv omega-web.po "+x+".po")

and I list all po filename in list.txt:

ach
cs
de
en_US
es_AR
fa
fr
is
ja
nb_NO
pt_BR
ru
sk
sl
tr
zh_CN
zh_TW

Github Project : mypaint/libmypaint

Translation Project Page : https://hosted.weblate.org/engage/mypaint/

Bug Description : Invalid Variables

Command : dennis-cmd lint --errorsonly .

Output:

>>> Working on: /media/mzaini30/92280D15280CF9CD2/dev/besut kode/task 1/libmypaint/hu.po
E201: invalid variables: %-o
480:#: ../brushsettings-gen.h:36
481:msgid ""
482:"how much this tool behaves like an eraser\n"
483:" 0.0 normal painting\n"
484:" 1.0 standard eraser\n"
485:" 0.5 pixels go towards 50% transparency"
486:msgstr ""
487:"Mennyire fog ez az eszköz radírként viselkedni.\n"
488:" 0.0 sima festés\n"
489:" 1.0 radír\n"
490:" 0.5 a pixelek az 50%-os átlátszóság felé közelítenek"

Totals
  Errors:       1

Final totals
  Number of files examined:             31
  Total number of files with errors:     1
  Total number of errors:                1

Errors  Filename
     1  task 1 (hu.po)

Other Information:

  • Using Dennis
  • Before I run this Dennis program, I download all po files with this Python syntax:
import os

with open("list.txt") as download:
	list_download = download.read().splitlines()
	for x in list_download:
		os.system("wget 'https://raw.githubusercontent.com/mypaint/libmypaint/master/po/'"+x+"'.po'")

and I list all po filename in list.txt:

ar
ca
cs
da
de
en_CA
en_GB
es
fa
fi
fr
he
hu
id
it
ja
ko
nb
nn_NO
pl
pt_BR
ro
ru
sc
sk
sl
sv
tr
uk
zh_CN
zh_TW
Clone this wiki locally