Go to file
Petr Lautrbach 32884f31db setroubleshoot-3.3.29
- Introduce email.use_sendmail option
- Update translations
2022-03-30 14:16:51 +02:00
tests tests/Regression/Report-bugs: Add new test RPM 2020-08-05 18:05:15 +02:00
.gitignore setroubleshoot-3.3.29 2022-03-30 14:16:51 +02:00
0001-util.py-Improve-doctest-tests.patch Improve DSP module reporting 2022-01-19 13:40:47 +01:00
0002-Look-for-modules-in-usr-share-selinux-packages.patch Improve DSP module reporting 2022-01-19 13:40:47 +01:00
0003-Always-use-rpm-source-package-for-reporting.patch Improve DSP module reporting 2022-01-19 13:40:47 +01:00
README.translations Update instructions for working with translations 2022-01-13 13:59:55 +01:00
setroubleshoot.logrotate auto-import setroubleshoot-1.9.5-1.fc7 on branch devel from 2007-04-25 17:21:13 +00:00
setroubleshoot.spec setroubleshoot-3.3.29 2022-03-30 14:16:51 +02:00
setroubleshoot.sysusers Use %sysusers_create_compat instead of useradd 2022-02-08 16:47:26 +01:00
setroubleshoot.tmpfiles Set right ownership on /var/lib/setroubleshoot 2022-02-08 16:32:38 +01:00
sources setroubleshoot-3.3.29 2022-03-30 14:16:51 +02:00

README.translations

Setroubleshoot translations currently live in the following locations:

- https://translate.fedoraproject.org/projects/setroubleshoot/
  - contains translations for both stable (rhel8) and main (Fedora) branches
  - maintains large number of languages (several of which do not actually contain any translated strings)
  - updated by community and partially by RH localization effort

- setroubleshoot source repositories
  - https://gitlab.com/setroubleshoot
    - used for development
    - separate repos for plugins and framework
  - https://pagure.io/setroubleshoot and https://github.com/fedora-selinux/setroubleshoot
    - no longer updated
    - plugins and framework in the same repo

How to update source files on weblate:
  # install dependencies
  $ sudo dnf install automake autoconf inittool gettext glib2-devel dbus-devel libnotify-devel gtk3-devel audit-libs-devel
  $ git clone git@gitlab.com:setroubleshoot/framework.git
  $ git clone git@gitlab.com:setroubleshoot/plugins.git
  $ cd framework
  # Update Makefile
  $ ./autogen.sh
  # generate new potfile
  $ cd po
  $ make setroubleshoot.pot
  # https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot/en/
  # Files -> Upload translations
  # Repeat the process for plugins
  # https://translate.fedoraproject.org/projects/setroubleshoot/plugins/en/
  # Files -> Upload translations
  # or use weblate command line tool:
  $ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input framework/po/setroubleshoot.pot setroubleshoot/setroubleshoot/en
  $ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input plugins/po/setroubleshoot.pot setroubleshoot/plugins/en/

How to pull new translations from weblate
  $ git clone git@gitlab.com:setroubleshoot/framework.git
  $ git clone git@gitlab.com:setroubleshoot/plugins.git
  # https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot
  # Files -> Download translation files as ZIP file
  # https://translate.fedoraproject.org/projects/setroubleshoot/plugins/
  # Files -> Download translation files as ZIP file
  $ unzip setroubleshoot-setroubleshoot.zip
  $ cp setroubleshoot/setroubleshoot/framework/po/*.po /framework/po
  $ unzip setroubleshoot-plugins.zip
  $ cp setroubleshoot/plugins/plugins/po/*.po /plugins/po
  # wlc doesn't support batch download yet https://github.com/WeblateOrg/wlc/issues/17