remove .mo and .po files + script to generate translations

This commit is contained in:
devloop 2022-10-04 08:45:50 +02:00
parent dc6d4e2359
commit 3e506ea2d8
22 changed files with 3 additions and 10703 deletions

View File

@ -4,8 +4,5 @@ include LICENSE
include VERSION
recursive-include wapitiCore/data *
recursive-include wapitiCore/language_sources *
recursive-include wapitiCore/report_template *
recursive-include doc *
exclude wapitiCore/language_sources/*.sh
exclude wapitiCore/language_sources/file_list.txt

View File

@ -185,12 +185,10 @@ You can :
+ Support the project by making a donation ( http://sf.net/donate/index.php?group_id=168625 )
+ Create or improve attack modules
+ Create or improve report generators
+ Work on the JS interpreter (lamejs)
+ Send bugfixes, patches...
+ Write some GUIs
+ Create some tools to convert cookies from browsers to Wapiti JSON format
+ Create a tool to convert PCAP files to Wapiti sqlite3 session files
+ Translate Wapiti in your language ( https://www.transifex.com/none-538/wapiti/ )
+ Talk about Wapiti around you

View File

@ -45,8 +45,7 @@ Please create an issue on https://github.com/wapiti-scanner/wapiti/issues
### Can I help the project ? ###
Sure ! If you have Python3 skills I can give you some tasks to work on.
If you are not in development you can help translate Wapiti in your language (see https://www.transifex.com/none-538/wapiti/ )
Sure ! If you have Python3 skills I can give you some tasks to work on.
### I love Wapiti, how to support the project ? ###

View File

@ -176,11 +176,11 @@ Drupal 7.50, 2016-07-07
- Fixed the locale safety check that is used to ensure that translations are
safe to allow for tokens in the href/src attributes of translated strings.
- Fixed that URL generation only works on port 80 when using domain based
language negotation.
language negotiation.
- Made method="get" forms work inside the administrative overlay. The fix adds
a new hidden field to these forms when they appear inside the overlay (minor
data structure change).
- Increased maxlength of menu link title input fields in the node form and
- Increased max length of menu link title input fields in the node form and
menu link form from 128 to 255 characters.
- Removed meaningless post-check=0 and pre-check=0 cache control headers from
Drupal HTTP responses.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,63 +0,0 @@
../attack/attack.py
../attack/mod_backup.py
../attack/mod_brute_login_form.py
../attack/mod_buster.py
../attack/mod_cookieflags.py
../attack/mod_crlf.py
../attack/mod_csp.py
../attack/mod_csrf.py
../attack/mod_drupal_enum.py
../attack/mod_exec.py
../attack/mod_file.py
../attack/mod_htaccess.py
../attack/mod_htp.py
../attack/mod_http_headers.py
../attack/mod_log4shell.py
../attack/mod_methods.py
../attack/mod_nikto.py
../attack/mod_permanentxss.py
../attack/mod_redirect.py
../attack/mod_shellshock.py
../attack/mod_sql.py
../attack/mod_ssrf.py
../attack/mod_takeover.py
../attack/mod_timesql.py
../attack/mod_wapp.py
../attack/mod_wp_enum.py
../attack/mod_xss.py
../attack/mod_xxe.py
../definitions/backup.py
../definitions/credentials.py
../definitions/crlf.py
../definitions/csp.py
../definitions/csrf.py
../definitions/dangerous_resource.py
../definitions/exec.py
../definitions/file.py
../definitions/fingerprint.py
../definitions/fingerprint_webapp.py
../definitions/fingerprint_webserver.py
../definitions/htaccess.py
../definitions/http_headers.py
../definitions/http_only.py
../definitions/internal_error.py
../definitions/log4shell.py
../definitions/methods.py
../definitions/redirect.py
../definitions/reflected_xss.py
../definitions/resource_consumption.py
../definitions/secure_cookie.py
../definitions/sql.py
../definitions/ssl.py
../definitions/ssrf.py
../definitions/stored_xss.py
../definitions/subdomain_takeovers.py
../definitions/timesql.py
../definitions/xxe.py
../language/vulnerability.py
../main/getcookie.py
../main/wapiti.py
../net/crawler.py
../net/explorer.py
../report/txtreportgenerator.py
../parsers/commandline.py

File diff suppressed because it is too large Load Diff

View File

@ -1,25 +0,0 @@
#!/bin/sh
# -f, --files-from=FICHIER obtenir la liste des fichiers d'entrée à partir du FICHIER
# -j, --join-existing joindre les messages au fichier existant
# --no-location ne pas créer les commentaires de numérotation du type "#: fichier:ligne"
# --omit-header ne pas créer d'en-têtes de la forme 'msgid ""'
# First generate the template with all current strings, it will delete the previous file (so remove old strings)
xgettext --copyright-holder="2009-2022 Nicolas SURRIBAS" --package-name="Wapiti" --package-version="GIT" --from-code=UTF-8 -L Python --no-wrap -d wapiti -o template.po -f file_list.txt --no-location --omit-header
# Next, update the translation files by adding entry for new strings
# while keeping already translated strings if they are still used.
# Old references will be commented and put at the end of files
echo "German"
msgmerge --update --no-fuzzy-matching --backup=off de.po template.po
echo "English"
msgmerge --update --no-fuzzy-matching --backup=off en.po template.po
echo "Spanish"
msgmerge --update --no-fuzzy-matching --backup=off es.po template.po
echo "French"
msgmerge --update --no-fuzzy-matching --backup=off fr.po template.po
echo "Malay"
msgmerge --update --no-fuzzy-matching --backup=off ms.po template.po
echo "Portuguese"
msgmerge --update --no-fuzzy-matching --backup=off pt.po template.po
echo "Chinese"
msgmerge --update --no-fuzzy-matching --backup=off zh.po template.po

View File

@ -1,22 +0,0 @@
#!/bin/sh
rm ../data/language/de/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/fr/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/en/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/es/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/ms/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/pt/LC_MESSAGES/wapiti.mo 2> /dev/null
rm ../data/language/zh/LC_MESSAGES/wapiti.mo 2> /dev/null
echo "German"
msgfmt de.po -o ../data/language/de/LC_MESSAGES/wapiti.mo
echo "English"
msgfmt en.po -o ../data/language/en/LC_MESSAGES/wapiti.mo
echo "Spanish"
msgfmt es.po -o ../data/language/es/LC_MESSAGES/wapiti.mo
echo "French"
msgfmt fr.po -o ../data/language/fr/LC_MESSAGES/wapiti.mo
echo "Malay"
msgfmt ms.po -o ../data/language/ms/LC_MESSAGES/wapiti.mo
echo "Portuguese"
msgfmt pt.po -o ../data/language/pt/LC_MESSAGES/wapiti.mo
echo "Chinese"
msgfmt zh.po -o ../data/language/zh/LC_MESSAGES/wapiti.mo

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff