po4av0.70

Locale::Po4a::Common

Section: Po4a Tools (3pm)
Updated: 2024-01-29
Index Return to Main Contents
 

NOM

Locale::Po4a::Common - Parts comunes dels guions de po4a i utilitats  

DESCRIPCIÓ

Locale::Po4a::Common conté parts comunes dels guions de po4a i algunes funcions útils utilitzades pels altres mòduls.

If needed, you can disable the use of Text::WrapI18N as such:

    use Locale::Po4a::Common qw(nowrapi18n);
    use Locale::Po4a::Text;

instead of:

    use Locale::Po4a::Text;

The ordering is important here: as most Locale::Po4a modules load themselves Locale::Po4a::Common, the first time this module is loaded determines whether Text::WrapI18N is used.  

FUNCIONS

 

Mostrant missatges de sortida

show_version($)

Mostra la versió actual del guió, i un missatge curt de copyright. Pren el nom del guió com a paràmetre.

wrap_msg($@)

This function displays a message the same way as sprintf() does, but wraps the result so that they look nice on the terminal.

wrap_mod($$@)

Aquesta funció treballa com wrap_msg(), però pren un nom de mòdul com a primer paràmetre, i deixa un espai a l'esquerra del missatge.

wrap_ref_mod($$$@)

Aquesta funció treballa com wrap_msg(), però pren una referència a fitxer:línia com a primer paràmetre, un nom de mòdul com a segon, i deixa un espai a l'esquerra del missatge.

 

Wrappers for other modules

Locale::Gettext

When the Locale::Gettext module cannot be loaded, this module provide dummy (empty) implementation of the following functions. In that case, po4a messages won't get translated but the program will continue to work.

If Locale::gettext is present, this wrapper also calls setlocale(LC_MESSAGES, "") so callers don't depend on the POSIX module either.

bindtextdomain($$)
textdomain($)
gettext($)
dgettext($$)
 

AUTORS

 Jordi Vilalta <jvprat@gmail.com>

 

TRADUCCIÓ

 Carme Cirera <menxu@hotmail.com>
 Jordi Vilalta <jvprat@gmail.com>

 

DRET DE CÒPIA I LLICÈNCIA

Copyright © 2005 SPI, Inc.

This program is free software; you may redistribute it and/or modify it under the terms of GPL v2.0 or later (see the COPYING file).


 

Index

NOM
DESCRIPCIÓ
FUNCIONS
Mostrant missatges de sortida
Wrappers for other modules
AUTORS
TRADUCCIÓ
DRET DE CÒPIA I LLICÈNCIA

This document was created by using the manual pages.
Time: 00:28:40 GMT, January 29, 2024
català Deutsch English Esperanto español français hrvatski Magyar Italiano 日本語 Bokmål Nederlands polski Português Português (Brasil) Русский српски језик український 简体中文 简体中文 (how to set the default document language)