Skip to content

Commit 5a1b35f

Browse files
Fix trailing spaces in translations
Move them from translation strings to static HTML part.
1 parent cc97e8f commit 5a1b35f

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

notebook/i18n/fr_FR/LC_MESSAGES/nbui.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -674,31 +674,31 @@ msgid "Select All Folders"
674674
msgstr "Sélectionner Tous les Répertoires"
675675

676676
#: notebook/templates/tree.html:98
677-
msgid " Folders"
677+
msgid "Folders"
678678
msgstr "Répertoires"
679679

680680
#: notebook/templates/tree.html:99
681681
msgid "Select All Notebooks"
682682
msgstr "Sélectionner tous les Notebooks"
683683

684684
#: notebook/templates/tree.html:99
685-
msgid " All Notebooks"
686-
msgstr "Tous les notebooks"
685+
msgid "All Notebooks"
686+
msgstr "Tous les Notebooks"
687687

688688
#: notebook/templates/tree.html:100
689689
msgid "Select Running Notebooks"
690690
msgstr "Sélectionner les Notebooks en cours d'exécution"
691691

692692
#: notebook/templates/tree.html:100
693-
msgid " Running"
694-
msgstr "Actif"
693+
msgid "Running"
694+
msgstr "Actifs"
695695

696696
#: notebook/templates/tree.html:101
697697
msgid "Select All Files"
698698
msgstr "Sélectionner "
699699

700700
#: notebook/templates/tree.html:101
701-
msgid " Files"
701+
msgid "Files"
702702
msgstr "Fichiers"
703703

704704
#: notebook/templates/tree.html:114

notebook/i18n/nbui.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,31 +663,31 @@ msgid "Select All Folders"
663663
msgstr ""
664664

665665
#: notebook/templates/tree.html:98
666-
msgid " Folders"
666+
msgid "Folders"
667667
msgstr ""
668668

669669
#: notebook/templates/tree.html:99
670670
msgid "Select All Notebooks"
671671
msgstr ""
672672

673673
#: notebook/templates/tree.html:99
674-
msgid " All Notebooks"
674+
msgid "All Notebooks"
675675
msgstr ""
676676

677677
#: notebook/templates/tree.html:100
678678
msgid "Select Running Notebooks"
679679
msgstr ""
680680

681681
#: notebook/templates/tree.html:100
682-
msgid " Running"
682+
msgid "Running"
683683
msgstr ""
684684

685685
#: notebook/templates/tree.html:101
686686
msgid "Select All Files"
687687
msgstr ""
688688

689689
#: notebook/templates/tree.html:101
690-
msgid " Files"
690+
msgid "Files"
691691
msgstr ""
692692

693693
#: notebook/templates/tree.html:114

notebook/i18n/zh_CN/LC_MESSAGES/nbui.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,31 +663,31 @@ msgid "Select All Folders"
663663
msgstr "选择所有文件夹"
664664

665665
#: notebook/templates/tree.html:98
666-
msgid " Folders"
666+
msgid "Folders"
667667
msgstr "文件夹"
668668

669669
#: notebook/templates/tree.html:99
670670
msgid "Select All Notebooks"
671671
msgstr "选择所有笔记"
672672

673673
#: notebook/templates/tree.html:99
674-
msgid " All Notebooks"
674+
msgid "All Notebooks"
675675
msgstr "所有笔记"
676676

677677
#: notebook/templates/tree.html:100
678678
msgid "Select Running Notebooks"
679679
msgstr "选择运行中的笔记"
680680

681681
#: notebook/templates/tree.html:100
682-
msgid " Running"
682+
msgid "Running"
683683
msgstr "运行"
684684

685685
#: notebook/templates/tree.html:101
686686
msgid "Select All Files"
687687
msgstr "选择所有文件"
688688

689689
#: notebook/templates/tree.html:101
690-
msgid " Files"
690+
msgid "Files"
691691
msgstr "文件"
692692

693693
#: notebook/templates/tree.html:114

notebook/templates/tree.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@
103103
<span class="sr-only">Toggle Dropdown</span>
104104
</button>
105105
<ul id='selector-menu' class="dropdown-menu" role="menu" aria-labelledby="tree-selector-btn">
106-
<li role="presentation"><a id="select-folders" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Folders{% endtrans %}"><i class="menu_icon folder_icon icon-fixed-width"></i>{% trans %} Folders{% endtrans %}</a></li>
107-
<li role="presentation"><a id="select-notebooks" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Notebooks{% endtrans %}"><i class="menu_icon notebook_icon icon-fixed-width"></i>{% trans %} All Notebooks{% endtrans %}</a></li>
108-
<li role="presentation"><a id="select-running-notebooks" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select Running Notebooks{% endtrans %}"><i class="menu_icon running_notebook_icon icon-fixed-width"></i>{% trans %} Running{% endtrans %}</a></li>
109-
<li role="presentation"><a id="select-files" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Files{% endtrans %}"><i class="menu_icon file_icon icon-fixed-width"></i>{% trans %} Files{% endtrans %}</a></li>
106+
<li role="presentation"><a id="select-folders" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Folders{% endtrans %}"><i class="menu_icon folder_icon icon-fixed-width"></i>&nbsp;{% trans %}Folders{% endtrans %}</a></li>
107+
<li role="presentation"><a id="select-notebooks" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Notebooks{% endtrans %}"><i class="menu_icon notebook_icon icon-fixed-width"></i>&nbsp;{% trans %}All Notebooks{% endtrans %}</a></li>
108+
<li role="presentation"><a id="select-running-notebooks" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select Running Notebooks{% endtrans %}"><i class="menu_icon running_notebook_icon icon-fixed-width"></i>&nbsp;{% trans %}Running{% endtrans %}</a></li>
109+
<li role="presentation"><a id="select-files" role="menuitem" tabindex="-1" href="#" title="{% trans %}Select All Files{% endtrans %}"><i class="menu_icon file_icon icon-fixed-width"></i>&nbsp;{% trans %}Files{% endtrans %}</a></li>
110110
</ul>
111111
</div>
112112
<div id="project_name">

0 commit comments

Comments
 (0)