fix some warnings reported by Launchpad's translation import
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 21:38:22 +0000 (17:38 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 21:38:22 +0000 (17:38 -0400)
This patch fixes POT syntax errors in two cases and checks
in the results of xml2po for another. None of the files involved
(nowadays) are visible to users, so this patch is strictly
about keeping LP happy.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

build/i18n/po/multiclass_search_help.html/multiclass_search_help.html.pot
build/i18n/tests/data/sql2pot.pot
build/i18n/tests/data/testidl.pot

index 02233e2..8f517d0 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head><title>Multiclass Search Help</title></head>
-<body onload="window.focus()">
-    <h1>Multiclass Search Help</h1>
-<p>
-Recognized search keys include:
-</p>
-<table border='1'>
-<thead>
-    <tr><th>Search key</th><th>Definition</th></tr>
-</thead>
-<tfoot>
-    <tr><td colspan="2">
-            <strong>keyword</strong>, <strong>title</strong>,
-            <strong>author</strong>, <strong>subject</strong>, and
-            <strong>series</strong> support additional search subclasses,
-            specified with a <kbd>|</kbd>. For example:
-            <kbd>title|proper:gone with the wind</kbd>
-        </td>
-    </tr>
-</tfoot>
-<tbody>
-    <tr><td>keyword/kw</td><td>search keyword(s)</td></tr>
-    <tr><td>author/au/name</td><td>search author(s)</td></tr>
-    <tr><td>title/ti</td><td>search title</td></tr>
-    <tr><td>subject/su</td><td>search subject</td></tr>
-    <tr><td>series/se</td><td>search series</td></tr>
-    <tr><td>lang</td><td>limit by language (specify multiple langs with lang:l1 lang:l2 ...)</td></tr>
-    <tr><td>site</td><td>search at specified org unit, corresponds to actor.org_unit.shortname</td></tr>
-    <tr><td>sort</td><td>sort type (title, author, pubdate)</td></tr>
-    <tr><td>dir</td><td>sort direction (asc, desc)</td></tr>
-    <tr><td>available</td><td>if set to anything other than "false" or "0", limits to available items</td></tr>
-</tbody>
-</table>
-</body>
-</html>
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-09-15 17:37-0400\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"
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:5(title) ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:7(h1)
+msgid "Multiclass Search Help"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:8(p)
+msgid "Recognized search keys include:"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:13(th)
+msgid "Search key"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:13(th)
+msgid "Definition"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:17(strong)
+msgid "keyword"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:17(strong)
+msgid "title"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:18(strong)
+msgid "author"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:18(strong)
+msgid "subject"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:19(strong)
+msgid "series"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:20(kbd)
+msgid "|"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:21(kbd)
+msgid "title|proper:gone with the wind"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:16(td)
+msgid "<placeholder-1/>, <placeholder-2/>, <placeholder-3/>, <placeholder-4/>, and <placeholder-5/> support additional search subclasses, specified with a <placeholder-6/>. For example: <placeholder-7/>"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:26(td)
+msgid "keyword/kw"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:26(td)
+msgid "search keyword(s)"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:27(td)
+msgid "author/au/name"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:27(td)
+msgid "search author(s)"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:28(td)
+msgid "title/ti"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:28(td)
+msgid "search title"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:29(td)
+msgid "subject/su"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:29(td)
+msgid "search subject"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:30(td)
+msgid "series/se"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:30(td)
+msgid "search series"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:31(td)
+msgid "lang"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:31(td)
+msgid "limit by language (specify multiple langs with lang:l1 lang:l2 ...)"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:32(td)
+msgid "site"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:32(td)
+msgid "search at specified org unit, corresponds to actor.org_unit.shortname"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:33(td)
+msgid "sort"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:33(td)
+msgid "sort type (title, author, pubdate)"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:34(td)
+msgid "dir"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:34(td)
+msgid "sort direction (asc, desc)"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:35(td)
+msgid "available"
+msgstr ""
+
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:35(td)
+msgid "if set to anything other than \"false\" or \"0\", limits to available items"
+msgstr ""
+
+#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2
+#: ../../Open-ILS/xul/staff_client/server/locale/en-US/multiclass_search_help.html:0(None)
+msgid "translator-credits"
+msgstr ""
+
index 67800f1..ab70889 100644 (file)
@@ -3,7 +3,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Evergreen 1.4\n"
 "Report-Msgid-Bugs-To: open-ils-dev@list.georgialibraries.org\n"
-"POT-Creation-Date: 
+"POT-Creation-Date: \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"
index 3c4a830..71b14d9 100644 (file)
@@ -3,7 +3,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Evergreen 1.4\n"
 "Report-Msgid-Bugs-To: open-ils-dev@list.georgialibraries.org\n"
-"POT-Creation-Date: 
+"POT-Creation-Date:\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"