Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Bernardo Gonzalez Kriegel 6e3e8fef6a
Bug 18688: Warnings about UTF-8 charset when creating a new language
This patch removes some warnings when creating new languages,
those related with uft8 and two not related.

Tipical messages are:
>Warning: Can't determine original templates' charset, defaulting to UTF-8
>Warning: Charset Out defaulting to UTF-8
>...
>Removing empty file /../xx-YY-marc-NORMARC.po
>I UTF-8 O UTF-8 at /../kohaclone/misc/translator/tmpl_process3.pl line 365.
>Use of uninitialized value $pref_name in concatenation (.) or string at /.../misc/translator/LangInstaller.pm line 197.
>Created /../misc/translator/po/xx-YY-messages.po.

First four are 'normal' messages
The fifth one correspond to an unquoted preference string
The sixth one is a normal output message from msgint command
We will hide them unless verbose '-v' option is selected,
and fix the error.

To test:
1) Go to misc/translator
2) Create new language files
  $ perl translate create xx-YY
3) Check warnings and messages
4) Apply the patch
5) Remove created files, and create them again
   Ther must be no messages
6) Repeat 5) with verbose option '-v', check
   old messages

7) BONUS: without the patch update a language,
   for example de-DE:
   $ perl translate update de-DE
   Note (git status) a new file, po/de-DE-messages.po~
   This is a backup file from msgmerge command
   With the patch this backup is removed.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-23 12:02:15 +00:00
..
acqui Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
admin Bug 18688: Warnings about UTF-8 charset when creating a new language 2019-12-23 12:02:15 +00:00
authorities Bug 11529: Clean up subtitle usage 2019-08-05 15:03:18 +01:00
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
batch
catalogue Bug 20948: Add missing html filter 2019-12-10 10:39:56 +00:00
cataloguing Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
circ Bug 24085: Make print and cancel-hold buttons instead of submit 2019-12-16 21:03:03 +00:00
clubs Bug 19618: Add ability to place holds for members of a club in intranet 2019-10-01 08:05:57 +01:00
common
course_reserves Bug 23683: Course reserves public notes on specific items should allow for HTML 2019-09-27 14:00:49 +01:00
errors
ill Bug 23529: Narrow scope of changed 2019-10-25 13:17:34 +01:00
installer
labels Bug 23464: (follow-up) QA fixes 2019-09-09 11:27:12 +01:00
mana
members Bug 23451: Fix other similar wrong filterings 2019-11-27 11:30:18 +00:00
offline_circ Bug 23098: Reword success message of KOC upload process 2019-06-24 14:44:08 +01:00
onboarding
patron_lists Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
patroncards Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
plugins Bug 23222: Update plugins-home.tt with new ENABLE/DISABLE flag name 2019-07-02 09:11:58 +01:00
reports Bug 13806: Sanitize inputs where creating Reports subgroup 2019-12-13 15:29:34 +00:00
reserve Bug 23697: (QA follow-up) Rename PatronAutocompletion to PatronAutoComplete 2019-10-08 14:51:12 +01:00
reviews
rotating_collections
serials Bug 21232: Add a client-side check on biblionumber when creating a subscription 2019-12-23 11:06:08 +00:00
services
suggestion Bug 24242: Display funds that the logged in user can access - suggestions 2019-12-23 11:06:41 +00:00
tags Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
test
tools Bug 24124: Fix authorities selection in batch deletion tool in Chrome 2019-12-13 14:03:05 +00:00
virtualshelves Bug 24093: Sorting indicators broken on list contents view 2019-11-25 08:37:01 +00:00
about.tt Bug 24136: Update sponsors for 19.11 cycle 2019-12-09 14:25:13 +00:00
auth.tt Bug 23042: Correct shib param escaping 2019-11-27 11:30:20 +00:00
intranet-main.tt Bug 23711: Fix bad path 2019-10-03 10:58:24 +01:00