#162 Added translation blocks to strings missing them
Merged 4 years ago by bcotton. Opened 4 years ago by copperi.
fedora-web/ copperi/websites translation_fixes  into  master

@@ -1,5 +1,6 @@ 

  #!/usr/bin/env bash

- pybabel extract -F ../babel.cfg -o getfedora.org.pot . ../partials/

+ #pybabel extract -F ../babel.cfg -o getfedora.org.pot . ../partials/

+ pybabel extract -F ../../babel.cfg -o getfedora.org.pot ../../partials ../../getfedora.org/site ../../getfedora.org/partials

  echo

  echo

  echo 'If you have write access to https://pagure.io/fedora-web/translations, you may now run:'

@@ -30,9 +30,9 @@ 

                  </a>

                  <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">

                    <span class="dropdown-header">{% trans trimmed %}Official Editions{% endtrans %}</span>

-                   <a class="dropdown-item" href="{{url_for('workstation', lang_code=lang_code)}}">Fedora Workstation</a>

-                   <a class="dropdown-item" href="{{url_for('server', lang_code=lang_code)}}">Fedora Server</a>

-                   <a class="dropdown-item" href="{{url_for('iot', lang_code=lang_code)}}">Fedora IoT</a>

+                   <a class="dropdown-item" href="{{url_for('workstation', lang_code=lang_code)}}">{% trans trimmed %}Fedora Workstation{% endtrans %}</a>

+                   <a class="dropdown-item" href="{{url_for('server', lang_code=lang_code)}}">{% trans trimmed %}Fedora Server{% endtrans %}</a>

+                   <a class="dropdown-item" href="{{url_for('iot', lang_code=lang_code)}}">{% trans trimmed %}Fedora IoT{% endtrans %}</a>

                  </div>

                </li>

                <li class="nav-item dropdown">

Added translation blocks as they were missing on 3 strings.

1 new commit added

  • updated path references so script will now work and creates a new getfedore.org.pot
4 years ago

rebased onto 5e2a7fa

4 years ago

@bcotton Who should handle these PR:s ?

Metadata Update from @bcotton:
- Request assigned

4 years ago

Sorry, I missed this. It looks okay to me, although I'm not really familiar with how the translation tooling works. I'll go ahead and merge it since no one else has touched it in a month.

Pull-Request has been merged by bcotton

4 years ago