Commit Graph

7 Commits

Author SHA1 Message Date
Sergej A 9ace657bb0 Update Russian translation 2023-10-22 16:02:03 +00:00
Mike Fleetwood 81c4788ae8 Fix translation of DocBook markup tag of the GParted Manual (!98)
As found by the GitLab Continuous Integration job on CentOS 7 with
itstool 2.0.2, building the GParted Manual breaks on the Russian
translation like this:
    $ ./autogen.sh
    $ make clean
    $ cd help
    $ make
    ...
    if ! test -d "ru/"; then mkdir "ru/"; fi
    if test -d "C"; then d="../"; else d="/home/mike/programming/c/gparted/help/"; fi; \
    mo="ru/ru.mo"; \
    if test -f "${mo}"; then mo="../${mo}"; else mo="/home/mike/programming/c/gparted/help/${mo}"; fi; \
    (cd "ru/" && itstool -m "${mo}" ${d}/C/index.docbook) && \
    touch "ru/ru.stamp"
    Error: Could not merge translations:
    'NoneType' object has no attribute 'node'
    make: *** [ru/ru.stamp] Error 1

On Fedora 35 with itstool 2.0.6 building the GParted Manual merely
reports a warning, leaving one paragraph untranslated, but the build
completes successfully:
    $ ./autogen.sh
    $ make clean
    $ cd help
    $ make
    ...
    if ! test -d "ru/"; then mkdir "ru/"; fi
    if test -d "C"; then d="../"; else d="/home/fedora/programming/c/gparted/help/"; fi; \
    mo="ru/ru.mo"; \
    if test -f "${mo}"; then mo="../${mo}"; else mo="/home/fedora/programming/c/gparted/help/${mo}"; fi; \
    (cd "ru/" && itstool -m "${mo}" ${d}/C/index.docbook) && \
    touch "ru/ru.stamp"
    Warning: Could not merge translation for msgid:
    Set the <application>grub</application> root device by specifying the device returned by the <command>find</command> command. This should be the partition containing the boot directory. <_:screen-1/>
    ...
    $ echo $?
    0

Fix translation of DocBook markup tag in the Russian translation of the
GParted Manual by commit:
    17f4c3176d
    Update Russian translation

Closes !98 - Fix translation of DocBook markup tag of the GParted Manual
2022-03-02 20:57:19 +00:00
Sergej A 17f4c3176d Update Russian translation 2022-02-25 18:38:53 +00:00
Jeremy Bicha 12adade3ab Fix FDL help link for gnome-desktop 3.5+ (!24)
I generated this by running:
    find ./ -type f -exec sed -i 's/ghelp:fdl/help:fdl/g' {} \;

By updating the translations at the same time, it should be easier on
the translators as there's no reason to invalidate these strings.

https://bugzilla.gnome.org/show_bug.cgi?id=704634#c8

[Mike Fleetwood: Explain the underlying cause and distro versions.]
This gnome-desktop commit, first included in version 3.5.5, switched the
package from using gnome-doc-utils to yelp-tools so changed the
installed location of the GNU FDL license file from
/usr/share/gnome/help/fdl/C/fdl.xml to
/usr/share/help/C/fdl/index.docbook, thus changing the yelp URI from
'ghelp:fdl' to 'help:fdl':
    8b7e059e2c
    Port to new documentation infrastructure

The oldest supported distributions with Gtk/GNOME 3 all have at least
3.10, therefore use this fix unconditionally.

    Distribution        EOL         Gtk/GNOME 3
    RHEL / CentOS 7     2024-Jun    3.22
    Ubuntu 14.04 LTS    2019-Apr    3.10
    Ubuntu 16.04 LTS    2021-Apr    3.18
    Debian 8            2023-Apr    3.14
    SLES 12             2027-Oct    3.10

Closes !24 - Port to GNOME 3 yelp-tools documentation infrastructure
2019-03-01 16:46:56 +00:00
Yuri Myasoedov 55115bc126 Fixed bug in Russian translation 2013-09-10 21:57:45 +04:00
Aleksej Kabanov 0f0af430e6 Updated Russian translation 2012-07-11 23:40:10 +04:00
Andrey Germanov 2575e8771e Added Russian translation for help 2011-11-19 11:53:03 +04:00