You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-05-30 14:45:04

jacek102
Member
Registered: 2007-07-13
Posts: 4

bug in locales - plugin "print to pdf"

I find bug in "print to pdf" - during generating pdf the polish charsets isnt corect. Its posible to repaid this?

I also translation this plugins to polish lang - where I can send it ?
Its view like this:

<?php
/*
----------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2005 by the INDEPNET Development Team.

http://indepnet.net/   http://glpi-project.org/
----------------------------------------------------------------------

LICENSE

        This file is part of GLPI.

    GLPI is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    GLPI is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with GLPI; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
------------------------------------------------------------------------
*/

// Original Author of file: BALPE D&#258;Švi
// Purpose of file:
// ----------------------------------------------------------------------

$LANGPDF["title"][1]="Drukuj do PDF";
$LANGPDF["title"][2]="Wybierz tabele do wydruku PDF";

$LANGPDF["button"][1]="Drukuj";
$LANGPDF["button"][2]="Zapisz";

$LANGPDF["config"][1]="Konfiguracja drukowania PDF";
$LANGPDF["config"][2]="Instaluj wtyczke Drukuj do PDF";
$LANGPDF["config"][3]="Odinstaluj wtyczke Drukuj do PDF";
$LANGPDF["config"][4]="Konfiguracja";
$LANGPDF["config"][5]="Typy w spisie:";
$LANGPDF["config"][6]="Zarzadzanie prawami dostepu";
$LANGPDF["config"][7]="Prawa do tego profilu";

$LANGPDF["note"][1]="Nic nie znaleziono";

$LANGPDF["document"][1]="Brak powiazanych dokumentow";

$LANGPDF["financial"][1]="Brak informacji finansowych";
$LANGPDF["financial"][2]="Brak powiazanych kontraktow";

$LANGPDF["software"][1]="Brak zainstalowanego oprogramowania";
?>

Offline

#2 2008-05-30 14:48:27

jacek102
Member
Registered: 2007-07-13
Posts: 4

Re: bug in locales - plugin "print to pdf"

I think it is good idea to make a field to custom tekst add in first part off the document i the last part. Its can be graet to make paper for lend computers itd.

Jacek

Offline

#3 2008-05-30 14:49:40

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: bug in locales - plugin "print to pdf"

Hello
thanks a lot for your translation, I've added it to the svn !

Could you explain which bug you've found please ?

Walid.

Offline

#4 2008-05-30 18:56:35

jacek102
Member
Registered: 2007-07-13
Posts: 4

Re: bug in locales - plugin "print to pdf"

Bug is when you use polish translation. Polish nationality chars is not property moved in to pdf file. When translation contain polish nationality char in created pdf file is only char like this:
orginal
jednostka nadrz&#281;dna -> jednostka nadrz#dna itd.
                       |                                   |
              polish char                      pdf char

The problem is of course in char set like utf8 or iso-8859-2.

Thanks for moved my translation of plugin.

Jacek

Offline

Board footer

Powered by FluxBB