mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Handle correctly translated manpages
This commit is contained in:
parent
0bf65afd82
commit
3667e63b74
21 changed files with 15490 additions and 31 deletions
69
Makefile.am
69
Makefile.am
|
|
@ -121,20 +121,15 @@ mkstream_SOURCES = \
|
|||
dist-hook:
|
||||
$(srcdir)/autover.sh > $(distdir)/.version
|
||||
|
||||
LIST_D = snapraid.d \
|
||||
snapraid-de.d \
|
||||
snapraid-es.d \
|
||||
snapraid-fr.d \
|
||||
snapraid-it.d \
|
||||
snapraid-pl.d \
|
||||
snapraid-ro.d \
|
||||
snapraid_log.d
|
||||
LANG_CODES = de es fr it pl pt ro ru uk
|
||||
|
||||
LIST_MAN = $(LIST_D:.d=.1)
|
||||
LIST_D = snapraid.d snapraid_log.d $(patsubst %, snapraid-%.d, $(LANG_CODES))
|
||||
|
||||
LIST_TXT = $(LIST_D:.d=.txt)
|
||||
LIST_MAN = man/snapraid.1 man/snapraid_log.1 $(patsubst %, man/%/snapraid.1, $(LANG_CODES))
|
||||
|
||||
LIST_HH = $(LIST_D:.d=.hh)
|
||||
LIST_TXT = snapraid.txt snapraid_log.txt $(patsubst %, snapraid-%.txt, $(LANG_CODES))
|
||||
|
||||
LIST_HH = snapraid.hh snapraid_log.hh $(patsubst %, snapraid-%.hh, $(LANG_CODES))
|
||||
|
||||
EXTRA_DIST = \
|
||||
autogen.sh autover.sh \
|
||||
|
|
@ -163,7 +158,7 @@ EXTRA_DIST = \
|
|||
raid/test/speedtest.c \
|
||||
raid/test/invtest.c
|
||||
|
||||
man_MANS = snapraid.1 snapraid_log.1
|
||||
man1_MANS = man/snapraid.1 man/snapraid_log.1
|
||||
|
||||
clean-local:
|
||||
rm -f valgrind.log callgrind.log cachegrind.log
|
||||
|
|
@ -176,8 +171,24 @@ clean-local:
|
|||
rm -f gmon.out
|
||||
|
||||
maintainer-clean-local:
|
||||
rm -f snapraid.1 snapraid.txt
|
||||
rm -f snapraid_log.1 snapraid_log.txt
|
||||
rm -f $(LIST_MAN)
|
||||
rm -f $(LIST_TXT)
|
||||
rm -f $(LIST_HH)
|
||||
|
||||
# Install localized manpages
|
||||
install-data-hook:
|
||||
for lang in $(LANG_CODES); do \
|
||||
mkdir -p $(DESTDIR)$(mandir)/$$lang/man1; \
|
||||
$(INSTALL_DATA) man/$$lang/snapraid.1 $(DESTDIR)$(mandir)/$$lang/man1; \
|
||||
done
|
||||
|
||||
# Uninstall localized manpages
|
||||
uninstall-hook:
|
||||
for lang in fr pl it ru es de ro pt; do \
|
||||
rm -f $(DESTDIR)$(mandir)/$$lang/man1/snapraid.1; \
|
||||
rmdir --ignore-fail-on-non-empty $(DESTDIR)$(mandir)/$$lang/man1 2>/dev/null || true; \
|
||||
rmdir --ignore-fail-on-non-empty $(DESTDIR)$(mandir)/$$lang 2>/dev/null || true; \
|
||||
done
|
||||
|
||||
# Automatic testing
|
||||
|
||||
|
|
@ -1025,11 +1036,37 @@ lcov_html:
|
|||
genhtml -o ./cov lcov.info
|
||||
|
||||
# Rules for documentation
|
||||
|
||||
if HAVE_ADVD2
|
||||
%.1 : %.d
|
||||
man/%.1 : %.d
|
||||
advd2 man < $(srcdir)/$< > $@
|
||||
|
||||
man/de/snapraid.1: $(srcdir)/snapraid-de.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/es/snapraid.1: $(srcdir)/snapraid-es.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/fr/snapraid.1: $(srcdir)/snapraid-fr.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/it/snapraid.1: $(srcdir)/snapraid-it.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/pl/snapraid.1: $(srcdir)/snapraid-pl.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/pt/snapraid.1: $(srcdir)/snapraid-pt.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/ro/snapraid.1: $(srcdir)/snapraid-ro.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/ru/snapraid.1: $(srcdir)/snapraid-ru.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
man/uk/snapraid.1: $(srcdir)/snapraid-uk.d
|
||||
advd2 man < $< > $@
|
||||
|
||||
%.txt : %.d
|
||||
advd2 txt < $(srcdir)/$< | todos > $@
|
||||
|
||||
|
|
|
|||
1917
man/pt/snapraid.1
Normal file
1917
man/pt/snapraid.1
Normal file
File diff suppressed because it is too large
Load diff
1884
man/ru/snapraid.1
Normal file
1884
man/ru/snapraid.1
Normal file
File diff suppressed because it is too large
Load diff
2105
man/uk/snapraid.1
Normal file
2105
man/uk/snapraid.1
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
==========================================
|
||||
=========================================
|
||||
SnapRAID Sicherung für Festplatten-Arrays
|
||||
==========================================
|
||||
=========================================
|
||||
|
||||
|
||||
1 SYNOPSIS
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ Les autres limitations de SnapRAID sont :
|
|||
|
||||
|
||||
4 DéMARRER
|
||||
===========
|
||||
==========
|
||||
|
||||
Pour utiliser SnapRAID, vous devez d'abord sélectionner un disque
|
||||
dans votre baie de disques pour le dédier aux informations de `parité`.
|
||||
|
|
@ -340,7 +340,7 @@ lecteurs avec :
|
|||
snapraid fix -m
|
||||
|
||||
4.4 Récupération
|
||||
------------------
|
||||
----------------
|
||||
|
||||
Le pire est arrivé, et vous avez perdu un ou plusieurs disques !
|
||||
|
||||
|
|
@ -1379,7 +1379,7 @@ Cette option est utile pour éviter de redémarrer de longues commandes
|
|||
de la machine ou tout autre événement.
|
||||
|
||||
7.11 temp_limit TEMPÉRATURE_CELSIUS
|
||||
------------------------------------
|
||||
-----------------------------------
|
||||
|
||||
Définit la température maximale autorisée du disque en Celsius.
|
||||
Lorsqu'elle est spécifiée, SnapRAID vérifie périodiquement la
|
||||
|
|
@ -1447,7 +1447,7 @@ et en ajoutant enfin le répertoire et le nom du fichier.
|
|||
Cette option est requise uniquement pour Windows.
|
||||
|
||||
7.15 smartctl DISQUE/PARITÉ OPTIONS...
|
||||
---------------------------------------
|
||||
--------------------------------------
|
||||
|
||||
Définit les options smartctl personnalisées pour obtenir les attributs
|
||||
SMART de chaque disque. Cela peut être nécessaire pour les contrôleurs
|
||||
|
|
@ -1474,7 +1474,7 @@ Par exemple :
|
|||
smartctl parity -d sat %s
|
||||
|
||||
7.16 smartignore DISQUE/PARITÉ ATTR [ATTR...]
|
||||
----------------------------------------------
|
||||
---------------------------------------------
|
||||
|
||||
Ignore l'attribut SMART spécifié lors du calcul de la probabilité
|
||||
de défaillance du disque. Cette option est utile si un disque signale
|
||||
|
|
@ -1646,7 +1646,7 @@ lu par les commandes `fix`, `check` et `status`.
|
|||
|
||||
|
||||
10 PARITé (PARITY)
|
||||
===================
|
||||
==================
|
||||
|
||||
SnapRAID stocke les informations de parité de votre baie dans
|
||||
les fichiers de parité.
|
||||
|
|
|
|||
1482
snapraid-pt.d
Normal file
1482
snapraid-pt.d
Normal file
File diff suppressed because it is too large
Load diff
1596
snapraid-pt.txt
Normal file
1596
snapraid-pt.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
1 SINTAXă
|
||||
==========
|
||||
=========
|
||||
|
||||
snapraid [-c, --conf CONFIG]
|
||||
[-f, --filter PATTERN] [-d, --filter-disk NAME]
|
||||
|
|
@ -59,7 +59,7 @@ Pentru mai multe informații, vă rugăm să vizitați site-ul oficial SnapRAID:
|
|||
|
||||
|
||||
3 LIMITăRI
|
||||
===========
|
||||
==========
|
||||
|
||||
SnapRAID este un hibrid între un program RAID și unul de backup, care urmărește să combine
|
||||
cele mai bune beneficii ale ambelor. Cu toate acestea, are unele limitări pe care ar trebui
|
||||
|
|
@ -93,7 +93,7 @@ Alte limitări ale SnapRAID sunt:
|
|||
|
||||
|
||||
4 NOțIUNI DE BAZă
|
||||
===================
|
||||
=================
|
||||
|
||||
Pentru a utiliza SnapRAID, trebuie mai întâi să selectați un disc în matricea dvs. de discuri
|
||||
pentru a-l dedica informațiilor de `paritate`. Cu un singur disc pentru paritate, veți
|
||||
|
|
@ -289,7 +289,7 @@ De asemenea, ar putea fi necesar să configurați clienții la distanță pentru
|
|||
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
|
||||
|
||||
4.3 Undeleting (Anulare Ștergere)
|
||||
----------------------------------
|
||||
---------------------------------
|
||||
|
||||
SnapRAID funcționează mai mult ca un program de backup decât un sistem RAID și poate
|
||||
fi folosit pentru a restaura sau anula ștergerea fișierelor la starea lor anterioară utilizând
|
||||
|
|
@ -768,7 +768,7 @@ folosind un hash diferit.
|
|||
|
||||
|
||||
6 OPțIUNI
|
||||
==========
|
||||
=========
|
||||
|
||||
SnapRAID oferă următoarele opțiuni:
|
||||
|
||||
|
|
@ -1507,7 +1507,7 @@ să le citați pentru a împiedica shell-ul să le extindă.
|
|||
|
||||
|
||||
9 CONțINUT (CONTENT)
|
||||
=====================
|
||||
====================
|
||||
|
||||
SnapRAID stochează lista și sumele de control (checksums) ale fișierelor dvs. în fișierul de conținut.
|
||||
|
||||
|
|
@ -1554,6 +1554,6 @@ Acest fișier este Copyright (C) 2025 Andrea Mazzoleni
|
|||
|
||||
|
||||
13 VEZI șI (SEE ALSO)
|
||||
======================
|
||||
=====================
|
||||
|
||||
snapraid_log(1), rsync(1)
|
||||
|
|
|
|||
1449
snapraid-ru.d
Normal file
1449
snapraid-ru.d
Normal file
File diff suppressed because it is too large
Load diff
1563
snapraid-ru.txt
Normal file
1563
snapraid-ru.txt
Normal file
File diff suppressed because it is too large
Load diff
1656
snapraid-uk.d
Normal file
1656
snapraid-uk.d
Normal file
File diff suppressed because it is too large
Load diff
1770
snapraid-uk.txt
Normal file
1770
snapraid-uk.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue