[MPlayer-cvslog] r38459 - trunk/help/help_create_po.pl

ib subversion at mplayerhq.hu
Sun Apr 14 14:05:40 EEST 2024


Author: ib
Date: Sun Apr 14 14:05:39 2024
New Revision: 38459

Log:
Add a Content-Type header line to the generated *.po intermediate files.

This closes Trac #2422.

Modified:
   trunk/help/help_create_po.pl

Modified: trunk/help/help_create_po.pl
==============================================================================
--- trunk/help/help_create_po.pl	Tue Apr  9 01:03:16 2024	(r38458)
+++ trunk/help/help_create_po.pl	Sun Apr 14 14:05:39 2024	(r38459)
@@ -56,6 +56,8 @@ my ($lang) = ($ARGV[1] =~ /help\/po\/(.*
 open(po, "> $ARGV[1]") or die "Cannot open $ARGV[1]";
 
 print po "# DO NOT EDIT - this file is generated from $ARGV[0]\n";
+print po "\nmsgid \"\"\n";
+print po "msgstr \"Content-Type: text/plain; charset=UTF-8\"\n";
 
 foreach my $id (keys %podefs)
 {


More information about the MPlayer-cvslog mailing list