e3305bf513
With Babel 2.2 and then with Babel 2.3.2 and 2.3.3 releases, the OpenStack infra scripts broke and uncovered bugs in the upstream Babel release. The infra scripts run in post and periodic queues, so failures here are not directly visible. With Babel 2.3.x invalid strings were send to the translation server, and we had to recover old content to fix this. Let's add some Babel integration tests that can be run whenever the upper-constraints file changes so that any new Babel release will be at least minimally tested. The shell script babel-test.sh runs a simple extraction of strings to translate from a simple input file. It uses the same commands that the infra scripts run and handles the two different cases of extraction of the normal strings and extraction of the non-standard log-level strings. The script then compares the new content with previously created good content. Once this change is in, we will run this test whenever upper-constraints.txt file changes. Needed-By: I15fa6a706323615d6072d8acaa859fea9bf35883 Change-Id: Iab7844ba748ecd84ec07ad4280b2317bd626fe9a
29 lines
786 B
Plaintext
29 lines
786 B
Plaintext
# Translations template for requirements.
|
|
# Copyright (C) 2016 ORGANIZATION
|
|
# This file is distributed under the same license as the requirements
|
|
# project.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: requirements 1\n"
|
|
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
|
|
"POT-Creation-Date: 2016-04-24 09:28+0200\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Generated-By: Babel 1.3\n"
|
|
|
|
#: babel-test/babel-input.py:24
|
|
msgid "LE translated string1"
|
|
msgstr ""
|
|
|
|
#: babel-test/babel-input.py:25
|
|
msgid "LE translated string2"
|
|
msgstr ""
|
|
|