squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gettext.php File Reference

Go to the source code of this file.

Namespaces

 squirrelmail
 

Functions

if(! isset($gettext_php_loaded)) if(! isset($gettext_php_domain)) if(! isset($gettext_php_dir)) if(! isset($gettext_php_translateStrings)) if(! isset($gettext_php_loaded_language)) if(! isset($gettext_php_short_circuit)) gettext_php_load_strings ()
 
 _ ($str)
 
 bindtextdomain ($name, $dir)
 
 textdomain ($name=false)
 

Variables

global $gettext_php_domain
 
global $gettext_php_dir
 
global $gettext_php_loaded
 
global $gettext_php_translateStrings
 
global $gettext_php_loaded_language
 
global $gettext_php_short_circuit
 

Function Documentation

◆ _()

_ (   $str)

Alternative php gettext function (short form)

string $str English string string translated string

Definition at line 160 of file gettext.php.

References $gettext_php_loaded, $gettext_php_loaded_language, $gettext_php_short_circuit, $gettext_php_translateStrings, $squirrelmail_language, and gettext_php_load_strings().

Referenced by abook_database\abook_database(), abook_local_file\abook_local_file(), abook_database\add(), abook_local_file\add(), AddressBook\add(), addr_display_result(), address_form(), AddressBook\AddressBook(), addressbook_init(), POP3\apop(), attachment_common_link_html(), attachment_common_link_image(), attachment_common_link_message(), attachment_common_link_text(), attachment_common_link_vcard(), bug_report_block_do(), bug_report_button_do(), cachePrefValues(), calendar(), calendar_header(), checkForPrefs(), checkInput(), compose_Header(), confirm_deletion(), confirm_update(), POP3\connect(), SquirrelOption\createHTMLWidget(), SquirrelOption\createWidget_Boolean(), SquirrelOption\createWidget_EditList(), day_header(), POP3\delete(), delete_move_next_display_inside(), delete_move_next_moveNextForm(), delete_move_next_moveRightMainForm(), delete_move_next_read(), deliverMessage(), display_events(), display_result(), displayMessageArray(), displayPageHeader(), drawmonthview(), endcalendar(), error_box(), error_message(), Deliver_SMTP\errorCheck(), dbPrefs\failQuery(), filters_optpage_register_block(), Deliver_SendMail\finalizeStream(), formatAttachments(), formatBody(), formatEnvheader(), formatMailboxName(), formatMenubar(), formatToolbar(), fortune_show(), fortune_show_options(), POP3\get(), get_info(), get_msgcnt_str(), get_paginator_str(), get_selectall_link(), getDateString(), getDayAbrv(), getDayName(), getforwardHeader(), getHashedDir(), getLongDateString(), getMonthAbrv(), getMonthName(), getPref(), getPriorityStr(), getReplyCitation(), getSig(), info_opt(), Deliver_SMTP\initStream(), is_logged_in(), POP3\last(), abook_database\list_addr(), abook_local_file\list_addr(), list_writable_backends(), load_optpage_data_display(), load_optpage_data_folder(), load_optpage_data_personal(), load_spam_filters(), POP3\login(), logout_error(), abook_database\lookup(), abook_local_file\lookup(), magicHTML(), mail_fetch_link(), mail_fetch_login(), mail_message_listing_beginning(), mailfetch_optpage_register_block(), makeComposeLink(), mime_fetch_body(), mime_structure(), abook_database\modify(), abook_local_file\modify(), AddressBook\modify(), newmail_optpage_register_block(), newmail_plugin(), newmail_set_loadinfo(), abook_database\open(), abook_local_file\open(), OptionSubmit(), abook_local_file\overwrite(), Message\parseEnvelope(), POP3\pass(), pf_show_attachments(), plugin_listcommands_menu(), POP3\pop_list(), printer_friendly_link(), printHeader(), printMessageInfo(), printSearchMessages(), processSubject(), POP3\quit(), abook_database\remove(), abook_local_file\remove(), AddressBook\remove(), POP3\reset(), save_option_draft_folder(), save_option_sent_folder(), save_option_trash_folder(), savePrefValues(), abook_database\search(), abook_local_file\search(), select_option_length(), select_option_priority(), POP3\send_cmd(), SendMDN(), sent_subfolders_optpage_loadhook_folders(), set_up_language(), setSig(), show_abook_sort_button(), show_event_form(), show_message_details(), showComposeButtonRow(), ShowIdentityInfo(), showInputForm(), showMessagesForMailbox(), spamcop_enable_disable(), spamcop_options(), spamcop_show_link(), sq_fix_url(), sq_fixstyle(), sqimap_append_checkresponse(), sqimap_get_headerfield(), sqimap_get_message(), sqimap_get_small_header_list(), sqimap_login(), sqimap_mailbox_option_list(), sqimap_mailbox_select(), sqimap_read_data_list(), sqimap_run_command(), sqimap_run_command_list(), sqimap_run_literal_command(), sqspell_ckMOD(), sqspell_getWords(), sqspell_makePage(), squirrelmail_administrator_optpage_register_block(), squirrelspell_optpage_register_block(), squirrelspell_setup(), startcalendar(), POP3\top(), translate_form_babelfish(), translate_form_dictionary(), translate_form_go(), translate_form_google(), translate_form_gpltrans(), translate_form_intertran(), translate_form_otenet(), translate_form_promt(), translate_optpage_register_block(), POP3\uidl(), update_event_form(), POP3\user(), validate_mail_fetch_port_number(), validate_mail_fetch_server_address(), view_header(), and writecalendardata().

◆ bindtextdomain()

bindtextdomain (   $name,
  $dir 
)

Alternative php bindtextdomain function

Sets path to directory containing domain translations

string $name gettext domain name string $dir directory that contains all translations string path to translation directory

Definition at line 218 of file gettext.php.

References $gettext_php_dir, $gettext_php_domain, and $gettext_php_loaded.

Referenced by set_up_language(), and sq_bindtextdomain().

◆ gettext_php_load_strings()

if (! isset( $gettext_php_loaded)) if (! isset( $gettext_php_domain)) if (! isset( $gettext_php_dir)) if (! isset( $gettext_php_translateStrings)) if (! isset( $gettext_php_loaded_language)) if (! isset( $gettext_php_short_circuit)) gettext_php_load_strings ( )

Converts .po file into array and stores it in session.

Used internally by _($str) function

Definition at line 58 of file gettext.php.

References $filename, $gettext_php_dir, $gettext_php_domain, $gettext_php_loaded, $gettext_php_loaded_language, $gettext_php_short_circuit, $gettext_php_translateStrings, $squirrelmail_language, and elseif.

Referenced by _().

◆ textdomain()

textdomain (   $name = false)

Alternative php textdomain function

Sets default domain name

string $name gettext domain name string gettext domain name

Definition at line 242 of file gettext.php.

References $gettext_php_domain, and $gettext_php_loaded.

Referenced by set_up_language(), and sq_change_text_domain().

Variable Documentation

◆ $gettext_php_dir

global $gettext_php_dir

Definition at line 20 of file gettext.php.

Referenced by bindtextdomain(), and gettext_php_load_strings().

◆ $gettext_php_domain

global $gettext_php_domain

Almost everything requires global.php...

Definition at line 20 of file gettext.php.

Referenced by bindtextdomain(), gettext_php_load_strings(), and textdomain().

◆ $gettext_php_loaded

global $gettext_php_loaded

Definition at line 20 of file gettext.php.

Referenced by _(), bindtextdomain(), gettext_php_load_strings(), and textdomain().

◆ $gettext_php_loaded_language

global $gettext_php_loaded_language

Definition at line 20 of file gettext.php.

Referenced by _(), and gettext_php_load_strings().

◆ $gettext_php_short_circuit

global $gettext_php_short_circuit

Definition at line 20 of file gettext.php.

Referenced by _(), and gettext_php_load_strings().

◆ $gettext_php_translateStrings

global $gettext_php_translateStrings

Definition at line 20 of file gettext.php.

Referenced by _(), and gettext_php_load_strings().