Page 1 of 1
FIX: Polish translation
Posted: Tue May 12, 2009 2:52 pm
by grimble
Hi,
There were two blank lines after ?> that caused errors. Patch below.
Code: Select all
Index: web/lang/pl_pl.php
===================================================================
--- web/lang/pl_pl.php (revision 2869)
+++ web/lang/pl_pl.php (working copy)
@@ -795,5 +795,3 @@
);
?>
-
-
Posted: Wed May 13, 2009 10:57 am
by zoneminder
Thanks for that. I don't know why blank lines should cause errors but I have fixed in the trunk anyway.
Posted: Fri May 15, 2009 9:04 am
by grimble
Hi,
Http response has strict order: first headers, then page itself. Blank lines from such file are treated as part of page, so if included (sent) before sending headers, forbid sending them at all, because it would be against http protocol.
Posted: Fri May 15, 2009 3:03 pm
by grimble
I removed blank lines from rest of lang files. It looks like they were added by script. updateLangs.php?
Code: Select all
Index: es_ar.php
===================================================================
--- es_ar.php (revision 2873)
+++ es_ar.php (working copy)
@@ -669,5 +669,3 @@
);
?>
-
-
Index: ru_ru.php
===================================================================
--- ru_ru.php (revision 2873)
+++ ru_ru.php (working copy)
@@ -815,5 +815,3 @@
);
?>
-
-
Index: se_se.php
===================================================================
--- se_se.php (revision 2873)
+++ se_se.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: fr_fr.php
===================================================================
--- fr_fr.php (revision 2873)
+++ fr_fr.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: de_de.php
===================================================================
--- de_de.php (revision 2873)
+++ de_de.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: cn_zh.php
===================================================================
--- cn_zh.php (revision 2873)
+++ cn_zh.php (working copy)
@@ -815,4 +815,3 @@
);
?>
-
Index: cs_cz.php
===================================================================
--- cs_cz.php (revision 2873)
+++ cs_cz.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: nl_nl.php
===================================================================
--- nl_nl.php (revision 2873)
+++ nl_nl.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: pt_br.php
===================================================================
--- pt_br.php (revision 2873)
+++ pt_br.php (working copy)
@@ -756,5 +756,3 @@
);
?>
-
-
Index: hu_hu.php
===================================================================
--- hu_hu.php (revision 2873)
+++ hu_hu.php (working copy)
@@ -824,6 +824,3 @@
);
?>
-
-
-
Index: it_it.php
===================================================================
--- it_it.php (revision 2873)
+++ it_it.php (working copy)
@@ -821,5 +821,3 @@
);
?>
-
-
Index: dk_dk.php
===================================================================
--- dk_dk.php (revision 2873)
+++ dk_dk.php (working copy)
@@ -817,5 +817,3 @@
);
?>
-
-
Index: he_il.php
===================================================================
--- he_il.php (revision 2873)
+++ he_il.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Index: ro_ro.php
===================================================================
--- ro_ro.php (revision 2873)
+++ ro_ro.php (working copy)
@@ -1250,5 +1250,3 @@
//
);
?>
-
-
Index: ja_jp.php
===================================================================
--- ja_jp.php (revision 2873)
+++ ja_jp.php (working copy)
@@ -816,5 +816,3 @@
);
?>
-
-
Posted: Sun May 24, 2009 9:52 am
by zoneminder
Thanks, I will check why they are being added and remove them.