From 9b065f2e3c14c8411d8f88bc4a0212fc98c6a042 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Sun, 27 Nov 2016 08:06:19 +0000 Subject: [PATCH] Backport 1.9 changes to 2.0 --- Makefile | 33 ++++++++++++++++--- omegat.files/fr/fr-level1.tmx | 4 +-- omegat.files/fr/fr-level2.tmx | 4 +-- omegat.files/fr/fr-omegat.tmx | 4 +-- omegat.files/fr/omegat/project_save.tmx | 4 +-- omegat.files/fr/omegat/project_stats.txt | 2 +- .../pages/documentation/current/authldap.html | 2 +- 7 files changed, 38 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 179df5248..6be984bb3 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ PORTALLIBSTOREMOVEFORDEBIAN=$(RPORTALSKINSDIR)/bootstrap/fonts \ $(RPORTALSKINSDIR)/bootstrap/js/bootstrap* \ $(RPORTALSKINSDIR)/common/js/jquery-* \ $(RPORTALSKINSDIR)/common/js/jquery.cookie* -DOCLIBSTOREMOVEFORDEBIAN=doc/pages/documentation/current/lib/tpl/bootstrap3 +DOCLIBSTOREMOVEFORDEBIAN=pages/documentation/current/lib/tpl/bootstrap3 pages/documentation/current/lib/scripts/jquery-ui*.js DOCEXTERNALLIBS=$(DOCLIBSTOREMOVEFORDEBIAN) MANAGEREXTERNALLIBS=$(RMANAGERSTATICDIR)/bwr/ PORTALEXTERNALLIBS=$(PORTALLIBSTOREMOVEFORDEBIAN) $(RPORTALSKINSDIR)/common/js/jquery* @@ -725,11 +725,11 @@ install_doc_site: # Install symlinks @cd doc && tar cf - `find * -type l` | tar xvf - -C $(RDEFDOCDIR) && cd - # Remove js - @if test "$(USEEXTERNALLIBS)" = "yes"; then \ + @cd $(RDEFDOCDIR) && if test "$(USEEXTERNALLIBS)" = "yes"; then \ rm -rvf $(DOCEXTERNALLIBS); \ elif test "$(USEDEBIANLIBS)" = "yes"; then \ rm -rvf $(DOCLIBSTOREMOVEFORDEBIAN); \ - fi + fi && cd - install_conf_dir: install_sessions_dir install_notif_dir install_captcha_dir # Configuration files install @@ -1105,6 +1105,29 @@ omegat-%-clean: install_%_doc_site: @rm -rf $(RDOCDIR)/$*-doc || true - @install -v -d $(RDOCDIR)/$*-doc - @cp -dR -f po-doc/$*/* $(RDOCDIR)/$*-doc + # Install doc directories + @install -v -d -m 755 $(RDOCDIR)/$*-doc + @cd po-doc/$* && find * -type d |(cd $(RDOCDIR)/$*-doc; xargs install -v -d -m 755) && cd - + # Install HTML files + @cd po-doc/$* && for f in `find * -type f -name '*.html'`; do \ + echo "Installing $$f"; \ + ../../scripts/transform-templates \ + usedebianlibs $(USEDEBIANLIBS) \ + useexternallibs $(USEEXTERNALLIBS) \ + jsminified $(JSCOMPRESS) \ + cssminified $(CSSCOMPRESS) <$$f \ + > $(RDOCDIR)/$*-doc/$$f; \ + done && cd - + # Install other files + @cd po-doc/$* && for f in `find * -type f ! -name '*.html'`; do \ + install -v -m 644 $$f $(RDOCDIR)/$*-doc/$$f; \ + done && cd - + # Install symlinks (no symlinks) + @#cd po-doc/$* && tar cf - `find * -type l` | tar xvf - -C $(RDOCDIR)/$*-doc && cd - + # Remove js + @cd $(RDOCDIR)/$*-doc && if test "$(USEEXTERNALLIBS)" = "yes"; then \ + rm -rvf $(DOCEXTERNALLIBS); \ + elif test "$(USEDEBIANLIBS)" = "yes"; then \ + rm -rvf $(DOCLIBSTOREMOVEFORDEBIAN); \ + fi && cd - diff --git a/omegat.files/fr/fr-level1.tmx b/omegat.files/fr/fr-level1.tmx index b81157d47..a1c30c376 100644 --- a/omegat.files/fr/fr-level1.tmx +++ b/omegat.files/fr/fr-level1.tmx @@ -24586,8 +24586,8 @@ tpl_myparam = world Searched attributes: name(s) of the attribute storing the name of the group, spaces separated (default: cn). - - Attributs recherchés : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des virgules (défaut: cn). + + Attributs recherchés : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des espaces (défaut: cn). diff --git a/omegat.files/fr/fr-level2.tmx b/omegat.files/fr/fr-level2.tmx index fb65ee862..7dc0f8a12 100644 --- a/omegat.files/fr/fr-level2.tmx +++ b/omegat.files/fr/fr-level2.tmx @@ -24586,8 +24586,8 @@ a2ensite test-apache2.conf <s0>Searched attributes</s0>: name(s) of the attribute storing the name of the group, spaces separated (default: cn). - - <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des virgules (défaut: cn). + + <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des espaces (défaut: cn). diff --git a/omegat.files/fr/fr-omegat.tmx b/omegat.files/fr/fr-omegat.tmx index 697f2b27d..65127eafb 100644 --- a/omegat.files/fr/fr-omegat.tmx +++ b/omegat.files/fr/fr-omegat.tmx @@ -24586,8 +24586,8 @@ a2ensite test-apache2.conf <s0>Searched attributes</s0>: name(s) of the attribute storing the name of the group, spaces separated (default: cn). - - <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des virgules (défaut: cn). + + <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des espaces (défaut: cn). diff --git a/omegat.files/fr/omegat/project_save.tmx b/omegat.files/fr/omegat/project_save.tmx index 8d65be0be..26abf934c 100644 --- a/omegat.files/fr/omegat/project_save.tmx +++ b/omegat.files/fr/omegat/project_save.tmx @@ -20886,8 +20886,8 @@ reload.example.com<s3>=</s3><s4>http://reload.example.com/relo <s0>Searched attributes</s0>: name(s) of the attribute storing the name of the group, spaces separated (default: cn). - - <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des virgules (défaut: cn). + + <s0>Attributs recherchés</s0> : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des espaces (défaut: cn). diff --git a/omegat.files/fr/omegat/project_stats.txt b/omegat.files/fr/omegat/project_stats.txt index ac5da1753..55de0e919 100644 --- a/omegat.files/fr/omegat/project_stats.txt +++ b/omegat.files/fr/omegat/project_stats.txt @@ -1,4 +1,4 @@ -15/10/16 19:53 +27/11/16 09:04 Données du projet Segments Mots Caractères (sans espaces) Caractères (avec espaces) diff --git a/po-doc/fr/pages/documentation/current/authldap.html b/po-doc/fr/pages/documentation/current/authldap.html index 249afbbe3..7ebd8518b 100644 --- a/po-doc/fr/pages/documentation/current/authldap.html +++ b/po-doc/fr/pages/documentation/current/authldap.html @@ -190,7 +190,7 @@ Et le filtre d'adresse mail est :
  • Attribut source utilisateur : nom de l'attribut utilisateur utilisé dans le lien (défaut: dn).
  • -
  • Attributs recherchés : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des virgules (défaut: cn).
    +
  • Attributs recherchés : nom(s) de l'attribut stocké dans le nom du groupe, séparés par des espaces (défaut: cn).
  • Récursivité : active la fonctionnalité récursive (défaut: 0). Si activé et si le groupe de l'utilisateur est membre d'un autre groupe (groupes de groupes), tous les groupes parents seront considérés comme groupes de l'utilisateur.