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 2017-04-04 22:36:49

bzh
Member
Registered: 2016-09-25
Posts: 417

Modifier le plugins simcard

Bonjour,

Je ne connais pas le php ;-) Désoler

j'ai fait une modification du code par celui ci dessous
mon but est de d'afficher "SIM 1 et SIM a la place SIM et SIM 2 idem pour PUK 1 et PUK 2 (PUK et PUK2)
dans le version UK cela est fait (une petite coquille je suppose)

mais cela ne fonctionne pas !

-------locales\fr_FR.po

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-04-23 20:42+0200\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"

#: hook.php:163 inc/simcard.class.php:181 inc/simcard.class.php:427
#: inc/simcardsize.class.php:41
msgid "Size"
msgstr "Taille"

#: hook.php:164 inc/phoneoperator.class.php:40 inc/simcard.class.php:204
#: inc/simcard.class.php:435
msgid "Provider"
msgstr "Opérateur"

#: hook.php:165
#inc/simcard.class.php:409 inc/simcardvoltage.class.php:41
msgid "Voltage"
msgstr "Voltage"

#: hook.php:166 inc/simcard.class.php:167 inc/simcardtype.class.php:41
msgid "Type of SIM card"
msgstr "Type de carte SIM"

#: inc/simcard.class.php:243 inc/simcard.class.php:443
msgid "Phone number"
msgstr "Numéro de téléphone"

#: setup.php:130
msgid "Sim cards management"
msgstr "Gestion de cartes SIM"

#: inc/profile.class.php:127
msgid "Right manager"
msgstr "Gestion des droits"

#: inc/simcard.class.php:54
msgid "SIM card"
msgid_plural "SIM cards"
msgstr[0] "Carte SIM"
msgstr[1] "Cartes SIM"


#: inc/simcard.class.php:253 inc/simcard.class.php:367
msgid "IMSI"
msgstr "IMSI"

#: inc/simcard.class.php:273 inc/simcard.class.php:453
msgid "Pin 1"
msgstr "Pin 1"

#: inc/simcard.class.php:279 inc/simcard.class.php:469
msgid "Pin 2"
msgstr "PIN 2"

#: inc/simcard.class.php:285 inc/simcard.class.php:461
msgid "Puk 1"
msgstr "PUK 1"

#: inc/simcard.class.php:291 inc/simcard.class.php:477
msgid "Puk 2"
msgstr "PUK 2"

#: inc/simcard_item.class.php:217
msgid "New SIM card"
msgstr "Nouvelle carte SIM"

Last edited by bzh (2017-04-04 22:37:54)


Virtual Box \ Ubuntu 20.4  \ GLPI 9.5.3

Offline

#2 2017-04-06 13:02:26

bzh
Member
Registered: 2016-09-25
Posts: 417

Re: Modifier le plugins simcard

Up


Virtual Box \ Ubuntu 20.4  \ GLPI 9.5.3

Offline

#3 2017-04-24 18:36:06

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Modifier le plugins simcard

Après avoir changer le texte dans le .po il faut regénérer le .mo (https://forge.glpi-project.org/projects … ki/Gettext)


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB