diff options
author | Norbert Preining <preining@logic.at> | 2009-08-09 17:50:12 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-08-09 17:50:12 +0000 |
commit | e69918468644f891e3246aa8c0f2001b8c92b108 (patch) | |
tree | 5f934875ac09fad226b5db90e23e8487e2b09b92 /Master/tlpkg/installer | |
parent | cf18f3ed20e8c33c50474349c41c4b820f631402 (diff) |
rework translation handling completely, all is now done more or less
gettext compatible, and people can use po editors to edit
tlpkg/translations/*.po
git-svn-id: svn://tug.org/texlive/trunk@14589 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer')
-rw-r--r-- | Master/tlpkg/installer/install-menu-perltk.pl | 251 | ||||
-rw-r--r-- | Master/tlpkg/installer/install-menu-wizard.pl | 72 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-cs | 74 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-de | 68 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-en.sample | 75 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-fr | 64 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-it | 82 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-nl | 59 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-pl | 58 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-sl | 61 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-vi | 73 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-zh-cn | 59 | ||||
-rw-r--r-- | Master/tlpkg/installer/lang/perltk-zh-tw | 59 |
13 files changed, 161 insertions, 894 deletions
diff --git a/Master/tlpkg/installer/install-menu-perltk.pl b/Master/tlpkg/installer/install-menu-perltk.pl index 6edd17362d2..de91f4e0a53 100644 --- a/Master/tlpkg/installer/install-menu-perltk.pl +++ b/Master/tlpkg/installer/install-menu-perltk.pl @@ -47,13 +47,13 @@ our $MENU_ALREADYDONE = 3; my $return = $MENU_INSTALL; -our %text; -our %labels; -require("installer/install-translations.pl"); +our $LANG; +our %TRANS; +require("translations/trans.pl"); -$::fileassocdesc[0] = $text{fa_dontchange}; -$::fileassocdesc[1] = $text{fa_onlynew}; -$::fileassocdesc[2] = $text{fa_all}; +$::fileassocdesc[0] = __("None"); +$::fileassocdesc[1] = __("Only new"); +$::fileassocdesc[2] = __("All"); my $mw; my $subframe; @@ -71,15 +71,15 @@ my $optletterstate; my $optfmtstate; my $optsrcstate; my $optdocstate; -my $letteryesno = ( $vars{'option_letter'} ? $text{'yes'} : $text{'no'} ); -my $fmtyesno = ( $vars{'option_fmt'} ? $text{'yes'} : $text{'no'} ); -my $srcyesno = ( $vars{'option_src'} ? $text{'yes'} : $text{'no'} ); -my $deskintyesno = ( $vars{'option_desktop_integration'} ? $text{'yes'} : $text{'no'} ); -my $pathadjyesno = ( $vars{'option_path'} ? $text{'yes'} : $text{'no'} ); +my $letteryesno = ( $vars{'option_letter'} ? __("Yes") : __("No") ); +my $fmtyesno = ( $vars{'option_fmt'} ? __("Yes") : __("No") ); +my $srcyesno = ( $vars{'option_src'} ? __("Yes") : __("No") ); +my $deskintyesno = ( $vars{'option_desktop_integration'} ? __("Yes") : __("No") ); +my $pathadjyesno = ( $vars{'option_path'} ? __("Yes") : __("No") ); my $fileassocyesno = $::fileassocdesc[$vars{'option_file_assocs'}]; -my $editoryesno = ( $vars{'addon_editor'} ? $text{'yes'} : $text{'no'} ); -my $adminallyesno = ( $vars{'option_w32_multi_user'} ? $text{'yes'} : $text{'no'} ); -my $docyesno = ( $vars{'option_doc'} ? $text{'yes'} : $text{'no'} ); +my $editoryesno = ( $vars{'addon_editor'} ? __("Yes") : __("No") ); +my $adminallyesno = ( $vars{'option_w32_multi_user'} ? __("Yes") : __("No") ); +my $docyesno = ( $vars{'option_doc'} ? __("Yes") : __("No") ); $::run_menu = \&run_menu_perltk; @@ -156,44 +156,44 @@ sub run_menu_perltk { my $row = 1; - $fr->Label(-text => $text{'title'})->grid(-row => $row, -column => 1, -columnspan => 3); + $fr->Label(-text => __("TeX Live 2009 Installation"))->grid(-row => $row, -column => 1, -columnspan => 3); $row++; - $fr->Label(-text => "------- $text{'basicinfo'} -------")->grid(-row => $row, -column => 1, -columnspan => 3); + $fr->Label(-text => "------- " . __("Basic Information") . " -------")->grid(-row => $row, -column => 1, -columnspan => 3); # binary system line if (!win32()) { $row++; - $fr->Label(-text => $labels{'binsys'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Binary system(s)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $bintextbutton = $fr->Label(-anchor => 'w'); $bintextbutton->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_select_binsystems(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_select_binsystems(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } $row++; # scheme line - $fr->Label(-text => $labels{'scheme'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Selected scheme'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $schemebutton = $fr->Label(-anchor => 'w'); $schemebutton->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_select_scheme(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_select_scheme(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # further customization - $fr->Label(-text => "------- $text{'custom'} -------")->grid(-row => $row, -column => 1,-columnspan => 3); + $fr->Label(-text => "------- " . __("Further Customization") . " -------")->grid(-row => $row, -column => 1,-columnspan => 3); $row++; # standard collection line - $fr->Label(-text => $labels{'stdcoll'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); - $fr->Button(-text => $text{'change'}, -command => sub { menu_select_standard_collections(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Label(-text => __('Standard collections'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Button(-text => __("Change"), -command => sub { menu_select_standard_collections(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # lang collection line - $fr->Label(-text => $labels{'langcoll'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Language collections'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $langcoltext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button( -text => $text{'change'}, -command => sub { menu_select_lang_collections(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button( -text => __("Change"), -command => sub { menu_select_lang_collections(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; $collectionstext = $fr->Label(); @@ -201,119 +201,120 @@ sub run_menu_perltk { $row++; # further customization - $fr->Label(-text => "------- $text{'dirsetup'} -------")->grid(-row => $row, -column => 1, -columnspan => 3); + $fr->Label(-text => "------- " . __("Directory setup") . " -------")->grid(-row => $row, -column => 1, -columnspan => 3); $row++; # texdir line - $fr->Label(-text => $labels{'texdir'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('TEXDIR (the main TeX directory)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $texdirtext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); if ($::alternative_selector) { - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_texdir("TEXDIR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_texdir("TEXDIR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } else { - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_vars_value("TEXDIR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_vars_value("TEXDIR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } $row++; # texmflocal line - $fr->Label(-text => $labels{'localdir'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('TEXMFLOCAL (directory for site-wide local files)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $texmflocaltext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_vars_value("TEXMFLOCAL"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_vars_value("TEXMFLOCAL"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # texmfsysvar line - $fr->Label(-text => $labels{'sysvardir'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('TEXMFSYSVAR (directory for autogenerated data)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $texmfsysvartext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_vars_value("TEXMFSYSVAR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_vars_value("TEXMFSYSVAR"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # texmfsysvar line - $fr->Label(-text => $labels{'sysconfigdir'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('TEXMFSYSCONFIG (directory for local config)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $texmfsysconfigtext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_vars_value("TEXMFSYSCONFIG"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_vars_value("TEXMFSYSCONFIG"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # texmfhome line - $fr->Label(-text => $labels{'texmfhome'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('TEXMFHOME (directory for user-specific files)'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $texmfhometext = $fr->Label(-anchor => 'w')->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_vars_value("TEXMFHOME"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_vars_value("TEXMFHOME"); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; # Options - $fr->Label(-text => "------- $text{'options'} -------")->grid(-row => $row, -column => 1, -columnspan => 3); + $fr->Label(-text => "------- " . __("Options") . " -------")->grid(-row => $row, -column => 1, -columnspan => 3); $row++; # optpaper - $fr->Label(-text => $labels{'optletter'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Use letter size instead of A4 by default'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$letteryesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_letter'}, \$letteryesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_letter'}, \$letteryesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; - $fr->Label(-text => $labels{'optfmt'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Create all format files'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$fmtyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_fmt'}, \$fmtyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_fmt'}, \$fmtyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); if ($vars{'doc_splitting_supported'}) { $row++; - $fr->Label(-text => $labels{'optdoc'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Install font/macro doc tree'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$docyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_doc'}, \$docyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_doc'}, \$docyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } if ($vars{'src_splitting_supported'}) { $row++; - $fr->Label(-text => $labels{'optsrc'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Install font/macro source tree'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$srcyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_src'}, \$srcyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_src'}, \$srcyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } $row++; - $fr->Label(-text => (win32() ? $labels{'pathadj'} : $labels{'symlink'} ), + $fr->Label(-text => (win32() ? __('Adjust PATH setting in registry') : + __('Create symlinks in system directories')), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$pathadjyesno)->grid(-row => $row, -column => 2, -padx => "2m"); if (unix()) { - $fr->Button(-text => $text{'change'}, -command => sub { menu_select_symlink(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_select_symlink(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } else { - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_path'}, \$pathadjyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_path'}, \$pathadjyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } if ($::opt_all_options || win32()) { $row++; - $fr->Label(-text => $labels{'desktop_integration'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Add shortcuts to menu and desktop'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$deskintyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_desktop_integration'}, \$deskintyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_desktop_integration'}, \$deskintyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); $row++; - $fr->Label(-text => $labels{'fileassocs'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Change file associations'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$fileassocyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'change'}, -command => sub { menu_edit_file_assocs(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Change"), -command => sub { menu_edit_file_assocs(); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); if ($::opt_all_options || admin()) { $row++; - $fr->Label(-text => $labels{'w32admallusers'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Installation for all users'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$adminallyesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'option_w32_multi_user'}, \$adminallyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'option_w32_multi_user'}, \$adminallyesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } $row++; - $fr->Label(-text => $labels{'addon_editor'}, -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); + $fr->Label(-text => __('Install TeXworks front end'), -anchor => 'w')->grid(-row => $row, -column => 1, -sticky => 'w'); $fr->Label(-anchor => 'w', -textvariable => \$editoryesno)->grid(-row => $row, -column => 2, -padx => "2m"); - $fr->Button(-text => $text{'toggle'}, -command => sub { toggle_and_set_opt_variable(\$vars{'addon_editor'}, \$editoryesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); + $fr->Button(-text => __("Toggle"), -command => sub { toggle_and_set_opt_variable(\$vars{'addon_editor'}, \$editoryesno); })->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } # install/cancel buttons my $f3 = $fr->Frame; $f3->Button( - -text => $text{'install'}, + -text => __("Install TeX Live"), -command => sub { installation_window(); } )->pack(-side => 'left', -padx => "2m", -pady => "2m"); my $quitbutton = $f3->Button( - -text => $text{'quit'}, + -text => __("Quit"), -command => sub { $return = $MENU_ABORT; $mainwindow->destroy } )->pack(-side => 'right', -padx => "2m", -pady => "2m"); $mw->bind('<Escape>', [ $quitbutton, 'Invoke' ]); #my $wizardbutton = $f3->Button( - # -text => $text{'wizard'}, + # -text => __("Wizard"), # -command => sub { # $mainwindow->destroy; # require("installer/install-menu-wizard.pl"); @@ -357,18 +358,18 @@ sub installation_window { -colors => [ 0, '#0078b8' ]); $::progress->pack(-fill => "x"); my $f = $::sww->Frame; - my $b = $f->Button(-text => $text{'cancel'}, + my $b = $f->Button(-text => __("Cancel"), -command => sub { $::sww->destroy; $mainwindow->destroy; do_cleanup(); exit(1); } )->pack(-pady => "2m"); $f->pack; do_installation(); $return = $MENU_ALREADYDONE; - my $t = $text{'finished'}; + my $t = __("See TEXDIR/index.html for links to documentation.\nThe TeX Live web site (http://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at http://tug.org/usergroups.html."); if (!win32()) { - $t .= "\n\n$text{'finishedpath'}"; + $t .= "\n\n" . __("Add TEXDIR/texmf/doc/man to MANPATH.\nAdd TEXDIR/texmf/doc/info to INFOPATH.\nMost importantly, add TEXDIR/bin/PLATFORM\nto your PATH for current and future sessions."); } - $t .= "\n\n$text{'welcome'}"; + $t .= "\n\n" . __("Welcome to TeX Live!"); $t =~ s/TEXDIR/$::vars{'TEXDIR'}/g; $t =~ s/PLATFORM/$::vars{'this_platform'}/g; $t =~ s/\\n/\n/g; @@ -380,7 +381,7 @@ sub installation_window { $::progressw->see("end"); $::progressw->tagAdd("centered", $linechar, "end"); $::progressw->tagConfigure("centered", -justify => "center"); - $b->configure(-text => $text{'finbut'}, + $b->configure(-text => __("Finish"), -command => sub { $mainwindow->destroy; }); } @@ -403,7 +404,7 @@ sub menu_edit_texdir { } else { $hint_var = win32() ? '%USERPROFILE%' : '$HOME'; } - my $hint_text = $text{'hinthome'}; + my $hint_text = __('(use ~ for %%%)'); $hint_text =~ s/%%%/$hint_var/; if ($val =~ m!^(.*)/texlive/$texlive_release$!) { $currsel = "$1"; @@ -422,10 +423,10 @@ sub menu_edit_texdir { $addtexlive = 0; $currsel = $val; } - my $sw = $mainwindow->Toplevel(-title => $text{'changevar'}); + my $sw = $mainwindow->Toplevel(-title => __("Change variable value")); $sw->transient($mainwindow); $sw->grab(); - $sw->Label(-text => $text{'enterpath'} . " $key: " . $hint_text)->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Enter path for") . " $key: " . $hint_text)->pack(-padx => "2m", -pady => "2m"); $entry = $sw->Entry(-width => 60)->pack(-padx => "2m", -pady => "2m"); my $f = $sw->Frame; my $c1 = $f->Checkbutton(-text => 'Add "texlive"', -variable => \$addtexlive, @@ -436,11 +437,11 @@ sub menu_edit_texdir { -browsecmd => sub { my ($d) = @_; $currsel = $d; update_label(); }, -directory => "$currsel"); my $ff = $sw->Frame; - my $ok = $ff->Button(-text => $text{'ok'}, -command => sub { $val = $entry->get; callback_edit_directories($key,$val); $sw->destroy; }); - my $cancel = $ff->Button(-text => $text{'cancel'}, -command => sub { $sw->destroy; }); + my $ok = $ff->Button(-text => __("Ok"), -command => sub { $val = $entry->get; callback_edit_directories($key,$val); $sw->destroy; }); + my $cancel = $ff->Button(-text => __("Cancel"), -command => sub { $sw->destroy; }); update_label(); - $c1->pack(-side => 'left', -padx => "2m", -pady => "2m"); - $c2->pack(-side => 'right', -padx => "2m", -pady => "2m"); + $c1->pack(-side => "left", -padx => "2m", -pady => "2m"); + $c2->pack(-side => "right", -padx => "2m", -pady => "2m"); $f->pack; $foo->pack(-fill => "both", -expand => 1); $ok->pack(-side => 'left' , -padx => "2m", -pady => "2m"); @@ -453,7 +454,7 @@ sub menu_edit_texdir { sub menu_edit_vars_value { my $key = shift; - my $sw = $mainwindow->Toplevel(-title => $text{'changevar'}); + my $sw = $mainwindow->Toplevel(-title => __("Change variable value")); $sw->transient($mainwindow); $sw->grab(); my $val = $vars{$key}; @@ -463,15 +464,15 @@ sub menu_edit_vars_value { } else { $hint_var = win32() ? '%USERPROFILE%' : '$HOME'; } - my $hint_text = $text{'hinthome'}; + my $hint_text = __('(use ~ for %%%)'); $hint_text =~ s/%%%/$hint_var/; - $sw->Label(-text => $text{'enterpath'} . " $key: " . $hint_text)->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Enter path for") . " $key: " . $hint_text)->pack(-padx => "2m", -pady => "2m"); my $entry = $sw->Entry(-textvariable => $val, -width => 60); $entry->pack(-padx => "2m", -pady => "2m"); my $f = $sw->Frame; - my $okbutton = $f->Button(-text => $text{'ok'}, + my $okbutton = $f->Button(-text => __("Ok"), -command => sub { $val = $entry->get; callback_edit_directories($key,$val) ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $f->Button(-text => $text{'cancel'}, + my $cancelbutton = $f->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $f->pack(-expand => 'x'); # bindings @@ -480,12 +481,12 @@ sub menu_edit_vars_value { } sub menu_edit_file_assocs { - my $sw = $mainwindow->Toplevel(-title => $labels{'fileassocs'}); + my $sw = $mainwindow->Toplevel(-title => __('Change file associations')); $sw->transient($mainwindow); $sw->grab(); my $key = 'option_file_assocs'; my $var = $::fileassocdesc[$vars{$key}]; - $sw->Label(-text => $labels{"fileassocs"})->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Change file associations"))->pack(-padx => "2m", -pady => "2m"); my $opt = $sw->BrowseEntry(-autolistwidth => 1, -variable => \$var); for my $i (0..2) { @@ -494,7 +495,7 @@ sub menu_edit_file_assocs { $opt->pack(-padx => "2m", -pady => "2m"); my $f = $sw->Frame; - my $okbutton = $f->Button(-text => $text{"ok"}, + my $okbutton = $f->Button(-text => __("Ok"), -command => sub { my $idx; if ($var eq $::fileassocdesc[0]) { @@ -509,7 +510,7 @@ sub menu_edit_file_assocs { $vars{$key} = $idx; $fileassocyesno = $::fileassocdesc[$idx]; $sw->destroy; })->pack(-side => "left", -padx => "2m", -pady => "2m"); - my $cancelbutton = $f->Button(-text => $text{"cancel"}, -command => sub { $sw->destroy; })->pack(-side => "left", -padx => "2m", -pady => "2m"); + my $cancelbutton = $f->Button(-text => __("Cancel"), -command => sub { $sw->destroy; })->pack(-side => "left", -padx => "2m", -pady => "2m"); $f->pack; $sw->bind('<Return>', [ $okbutton, 'Invoke' ]); $sw->bind('<Escape>', [ $cancelbutton, 'Invoke' ]); @@ -517,7 +518,7 @@ sub menu_edit_file_assocs { sub menu_select_scheme { - my $sw = $mainwindow->Toplevel(-title => $labels{'scheme'}); + my $sw = $mainwindow->Toplevel(-title => __('Selected scheme')); $sw->transient($mainwindow); $sw->grab(); my @schemes; @@ -530,7 +531,7 @@ sub menu_select_scheme { } @schemes=sort @schemes; my $selected = $vars{'selected_scheme'}; - $sw->Label(-text => $text{'selectscheme'})->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Selected scheme"))->pack(-padx => "2m", -pady => "2m"); my $f2 = $sw->Frame; my $f2l = $f2->Frame; my $f2r = $f2->Frame; @@ -551,9 +552,9 @@ sub menu_select_scheme { $f2r->pack(-side => 'right', -padx => "2m", -pady => "2m"); $f2->pack; my $f3 = $sw->Frame; - my $okbutton = $f3->Button(-text => $text{'ok'}, + my $okbutton = $f3->Button(-text => __("Ok"), -command => sub { callback_select_scheme($selected) ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $f3->Button(-text => $text{'cancel'}, + my $cancelbutton = $f3->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); $f3->pack(-expand => 'x'); $sw->bind('<Return>' => [ $okbutton, 'Invoke']); @@ -561,7 +562,7 @@ sub menu_select_scheme { } sub menu_select_standard_collections { - my $sw = $mainwindow->Toplevel(-title => $labels{'stdcoll'}); + my $sw = $mainwindow->Toplevel(-title => __('Standard collections')); $sw->transient($mainwindow); $sw->grab(); my $fb = $sw->Frame; @@ -570,7 +571,7 @@ sub menu_select_standard_collections { my $f1 = $fb->Frame; my $f2 = $fb->Frame; my %lvars = %vars; - $sw->Label(-text => $text{'selectstdcol'})->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Select the collections to be installed"))->pack(-padx => "2m", -pady => "2m"); my $halfcol = $#collections_std / 2; my $i = 0; foreach my $coll (sort @collections_std) { @@ -586,27 +587,27 @@ sub menu_select_standard_collections { $f2->pack(-side => 'right', -padx => "2m", -pady => "2m"); $fb->pack(-padx => "2m", -pady => "2m"); $fd->pack(); - $fd->Button(-text => $text{'selectall'}, + $fd->Button(-text => __("Select All"), -command => sub { select_collections(\%lvars, @collections_std) })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - $fd->Button(-text => $text{'selectnone'}, + $fd->Button(-text => __("Deselect All"), -command => sub { deselect_collections(\%lvars, @collections_std) })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $fc->pack(-expand => 'x', -padx => "2m", -pady => "2m"); - my $okbutton = $fc->Button(-text => $text{'ok'}, + my $okbutton = $fc->Button(-text => __("Ok"), -command => sub { %vars = %lvars; callback_select_collection() ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $fc->Button(-text => $text{'cancel'}, + my $cancelbutton = $fc->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $sw->bind('<Return>' => [ $okbutton, 'Invoke']); $sw->bind('<Escape>' => [ $cancelbutton, 'Invoke']); } sub menu_select_lang_collections { - my $sw = $mainwindow->Toplevel(-title => $labels{'langcoll'}); + my $sw = $mainwindow->Toplevel(-title => __('Language collections')); $sw->transient($mainwindow); $sw->grab(); my $f1 = $sw->Frame; $f1->pack; - my $f1lang = $f1->Labelframe(-text => $text{'selectlang'}); - my $f1doc = $f1->Labelframe(-text => $text{'selectdoc'}); + my $f1lang = $f1->Labelframe(-text => __("Select language support")); + my $f1doc = $f1->Labelframe(-text => __("Select language-specific documentation")); $f1lang->pack(-side => 'left', -padx => "2m", -pady => "2m", -ipadx => "2m", -ipady => "2m"); $f1doc->pack(-side => 'right', -padx => "2m", -pady => "2m", -ipadx => "2m", -ipady => "2m", -expand => 1, -fill => "y"); my $f1langT = $f1lang->Frame; $f1langT->pack; @@ -627,9 +628,9 @@ sub menu_select_lang_collections { } my $f1langB = $f1lang->Frame; $f1langB->pack(-expand => 'x'); - $f1langB->Button(-text => $text{'selectall'}, + $f1langB->Button(-text => __("Select All"), -command => sub { select_collections(\%lvars, @collections_lang) })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - $f1langB->Button(-text => $text{'selectnone'}, + $f1langB->Button(-text => __("Deselect All"), -command => sub { deselect_collections(\%lvars, @collections_lang) })->pack(-side => 'right', -padx => "2m", -pady => "2m"); my $f1docT = $f1doc->Frame; $f1docT->pack; @@ -649,14 +650,14 @@ sub menu_select_lang_collections { } my $f1docB = $f1doc->Frame; $f1docB->pack(-expand => 1, -side => "bottom"); - $f1docB->Button(-text => $text{'selectall'}, + $f1docB->Button(-text => __("Select All"), -command => sub { select_collections(\%lvars, @collections_lang_doc) })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - $f1docB->Button(-text => $text{'selectnone'}, + $f1docB->Button(-text => __("Deselect All"), -command => sub { deselect_collections(\%lvars, @collections_lang_doc) })->pack(-side => 'left', -padx => "2m", -pady => "2m"); my $f2 = $sw->Frame; $f2->pack(-expand => 'x'); - my $okbutton = $f2->Button(-text => $text{'ok'}, + my $okbutton = $f2->Button(-text => __("Ok"), -command => sub { %vars = %lvars; callback_select_collection() ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $f2->Button(-text => $text{'cancel'}, + my $cancelbutton = $f2->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $sw->bind('<Return>' => [ $okbutton, 'Invoke']); $sw->bind('<Escape>' => [ $cancelbutton, 'Invoke']); @@ -701,26 +702,26 @@ sub menu_select_symlink { $vars{'option_path'} = $osym; toggle_and_set_opt_variable(\$vars{'option_path'}, \$pathadjyesno); } - my $sw = $mainwindow->Toplevel(-title => $labels{'symlink'}); + my $sw = $mainwindow->Toplevel(-title => __('Create symlinks in system directories')); $sw->transient($mainwindow); $sw->grab(); $sw->Checkbutton(-variable => \$osym, - -text => $text{'createsym'}, + -text => __("create symlinks in standard directories"), -command => sub { set_unset_buttons(); } )->grid(-column => 1, -row => 1, -columnspan => 2, -padx => "2m"); - $binlab = $sw->Label(-text => $text{'binto'}); + $binlab = $sw->Label(-text => __("binaries to")); $binb = $sw->Entry(-textvariable => \$lbin); - $manlab = $sw->Label(-text => $text{'manto'}); + $manlab = $sw->Label(-text => __("manpages to")); $manb = $sw->Entry(-textvariable => \$lman); - $infolab = $sw->Label(-text => $text{'infoto'}); + $infolab = $sw->Label(-text => __("info to")); $infob = $sw->Entry(-textvariable => \$linfo); set_unset_buttons(); my $f2 = $sw->Frame; $f2->grid(-column => 1, -columnspan => 2, -row => 5); - my $okbutton = $f2->Button(-text => $text{'ok'}, + my $okbutton = $f2->Button(-text => __("Ok"), -command => sub { return_callback(); $sw->destroy })->pack(-side => 'left'); - my $cancelbutton = $f2->Button(-text => $text{'cancel'}, + my $cancelbutton = $f2->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'right'); $sw->bind('<Return>' => [ $okbutton, 'Invoke']); $sw->bind('<Escape>' => [ $cancelbutton, 'Invoke']); @@ -729,7 +730,7 @@ sub menu_select_symlink { sub menu_select_binsystems { my $f2r; my $f2; - my $sw = $mainwindow->Toplevel(-title => $labels{'binsys'}); + my $sw = $mainwindow->Toplevel(-title => __('Binary system(s)')); $sw->transient($mainwindow); $sw->grab(); my @diskarchs = (); @@ -738,7 +739,7 @@ sub menu_select_binsystems { push @diskarchs, $1; } } - $sw->Label(-text => $text{'selectsys'})->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __("Select arch-os"))->pack(-padx => "2m", -pady => "2m"); $f2 = $sw->Frame; my $f2l = $f2->Frame; foreach my $sys (sort @diskarchs) { @@ -747,9 +748,9 @@ sub menu_select_binsystems { $f2l->pack(-side => 'left'); $f2->pack(-padx => "2m", -pady => "2m"); my $f3 = $sw->Frame; - my $okbutton = $f3->Button(-text => $text{'ok'}, + my $okbutton = $f3->Button(-text => __("Ok"), -command => sub { callback_select_systems() ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $f3->Button(-text => $text{'cancel'}, + my $cancelbutton = $f3->Button(-text => __("Cancel"), -command => sub { $sw->destroy })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $f3->pack(-expand => 'x'); $sw->bind('<Return>' => [ $okbutton, 'Invoke']); @@ -769,12 +770,12 @@ sub menu_set_schemebutton_text { sub menu_set_binbutton_text { if (!win32()) { - menu_set_text($bintextbutton, "$vars{'n_systems_selected'} $text{'outof'} $vars{'n_systems_available'}"); + menu_set_text($bintextbutton, "$vars{'n_systems_selected'} " . __("out of") . " $vars{'n_systems_available'}"); } } sub menu_set_collections_text { - menu_set_text($collectionstext, "$vars{'n_collections_selected'} $text{'collof'} $vars{'n_collections_available'}, $text{'diskreq'}: $vars{'total_size'} MB"); + menu_set_text($collectionstext, "$vars{'n_collections_selected'} " . __("collections out of") . " $vars{'n_collections_available'}, " . __("disk space required") . ": $vars{'total_size'} MB"); } sub menu_set_pathes_text { @@ -783,12 +784,12 @@ sub menu_set_pathes_text { menu_set_text($langcoltext, ""); } else { # bad - menu_set_text($langcoltext, $text{'nolangcol'}, -foreground => "red"); + menu_set_text($langcoltext, __("(no language collection selected!)"), -foreground => "red"); } if (TeXLive::TLUtils::texdir_check($vars{'TEXDIR'})) { menu_set_text($texdirtext, "$vars{'TEXDIR'}", -foreground => "black"); } else { - menu_set_text($texdirtext, $text{'notwritable'}, -foreground => "red"); + menu_set_text($texdirtext, __("(default not writable - please change!)"), -foreground => "red"); } menu_set_text($texmflocaltext, "$vars{'TEXMFLOCAL'}"); if ((-w $vars{'TEXMFSYSVAR'}) || (-w dirname($vars{'TEXMFSYSVAR'}))) { @@ -797,10 +798,10 @@ sub menu_set_pathes_text { if (TeXLive::TLUtils::texdir_check($vars{'TEXDIR'})) { menu_set_text($texmfsysvartext, "$vars{'TEXMFSYSVAR'}", -foreground => "black"); } else { - menu_set_text($texmfsysvartext, $text{'changetexdir'}, -foreground => "red"); + menu_set_text($texmfsysvartext, __("(please change TEXDIR first!)"), -foreground => "red"); } } else { - menu_set_text($texmfsysvartext, $text{'notwritable'}); + menu_set_text($texmfsysvartext, __("(default not writable - please change!)")); } if ((-w $vars{'TEXMFSYSCONFIG'}) || (-w dirname($vars{'TEXMFSYSCONFIG'}))) { menu_set_text($texmfsysconfigtext, "$vars{'TEXMFSYSCONFIG'}", -foreground => "black"); @@ -808,10 +809,10 @@ sub menu_set_pathes_text { if (TeXLive::TLUtils::texdir_check($vars{'TEXDIR'})) { menu_set_text($texmfsysconfigtext, "$vars{'TEXMFSYSCONFIG'}", -foreground => "black"); } else { - menu_set_text($texmfsysconfigtext, $text{'changetexdir'}, -foreground => "red"); + menu_set_text($texmfsysconfigtext, __("(please change TEXDIR first!)"), -foreground => "red"); } } else { - menu_set_text($texmfsysconfigtext, $text{'notwritable'}); + menu_set_text($texmfsysconfigtext, __("(default not writable - please change!)")); } menu_set_text($texmfhometext, "$vars{'TEXMFHOME'}"); } @@ -822,10 +823,10 @@ sub menu_update_texts { menu_set_collections_text; menu_set_binbutton_text; menu_set_schemebutton_text; - $optletterstate = ($vars{'option_letter'} ? $text{'yes'} : $text{'no'}); - $optfmtstate = ($vars{'option_fmt'} ? $text{'yes'} : $text{'no'}); - $optsrcstate = ($vars{'option_src'} ? $text{'yes'} : $text{'no'}); - $optdocstate = ($vars{'option_doc'} ? $text{'yes'} : $text{'no'}); + $optletterstate = ($vars{'option_letter'} ? __("Yes") : __("No")); + $optfmtstate = ($vars{'option_fmt'} ? __("Yes") : __("No")); + $optsrcstate = ($vars{'option_src'} ? __("Yes") : __("No")); + $optdocstate = ($vars{'option_doc'} ? __("Yes") : __("No")); } sub callback_select_scheme { @@ -895,9 +896,9 @@ sub dump_vars_stdout { sub toggle_and_set_opt_variable { my ($varsref, $toggleref) = @_; - $$toggleref = ($$toggleref eq $text{'yes'}) ? $text{'no'} : $text{'yes'}; + $$toggleref = ($$toggleref eq __("Yes")) ? __("No") : __("Yes"); $$varsref = 0; - $$varsref = 1 if ($$toggleref eq $text{'yes'}); + $$varsref = 1 if ($$toggleref eq __("Yes")); calc_depends(); menu_update_texts(); } diff --git a/Master/tlpkg/installer/install-menu-wizard.pl b/Master/tlpkg/installer/install-menu-wizard.pl index aaab3891c07..860b12af5a5 100644 --- a/Master/tlpkg/installer/install-menu-wizard.pl +++ b/Master/tlpkg/installer/install-menu-wizard.pl @@ -66,9 +66,7 @@ my $BUTTONSHEIGHT = 50; my $INNERWIDTH = ($MWIDTH - $LEFT - $RIGHT); my $INNERHEIGHT = ($MHEIGHT - $TOP - $TITLEHEIGHT - $BOTTOM - $BUTTONSHEIGHT); -our %text; -our %labels; -require("installer/install-translations.pl"); +require("translations/trans.pl"); # the main installer runs %{$::run_menu} $::run_menu = \&run_menu_wizard; @@ -124,7 +122,7 @@ sub run_menu_wizard { $ftitle->update; $ftitle->place(-x => $LEFT, -y => $TOP); - $tit = $ftitle->Label(-text => $text{'title'}); + $tit = $ftitle->Label(-text => __('TeX Live 2009 Installation')); $usedfont= $tit->cget("-font"); $lineskip = $usedfont->metrics("-linespace"); @@ -139,10 +137,10 @@ sub run_menu_wizard { $fmain->place(-x => $LEFT, -y => ($TOP + $TITLEHEIGHT)); - $can = $mw->Button(-width => 10, -relief => "ridge", -text => $text{'cancel'}, + $can = $mw->Button(-width => 10, -relief => "ridge", -text => __('Cancel'), -command => sub { $return = $MENU_ABORT; $mw->destroy; }); - $nxt = $mw->Button(-width => 10, -relief => "ridge", -text => $text{'next'}); - $prv = $mw->Button(-width => 10, -relief => "ridge", -text => $text{'prev'}); + $nxt = $mw->Button(-width => 10, -relief => "ridge", -text => __('Next') . ' >'); + $prv = $mw->Button(-width => 10, -relief => "ridge", -text => '< ' . __('Back')); $can->place(-x => $LEFT, -y => ($MHEIGHT - $BOTTOM), -anchor => "sw"); @@ -163,10 +161,10 @@ sub reset_start { $counter->configure(-text => "1/5"); $prv->placeForget; - my $inf = $fmain->Label(-text => $text{'wizhello'}, -justify => "left"); + my $inf = $fmain->Label(-text => __("Welcome to the installation of TeX Live 2009\nhttp://tug.org/texlive\n\nThis wizard will guide you through the installation.\n\nFor an advanced, customizable installation, please consult\nthe web pages or installation guide."), -justify => "left"); $inf->place(-x => 0, -y => 100); - $nxt->configure(-text => $text{'next'}, -command => \&ask_path ); + $nxt->configure(-text => __("Next") . ' >', -command => \&ask_path ); $nxt->configure(-state => "normal"); } @@ -177,20 +175,20 @@ sub ask_path { $_->destroy; } $counter->configure(-text => "2/5"); - my $lab = $fmain->Label(-text => $text{'destfolder'}); + my $lab = $fmain->Label(-text => __('Destination folder:')); my $val = $fmain->Label(-textvar => \$dest); - my $but = $fmain->Button(-text => $text{'change'}, -command => \&change_path, + my $but = $fmain->Button(-text => __("Change"), -command => \&change_path, -relief => "ridge", -width => 10); # texworks will be anyway installed in scheme-full - #my $but_tw = $fmain->Checkbutton(-text => $labels{'addon_editor'}, + #my $but_tw = $fmain->Checkbutton(-text => __("Install TeXworks front end'), # -variable => \$vars{"addon_editor"}); # # disable the "Advanced Configuration" button switching to the # perltk installer # - #my $cb = $fmain->Button(-text => $text{'advcustom'}, + #my $cb = $fmain->Button(-text => __("Advanced Configuration"), # -relief => "ridge", # -command => sub { $mw->destroy; # require("installer/install-menu-perltk.pl"); @@ -201,7 +199,7 @@ sub ask_path { calc_depends(); - $fmain->Label(-text => $text{'pathinfo'}, + $fmain->Label(-text => __("The destination folder will contain the installation.\nIt is strongly recommended to keep the year as the last component."), -justify => "left")->place(-x => 0, -y => 20); my $ytmp = 100; @@ -223,12 +221,12 @@ sub ask_path { #$cb->place(-x => $INNERWIDTH, -y => $INNERHEIGHT, -anchor => "se"); - $fmain->Label(-text => "$text{'diskreq'}: $vars{'total_size'} MB", + $fmain->Label(-text => __('disk space required') . ": $vars{'total_size'} MB", -justify => "left" )->place(-x => 0, -y => $fmain->height, -anchor => "sw"); - $prv->configure(-text => $text{'prev'}, -command => \&reset_start ); - $nxt->configure(-text => $text{'next'}, -command => \&ask_options ); + $prv->configure(-text => '< ' . __('Back'), -command => \&reset_start ); + $nxt->configure(-text => __('Next') . ' >', -command => \&ask_options ); my $rb = $MWIDTH - $RIGHT; $rb -= $nxt->width; @@ -242,7 +240,7 @@ sub check_show_warning { $warning->configure(-text => ""); $nxt->configure(-state => "normal"); } else { - $warning->configure(-text => $text{'notwritable'}); + $warning->configure(-text => __('(default not writable - please change!)')); $nxt->configure(-state => "disabled"); } } @@ -252,14 +250,14 @@ sub change_path { my $sw = $mw->Toplevel(-title => "Changing TEXDIR"); $sw->transient($mw); $sw->grab(); - $sw->Label(-text => $text{'enterpath'} . " TEXDIR: ")->pack(-padx => "2m", -pady => "2m"); + $sw->Label(-text => __('Enter path for') . " TEXDIR: ")->pack(-padx => "2m", -pady => "2m"); my $entry = $sw->Entry(-textvariable => $val, -width => 60); $entry->pack(-padx => "2m", -pady => "2m"); my $f = $sw->Frame; - my $okbutton = $f->Button(-text => $text{'ok'}, -width => 10, + my $okbutton = $f->Button(-text => __('Ok'), -width => 10, -relief => "ridge", -command => sub { $val = $entry->get; callback_change_texdir($val) ; $sw->destroy })->pack(-side => 'left', -padx => "2m", -pady => "2m"); - my $cancelbutton = $f->Button(-text => $text{'cancel'}, -relief => "ridge", + my $cancelbutton = $f->Button(-text => __('Cancel'), -relief => "ridge", -width => 10, -command => sub { $sw->destroy })->pack(-side => 'right', -padx => "2m", -pady => "2m"); $f->pack(-expand => 'x'); @@ -305,22 +303,22 @@ sub ask_options { } $counter->configure(-text => "3/5"); - my $inf = $fmain->Label(-text => $text{"optiontitle"}, -justify => "left"); + my $inf = $fmain->Label(-text => __("This screen allows you to configure some options"), -justify => "left"); $inf->place(-x => 0, -y => 20); - my $bletter = $fmain->Checkbutton(-text => $labels{'optletter'}, + my $bletter = $fmain->Checkbutton(-text => __("Use letter size instead of A4 by default"), -variable => \$vars{"option_letter"}); - my $bdesk = $fmain->Checkbutton(-text => $labels{'desktop_integration'}, + my $bdesk = $fmain->Checkbutton(-text => __("Add shortcuts to menu and desktop"), -variable => \$vars{"option_desktop_integration"}); - my $bassocs = $fmain->Checkbutton(-text => $labels{'fileassocs'}, + my $bassocs = $fmain->Checkbutton(-text => __('Change file associations'), -variable => \$vars{"option_file_assocs"}); - my $bpath = $fmain->Checkbutton(-text => $labels{'pathadj'}, + my $bpath = $fmain->Checkbutton(-text => __('Adjust PATH setting in registry'), -variable => \$vars{"option_path"}); - my $bmulti = $fmain->Checkbutton(-text => $labels{'w32admallusers'}, + my $bmulti = $fmain->Checkbutton(-text => __('Installation for all users'), -variable => \$vars{"option_w32_multi_user"}); calc_depends(); @@ -349,8 +347,8 @@ sub ask_options { } } - $prv->configure(-text => $text{'prev'}, -command => \&ask_path ); - $nxt->configure(-text => $text{'next'}, -command => \&ask_go ); + $prv->configure(-text => '< ' . __('Back'), -command => \&ask_path ); + $nxt->configure(-text => __('Next') . ' >', -command => \&ask_go ); my $rb = $MWIDTH - $RIGHT; $rb -= $nxt->width; @@ -367,13 +365,13 @@ sub ask_go { $_->destroy; } $counter->configure(-text => "4/5"); - my $inf = $fmain->Label(-justify => "left", -text => $text{'readyinst'} . "\n\n" . $text{'destfolder'} . " $dest"); + my $inf = $fmain->Label(-justify => "left", -text => __("We are ready to install TeX Live 2009.\nThe following settings will be used.\nIf you want to change something please go back,\notherwise press the \"Install\" button.") . "\n\n" . __('Destination folder:') . " $dest"); $inf->place(-x => 0, -y => 100); - $nxt->configure(-text => $text{'instshort'}, + $nxt->configure(-text => __('Install'), -command => \&wizard_installation_window); - $prv->configure(-text => $text{'prev'}, -command => \&ask_path); + $prv->configure(-text => '< ' . __('Back'), -command => \&ask_path); } sub wizard_installation_window { @@ -419,17 +417,17 @@ sub wizard_installation_window { # Cancel, and the Cancel button disappears $prv->placeForget; $can->placeForget; - $nxt->configure(-text => $text{'cancel'}, + $nxt->configure(-text => __('Cancel'), -command => sub { $return = $MENU_ABORT; $mw->destroy; }); calc_depends(); do_installation(); $::progress->value(110); $return = $MENU_ALREADYDONE; - my $t = $text{'finished'}; + my $t = __("See TEXDIR/index.html for links to documentation.\nThe TeX Live web site (http://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at http://tug.org/usergroups.html."); if (!win32()) { - $t .= "\n\n$text{'finishedpath'}"; + $t .= "\n\n" . __("Add TEXDIR/texmf/doc/man to MANPATH.\nAdd TEXDIR/texmf/doc/info to INFOPATH.\nMost importantly, add TEXDIR/bin/PLATFORM\nto your PATH for current and future sessions."); } - $t .= "\n\n$text{'welcome'}"; + $t .= "\n\n" . __('Welcome to TeX Live!'); $t =~ s/TEXDIR/$::vars{'TEXDIR'}/g; $t =~ s/PLATFORM/$::vars{'this_platform'}/g; $t =~ s/\\n/\n/g; @@ -440,7 +438,7 @@ sub wizard_installation_window { $::progressw->see("end"); $::progressw->tagAdd("centered", $linechar, "end"); $::progressw->tagConfigure("centered", -justify => "center"); - $nxt->configure(-text => $text{'finbut'}, + $nxt->configure(-text => __('Finish'), -command => sub { $mw->destroy; }); } diff --git a/Master/tlpkg/installer/lang/perltk-cs b/Master/tlpkg/installer/lang/perltk-cs deleted file mode 100644 index 4254e0cfb95..00000000000 --- a/Master/tlpkg/installer/lang/perltk-cs +++ /dev/null @@ -1,74 +0,0 @@ -# -# Czech language -# -# Provided by Jano Kula -# -# english strings file for the TeX Live installer -# if you want to contribute a new translation please -# make a copy of this file, name it -# perltk-XX -# where XX is a language code, and translate the strings - -text.title: Instalace TeX Live 2009 -text.basicinfo: Základní informace -text.custom: Další úpravy -text.dirsetup: Nastavení adresářové struktury -text.options: Volby -text.desktop_integration: Systémová integrace -text.change: Změnit -text.toggle: Přepnout -text.install: Instalovat TeX Live -text.finbut: Dokončit -text.quit: Ukončit -text.ok: OK -text.cancel: Zrušit -text.status: Stav -text.changevar: Změnit hodnotu proměnné -text.enterpath: Zadat cestu pro -text.hinthome: (pro %%% použijte ~) -text.selectscheme: Vybrat schéma -text.selectstdcol: Vybrat kolekce k instalaci -text.selectall: Vybrat vše -text.selectnone: Zrušit výběr všech položek -text.selectlang: Vybrat podporu jazyků -text.selectdoc: Vybrat dokumentaci k jednotlivým jazykům -text.createsym: vytvořit symbolické odkazy v standardních adresářích -text.binto: binární soubory do -text.manto: manuálové stránky do -text.infoto: info soubory do -text.selectsys: Vybrat architekturu -text.clicknetbin: Kliknout pro binární soubory ze sítě -text.outof: z -text.collof: kolekce z -text.diskreq: vyžadované místo na disku -text.yes: Ano -text.no: Ne -text.notwritable: (na výchozí umístění nelze zapisovat - prosím změňte!) -text.changetexdir: (prosím, změňte nejdříve TEXDIR!) -text.nolangcol: (nebyla vybrána žádná jazyková kolekce!) -text.finished: Viz TEXDIR/index.html pro odkazy na dokumentaci. Stránky TeX Live\n(http://tug.org/texlive/) obsahují aktualizace a opravy.\nTeX Live je společným projektem uživatelských sdružení TeXu po celém světě;\nzvažte laskavě jeho podporu přihlášením se do sdružení, které vám nejlépe vyhovuje.\nSeznam sdružení je dostupný na http://tug.org/usergroups.html. -text.finishedpath: Přidejte TEXDIR/texmf/doc/man do MANPATH.\nPřidejte TEXDIR/texmf/doc/info do INFOPATH.\nA to nejdůležitější: přidejte TEXDIR/bin/PLATFORM\ndo vaší cesty PATH pro toto i další sezení. - - -text.welcome: Vítejte v TeX Live! - - -label.binsys: Binární systém(y) -label.scheme: Vybrané schéma -label.stdcoll: Standardní kolekce -label.langcoll: Jazykové kolekce -label.texdir: TEXDIR (hlavní adresář TeXu) -label.localdir: TEXMFLOCAL (lokální styly, atd.) -label.sysvardir: TEXMFSYSVAR (lokální konfigurace) -label.sysconfigdir: TEXMFSYSCONFIG (lokální konfigurace) -latel.texmfhome: TEXMFHOME (uživatelské styly) -label.optletter: Použít výchozí velikost papíru "letter" místo "A4" -label.optfmt: Vytvořit všechny formáty -label.optdoc: Instalovat dokumentaci fontů/maker -label.optsrc: Instalovat zdrojové soubory fontů/maker -label.symlink: Instalovat symbolické odkazy do systémových adresářů - -# Local Variables: -# coding: utf-8 -# End: -# vim:set fileencoding=utf-8: # diff --git a/Master/tlpkg/installer/lang/perltk-de b/Master/tlpkg/installer/lang/perltk-de deleted file mode 100644 index c4286ac2cb6..00000000000 --- a/Master/tlpkg/installer/lang/perltk-de +++ /dev/null @@ -1,68 +0,0 @@ -# -# German strings for texlive installer -# Norbert Preining, Peter Ragosch -# -text.title: TeX Live 2009 Installation -text.custom: Weitere Einstellungen -text.basicinfo: Grundlegende Informationen -text.dirsetup: Setup der Ordner -text.options: Optionen -text.desktop_integration: Systemintegration -text.change: Ändern -text.toggle: Ändern -text.install: TeX Live installieren -text.finbut: Ende -text.quit: Abbruch -text.ok: Ok -text.cancel: Abbruch -text.status: Statusausgabe -text.changevar: Ändern der Werte von Variablen -text.enterpath: Bitte geben Sie den Pfad ein für -text.selectscheme: Auswahl des Schema -text.selectstdcol: Auswahl der zu installierenden Paketgruppen -text.selectall: Alle anwählen -text.selectnone: Alle abwählen -text.selectlang: Pakete für verschiedene Sprachen -text.selectdoc: Dokumentation in verschiedenen Sprachen -text.createsym: Erstellen von symbolischen Links in Standardordnern -text.binto: Programme nach -text.manto: Hilfeseiten (*.man) nach -text.infoto: Infoseiten (*.info) nach -text.selectsys: Auswahl der Architekturen -text.clicknetbin: Anwahl der Netzwerk Programme -text.outof: von -text.collof: Paketgruppen von -text.diskreq: benötigter Festplattenplatz -text.yes: Ja -text.no: Nein -text.notwritable: (Vorgabe ohne Schreibberechtigung - bitte ändern!) -text.changetexdir: (Bitte zuerst TEXDIR ändern!) -text.nolangcol: (keine Sprackkollektion ausgewählt!) -text.finished: Für Verweise auf Dokumentation sehen Sie bitte TEXDIR/index.html.\nDie Webseite des TeX Live Projektes (http://tug.org/texlive/)\ninformiert über Updates und Korrekturen.\n\nTeX Live ist ein gemeinsames Projekt der TeX Benutzer Gruppen rund um die Welt;\nbitte überlegen Sie sich der für sie sinnvollsten Gruppe beizutreten. Die\nListe der Gruppen können Sie am Web auf http://tug.org/usergroups.html finden. -text.finishedpath: Bitte fügen Sie TEXDIR/texmf/doc/man zum MANPATH und\nTEXDIR/texmf/doc/info zum INFOPATH hinzu.\nAm wichtigsten, fügen Sie TEXDIR/bin/PLATFORM\nzu Ihrem PATH für die aktuelle und zukünftige Sitzungen hinzu. -text.welcome: Willkomen bei TeX Live! -text.hinthome: (~ steht für %%%) -text.next: Weiter > -text.prev: < Zurück -text.wizhello: Wolkommen zur Installation von TeX Live 2009.\nhttp://tug.org/texlive\n\nDieser Wizard wird Sie durch die Installation führen. -text.destfolder: Installationsverzeichnis: -text.advcustom: Erweiterte Einstellungen -text.pathinfo: Das Installationsverzeichnis enthält die TeX Live installation.\nWie empfehlen das Jahr als letzten Ordner beizubehalten. -text.readyinst: Der Wizard ist nun bereit TeX Live 2009 zu installieren.\nDie folgenden Einstellungen werden benutzt.\nWenn Sie etwas ändern möchten gehen Sie bitte zurück,\nandernfalls drücken Sie auf "Installation". -text.instshort: Installation -text.wizard: Zum Wizard - - -label.scheme: Ausgewähltes Schema -label.stdcoll: Paketgruppen der Makro-Pakete -label.langcoll: Paketgruppen der Sprach-Pakete -label.texdir: TEXDIR (Hauptverzeichnis für TeX) -label.texmfhome: TEXMFHOME (Eigene Makro-Pakete) -label.localdir: TEXMFLOCAL (lokale Makro-Pakete, etc) -label.sysvardir: TEXMFSYSVAR (automatisch erstellte Dateien) -label.sysconfigdir: TEXMFSYSCONFIG (lokale Konfiguration) -label.optletter: Standardmäßig letter anstelle von A4 -label.optfmt: Alle Formatdateien erstellen -label.optdoc: Installation der Font/Macro-Dokumentation -label.optsrc: Installation der Font/Macro-Quellen -label.symlink: Symbolische Links in Systemverzeichnissen diff --git a/Master/tlpkg/installer/lang/perltk-en.sample b/Master/tlpkg/installer/lang/perltk-en.sample deleted file mode 100644 index 54954af2e94..00000000000 --- a/Master/tlpkg/installer/lang/perltk-en.sample +++ /dev/null @@ -1,75 +0,0 @@ -# -# english strings file for the TeX Live installer -# if you want to contribute a new translation please -# make a copy of this file, name it -# perltk-XX -# where XX is a language code, and translate the strings -# -text.advcustom: Advanced customization -text.basicinfo: Basic Information -text.binto: binaries to -text.cancel: Cancel -text.change: Change -text.changetexdir: (please change TEXDIR first!) -text.changevar: Change variable value -text.collof: collections out of -text.createsym: create symlinks in standard directories -text.custom: Further Customization -text.destfolder: Destination folder: -text.dirsetup: Directory setup -text.diskreq: disk space required -text.enterpath: Enter path for -text.finbut: Finish -text.finished: See TEXDIR/index.html for links to documentation.\nThe TeX Live web site (http://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at http://tug.org/usergroups.html. -text.finishedpath: Add TEXDIR/texmf/doc/man to MANPATH.\nAdd TEXDIR/texmf/doc/info to INFOPATH.\nMost importantly, add TEXDIR/bin/PLATFORM\nto your PATH for current and future sessions. -text.hinthome: (use ~ for %%%) -text.infoto: info to -text.install: Install TeX Live -text.instshort: Install -text.manto: manpages to -text.next: Next > -text.no: No -text.nolangcol: (no language collection selected!) -text.notwritable: (default not writable - please change!) -text.ok: Ok -text.options: Options -text.outof: out of -text.pathinfo: The destination folder will contain the installation.\nIt is strongly recommended to keep the year as the last component. -text.prev: < Back -text.quit: Quit -text.readyinst: We are ready to install TeX Live 2009.\nThe following settings will be used.\nIf you want to change something please go back,\notherwise press the "Install" button. -text.selectall: Select All -text.selectdoc: Select language-specific documentation -text.selectlang: Select language support -text.selectnone: Deselect All -text.selectscheme: Select a scheme -text.selectstdcol: Select the collections to be installed -text.selectsys: Select arch-os -text.status: Status output -text.desktop_integration: Desktop Integration -text.title: TeX Live 2009 Installation -text.toggle: Toggle -text.welcome: Welcome to TeX Live! -text.wizard: Go to Wizard -text.wizhello: Welcome to the installation of TeX Live 2009\nhttp://tug.org/texlive\n\nThis wizard will guide you through the installation. -text.yes: Yes - -label.binsys: Binary System(s) -label.langcoll: Language Collections -label.localdir: TEXMFLOCAL (directory for site-wide local files) -label.optdoc: Install font/macro doc tree -label.optfmt: Create all format files -label.optletter: Use letter size instead of A4 by default -label.optsrc: Install font/macro source tree -label.scheme: Selected Scheme -label.stdcoll: Standard Collections -label.symlink: Create symlinks in system directories -label.sysconfigdir: TEXMFSYSCONFIG (directory for local config) -label.sysvardir: TEXMFSYSVAR (directory for autogenerated data) -label.texdir: TEXDIR (the main TeX directory) -label.texmfhome: TEXMFHOME (directory for user-specific files) - -# Local Variables: -# coding: utf-8 -# End: -# vim:set fileencoding=utf-8: # diff --git a/Master/tlpkg/installer/lang/perltk-fr b/Master/tlpkg/installer/lang/perltk-fr deleted file mode 100644 index a8450cd694c..00000000000 --- a/Master/tlpkg/installer/lang/perltk-fr +++ /dev/null @@ -1,64 +0,0 @@ -# -# French strings for texlive installer -# Arthur Reutenauer and Manuel Pégourié-Gonnard -# - -text.title: Installation de TeX Live 2009 -text.basicinfo: Informations générales -text.custom: Personnalisation avancée -text.dirsetup: Choix des répertoires -text.options: Options -text.desktop_integration: Intégration du système -text.change: Changer -text.toggle: (Dé)sélectionner -text.install: Installer TeX Live -text.finbut: Terminer -text.quit: Quitter -text.ok: OK -text.cancel: Annuler -text.status: Action en cours -text.changevar: Changer la valeur de la variable -text.enterpath: Entrer le chemin -text.selectscheme: Choisir un schéma d'installation -text.selectstdcol: Choisir les collections à installer -text.selectall: Tout sélectionner -text.selectnone: Tout désélectionner -text.selectlang: Choisir les langues disponibles -text.selectdoc: Choisir les langues de la documentation -text.createsym: Créer des liens symboliques -text.binto: emplacement des binaires -text.manto: emplacement des pages de manuel -text.infoto: emplacements des pages info -text.onnet: Sur le réseau -text.ondisk: Sur disque -text.selectsys: Choisir la plateforme -text.clicknetbin: Cliquer pour les binaires sur le réseau -text.outof: parmi -text.collof: collections parmi -text.diskreq: espace disque nécessaire -text.yes: Oui -text.no: Non -text.notwritable: (écriture impossible - changer l'emplacement !) -text.changetexdir: (changer d'abord TEXDIR !) -text.nolangcol: (aucune collection de langue sélectionnée !) -text.finished: Voir TEXDIR/index.html pour des liens vers la documentation. Le site web de TeX Live\n(http://tug.org/texlive/) propose toutes les mises à jour et les correctifs.\nTeX Live est un projet commun des groupes d'utilisateurs de TeX à travers le monde;\npourquoi ne pas le supporter en rejoignant le groupe qui vous convient le mieux ?\nLa liste des groupes est disponible sur le web à l'adresse http://tug.org/usergroups.html. -text.finishedpath: Veuillez ajouter TEXDIR/texmf/doc/man (resp. TEXDIR/texmf/doc/info) à votre MANPATH (resp. INFOPATH).\nMais surtout, ajoutez TEXDIR/bin/PLATFORM\n à votre PATH pour cette session et les prochaines. -text.welcome: Bienvenue sous TeX Live ! -text.hinthome: (utilisez ~ pour %%%) - -label.binsys: Plateforme des binaires -label.scheme: Schéma sélectionné -label.stdcoll: Collections standard -label.langcoll: Collections de langues -label.texdir: TEXDIR (répertoire TeX principal) -label.localdir: TEXMFLOCAL (fichiers locaux, etc.) -label.sysvardir: TEXMFSYSVAR (fichiers générés automatiquement) -label.sysconfigdir: TEXMFSYSCONFIG (configuration locale) -label.texmfhome: TEXMFHOME (fichiers personnels) -label.optletter: Utiliser le format letter au lieu d'A4 -label.optfmt: Générer tous les formats -label.optdoc: Installer la documentation -label.optsrc: Installer l'arborescence des sources -label.symlink: Créer les liens dans les répertoires systèmes - -# vim: set fileencoding=utf-8 ts=8 noexpandtab: diff --git a/Master/tlpkg/installer/lang/perltk-it b/Master/tlpkg/installer/lang/perltk-it deleted file mode 100644 index 36d7f94cd68..00000000000 --- a/Master/tlpkg/installer/lang/perltk-it +++ /dev/null @@ -1,82 +0,0 @@ -# -# Traduzione italiana della GUI del TeX Live Installer -# -# A cura di Marco Pallante (marco dot pallante at gmail dot com) -# -# Versione: Beta 1 -# Ultimo aggiornamento: mar 9 set 2008 -# -# NOTE -# Come linee guida per la traduzione, mi sono affidato a quelle -# della traduzione italiana del progetto Mozilla, reperibili da -# http://www.mozillaitalia.it/dizionario_tascabile.html -# -# Ho scelto una traduzione letterale che renda al meglio i messaggi -# in forma impersonale. -# -# Tutti i messaggi sono stati tradotti. -# - -text.title: Installazione di TeX Live 2009 -text.basicinfo: Informazioni di Base -text.custom: Ulteriore Personalizzazione -text.dirsetup: Configurazione delle directory -text.options: Opzioni -text.desktop_integration: Integrazione con il Sistema -text.change: Cambia -text.toggle: Inverti -text.install: Installa TeX Live -text.finbut: Fine -text.quit: Esci -text.ok: Ok -text.cancel: Annulla -text.status: Messaggi di Stato -text.changevar: Cambia il valore della variabile -text.enterpath: Inserisci il percorso per -# `%%%' sarà sostituito dalla directory home. -text.hinthome: (usa ~ per %%%) -text.selectscheme: Seleziona uno Schema -text.selectstdcol: Seleziona le collezioni da installare -text.selectall: Seleziona Tutto -text.selectnone: Deseleziona Tutto -text.selectlang: Seleziona il supporto per la lingua -text.selectdoc: Seleziona la documentazione specifica per una lingua -text.createsym: crea i collegamenti simbolici nelle directory standard -text.binto: eseguibili in -text.manto: pagine di manuale in -text.infoto: pagine info in -text.selectsys: Seleziona l'architettura/sistema operativo -text.clicknetbin: Fare click per gli eseguibili da rete -text.outof: su -text.collof: collezioni su -text.diskreq: spazio su disco richiesto -text.yes: Sì -text.no: No -text.notwritable: (scrittura impossibile - cambiare il percorso!) -text.changetexdir: (è prima necessario cambiare TEXDIR!) -text.nolangcol: (non è stata selezionata alcuna collezione di lingue!) -# Nel prossimo messaggio, ho optato per dare del `tu' all'utente, piuttosto -# che usare la solita forma impersonale. Mi pare che funzioni meglio. -text.finished: Consulta la pagina TEXDIR/index.html per i collegamenti alla documentazione. Il sito web di TeX Live\n(http://tug.org/texlive/) contiene ogni aggiornamento e correzione.\nTeX Live è un progetto congiunto dei gruppi di utenti TeX nel mondo;\npuoi sostenerlo unendoti al gruppo che più ti si addice. La\nlista dei gruppi è disponibile sul web alla pagina http://tug.org/usergroups.html. -text.finishedpath: Aggiungere TEXDIR/texmf/doc/man alla variabile MANPATH.\nAggiungere TEXDIR/texmf/doc/info alla variabile INFOPATH.\nMa, cosa più importante, aggiungere TEXDIR/bin/PLATFORM\nalla propria variabile PATH per questa e le future sessioni. -text.welcome: Benvenuti a TeX Live! - -label.binsys: Eseguibili Installati -label.scheme: Schemi Selezionati -label.stdcoll: Collezioni di Base -label.langcoll: Collezioni di Lingue -label.texdir: TEXDIR (directory principale di TeX) -label.localdir: TEXMFLOCAL (directory per i file locali) -label.sysvardir: TEXMFSYSVAR (directory per i file generati automaticamente) -label.sysconfigdir: TEXMFSYSCONFIG (directory per la configurazione locale) -latel.texmfhome: TEXMFHOME (directory per i file specifici per un utente) -label.optletter: Usa come predefinito il formato di pagina lettera al posto dell'A4 -label.optfmt: Crea tutti i file di formato -label.optdoc: Installa la documentazione per font e macro -label.optsrc: Installa i sorgenti per font e macro -label.symlink: Installa i collegamenti simbolici nelle directory di sistema - -# Local Variables: -# coding: utf-8 -# End: -# vim:set fileencoding=utf-8: # diff --git a/Master/tlpkg/installer/lang/perltk-nl b/Master/tlpkg/installer/lang/perltk-nl deleted file mode 100644 index b0545f6924d..00000000000 --- a/Master/tlpkg/installer/lang/perltk-nl +++ /dev/null @@ -1,59 +0,0 @@ -# -# Dutch strings file for the TeX Live installer -# Siep Kroonenberg - -text.title: TeX Live 2009 Installatie -text.basicinfo: Basisinformatie -text.custom: Verfijning -text.dirsetup: Folders -text.options: Opties -text.desktop_integration: Systeem-integratie -text.change: Wijzig -text.toggle: Wijzig -text.install: Installeer TeX Live -text.finbut: Klaar -text.quit: Afbreken -text.ok: Ok -text.cancel: Afbreken -text.status: Uitvoer -text.changevar: Nieuwe waarde -text.enterpath: Pad voor -text.hinthome: (gebruik ~ voor %%%) -text.selectscheme: Kies schema -text.selectstdcol: Kies standaard-collecties -text.selectall: Kies alles -text.selectnone: Kies niets -text.selectlang: Keuze van talen -text.selectdoc: Talen voor documentatie -text.createsym: Maak symlinks naar standaard-folders -text.binto: programma's naar -text.manto: manpages naar -text.infoto: info naar -text.selectsys: Kies platform(s) -text.clicknetbin: Klik voor netwerk programma's -text.outof: van -text.collof: collecties van -text.diskreq: benodigde schijfruimte -text.yes: Ja -text.no: Nee -text.notwritable: (geen schrijf-toegang - wijzig!) -text.changetexdir: (TEXDIR eerst veranderen!) -text.nolangcol: (geen taal-collectie geselecteerd!) -text.finished: Zie TEXDIR/index.html voor links naar documentatie. De TeX Live web site\n(http://tug.org/texlive/) bevat eventuele updates en correcties.\nTeX Live is een gezamenlijk projekt van TeX gebruikersgroepen wereldwijd;\noverweeg ondersteuning door lid te worden van zo'n groep.\nDe lijst van gebruikersgroepen staat op http://tug.org/usergroups.html. -text.finishedpath: Voeg TEXDIR/texmf/doc/man toe aan MANPATH.\nVoeg TEXDIR/texmf/doc/info toe aan INFOPATH.\nEn het belangrijkste: voeg TEXDIR/bin/PLATFORM\ntoe aan PATH voor de huidige en voor toekomstige sessies. -text.welcome: Welkom op TeX Live! - -label.binsys: Platform(s) -label.scheme: Gekozen schema -label.stdcoll: Standaard collecties -label.langcoll: Taal-collecties -label.texdir: TEXDIR (hoofd TeX-folder) -label.localdir: TEXMFLOCAL (lokale stijlen etc.) -label.sysvardir: TEXMFSYSVAR (automatisch gegenereerde bestanden) -label.sysconfigdir: TEXMFSYSCONFIG (lokale configuratie) -label.texmfhome: TEXMFHOME (eigen macros etc.) -label.optletter: Gebruik default letter inplaats van A4 -label.optfmt: Genereer alle format bestanden -label.optdoc: Installeer font/macro documentatie -label.optsrc: Installeer font/macro bronbestanden -label.symlink: Symlinks naar standaard-folders diff --git a/Master/tlpkg/installer/lang/perltk-pl b/Master/tlpkg/installer/lang/perltk-pl deleted file mode 100644 index 0e33adb7a0e..00000000000 --- a/Master/tlpkg/installer/lang/perltk-pl +++ /dev/null @@ -1,58 +0,0 @@ -# Polish strings for texlive installer -# J.B.L. & StaW -# -text.title: Instalowanie TeX Live 2009 -text.custom: Dalsze ustawienia -text.basicinfo: Informacje podstawowe -text.dirsetup: Wybór folderów -text.options: Opcje -text.desktop_integration: Integracja systemu -text.change: Zmień -text.toggle: Zmień -text.install: Zainstaluj TeX Live -text.finbut: Zakończ -text.quit: Anuluj -text.ok: Ok -text.cancel: Anuluj -text.status: Informacja o przebiegu -text.changevar: Zmień wartości zmiennych -text.enterpath: Podaj ścieżkę dla -text.selectscheme: Wybór schematu -text.selectstdcol: Wybór kolekcji do zainstalowania -text.selectall: Wybierz wszystko -text.selectnone: Wyłącz wszystko -text.selectlang: Wybór obsługi języka -text.selectdoc: Wybór dokumentacji w języku -text.createsym: Ustalenie dowiązań symbolicznych w standardowych folderach -text.binto: Programy według -text.manto: Strony pomocy według -text.infoto: Strony informacyjne według -text.selectsys: Wybór systemu operacyjnego -text.clicknetbin: Kliknij aby uzyskać programy z sieci -text.outof: spośród -text.collof: Kolekcje spośród -text.diskreq: wymagana przestrzeń na dysku -text.yes: Tak -text.no: Nie -text.notwritable: (domyślnie nie do zapisu - proszę zmienić!) -text.changetexdir: (proszę zmienić najpierw TEXDIR!) -text.nolangcol: (nie zaznaczono żadnej kolekcji językowej!) -text.finished: Patrz TEXDIR/index.html z odnośnikami do dokumentacji. Na stronie TeX Live \n(http://tug.org/texlive/) znajdziesz aktualizacje i poprawki.\nTeX Live jest zbiorowym projektem grup użytkowników TeX-a z całego świata;\nproszę rozważyć wsparcie poprzez przystąpienie do grupy.\nLista grup dostępna jest na stronie http://tug.org/usergroups.html. -text.finishedpath: Dodaj TEXDIR/texmf/doc/man do MANPATH.\nDodaj TEXDIR/texmf/doc/info do INFOPATH.\nNajważniejsze, dodaj TEXDIR/bin/PLATFORM\ndo zmiennej PATH dla bieżącej i przyszłych sesji. -text.welcome: TeX Live wita! -text.hinthome: (use ~ for %%%) - -label.binsys: Pakiet(y) programów -label.scheme: Wybrany schemat instalacji -label.stdcoll: Kolekcje standardowe -label.langcoll: Kolekcje językowe -label.texdir: TEXDIR (główny folder dla instalacji) -label.localdir: TEXMFLOCAL (style lokalne itp) -label.sysvardir: TEXMFSYSVAR (pliki generowane automatycznie) -label.sysconfigdir: TEXMFSYSCONFIG (lokalne pliki konfiguracyjne) -label.optletter: Domyślny format papieru letter zamiast A4 -label.optfmt: Wygenerować wszystkie pliki formatów -label.optdoc: Instalowanie dokumentacji fontu/makr -label.optsrc: Instalowanie plików źródłowych fontu/makr -label.symlink: Dowiązania symboliczne w folderach systemowych -label.texmfhome: TEXMFHOME (prywatne pliki użytkownika) diff --git a/Master/tlpkg/installer/lang/perltk-sl b/Master/tlpkg/installer/lang/perltk-sl deleted file mode 100644 index 5db2d977977..00000000000 --- a/Master/tlpkg/installer/lang/perltk-sl +++ /dev/null @@ -1,61 +0,0 @@ -# -# Slovenian strings for texlive installer -# Mojca Miklavec -# - -text.title: Namestitev TeX Live 2009 -text.basicinfo: Osnovne nastavitve -text.custom: Napredne nastavitve -text.dirsetup: Nastavitve imenikov -text.options: Ostale možnosti -text.desktop_integration: Integracija v sistem -text.change: Spremeni -text.toggle: Vključi/Izključi -text.install: Namesti TeX Live -text.finbut: Konec -text.quit: Izhod -text.ok: V redu -text.cancel: Prekliči -text.status: Statusna vrstica -text.changevar: Nova vrednost spremenljivke -text.enterpath: Nastavite pot do -# below, `%%%' will be replaced by home directory. -text.hinthome: (uporabite ~ za %%%) -text.selectscheme: Izberite shemo za namestitev -text.selectstdcol: Zbirke, ki naj se namestijo -text.selectall: Izberi vse -text.selectnone: Briši izbor -text.selectlang: Jezikovni paketi -text.selectdoc: Prevodi dokumentacije -text.createsym: ustvari simbolne povezave v standardnih imenikih -text.binto: binarne datoteke v -text.manto: man strani v -text.infoto: info strani v -text.selectsys: Izbrane platforme -text.clicknetbin: Kliknite za programe z mreže -text.outof: od -text.collof: zbirk od -text.diskreq: potreben prostor na disku -text.yes: Da -text.no: Ne -text.notwritable: (Spremenite imenik - pisanje v izbrani imenik je zaščiteno!) -text.changetexdir: (Spremenite TEXDIR!) -text.nolangcol: (Nobena jezikovna zbirka ni izbrana!) -text.finished: Glej TEXDIR/index.html za povezave do dokumentacije. Na domači strani\n(http://tug.org/texlive/) lahko najdete posodobitve in popravke.\nTeX Live je skupni projekt društev uporabnikov TeX-a širom sveta;\npodprete ga lahko s pristopom k enemu izmed njih. \nSeznam društev uporabnikov TeX-a je na voljo na http://tug.org/usergroups.html. -text.finishedpath: Dodajte TEXDIR/texmf/doc/man v MANPATH,\n TEXDIR/texmf/doc/info v INFOPATH,\nše zlasti pa ne pozabite dodati TEXDIR/bin/PLATFORM v PATH. -text.welcome: Dobrodošli v TeX Live-u! - -label.binsys: Izbrane platforme -label.scheme: Izbrana shema -label.stdcoll: Standardne zbirke -label.langcoll: Podpora jezikom -label.texdir: TEXDIR (vrhnji TeX direktorij) -label.localdir: TEXMFLOCAL (lokalne datoteke) -label.sysvardir: TEXMFSYSVAR (samodejno generirane datoteke) -label.sysconfigdir: TEXMFSYSCONFIG (lokalna konfiguracija) -label.texmfhome: TEXMFHOME (uporabnikove datoteke) -label.optletter: Privzeto uporabi format letter namesto A4 -label.optfmt: Generiraj vse formate -label.optdoc: Namesti dokumentacijo za pisave in makre -label.optsrc: Namesti izvorno kodo za pisave in makre -label.symlink: Namesti simbolne povezave v sistemske mape diff --git a/Master/tlpkg/installer/lang/perltk-vi b/Master/tlpkg/installer/lang/perltk-vi deleted file mode 100644 index 14ec6aa5e5b..00000000000 --- a/Master/tlpkg/installer/lang/perltk-vi +++ /dev/null @@ -1,73 +0,0 @@ -# -# $Id: perltk-vn.sample 11 2008-08-05 15:47:05Z kyanh $ -# -# Translated from English, by Ky Anh <xkyanh@gmail.com> -# Special thanks to texer <hanhnguyenvan@gmail.com> for feedback -# and to Reinhard Kotucha <reinhard.kotucha@web.de> for some comments -# -# english strings file for the TeX Live installer -# if you want to contribute a new translation please -# make a copy of this file, name it -# perltk-XX -# where XX is a language code, and translate the strings - -text.title: Cài đặt TeX Live 2009 -text.welcome: Chào mừng đến với TeX Live 2009 -text.basicinfo: Thông tin cơ bản -text.custom: Tinh chỉnh khác -text.dirsetup: Thư mục cài đặt -text.options: Tùy chọn -text.desktop_integration: Tích hợp hệ thống -text.change: Đổi -text.toggle: Toggle -text.install: Cài đặt TeX Live -text.finished: Xem TEXDIR/index.html để biết liên kết đến tài liệu. Tại trang web của TeX Live ở\nhttp://tug.org/texlive/ có các thông tin cập nhật và sửa lỗi.\nDự án TeX Live là có sự tham gia của nhiều nhóm người dùng TeX trên khắp thế giới;\nvui lòng hỗ trợ dự án bằng cách tham gia vào nhóm thích hợp nhất với bạn. Danh sách\ncác nhóm người dùng có thể tìm thấy tại http://tug.org/usergroups.html. -text.finishedpath: Thêm TEXDIR/texmf/doc/man vào MATHPATH\nThêm TEXDIR/texmf/doc/info vào INFOPATH.\nQuan trọng nhất, thêm EXDIR/bin/PLATFORM\nvào đường dẫn đến tập tin thi hành trên hệ thống của bạn. -text.finbut: Kết thúc -text.quit: Thoát -text.ok: Ok -text.cancel: Bỏ qua -text.status: Trạng thái xuất -text.changevar: Đổi giá trị biến -text.enterpath: Nhập đường dẫn cho -text.hinthome: (dùng ký tự ~ để chỉ %%%) -text.selectscheme: Chọn một kiểu (scheme) -text.selectstdcol: Chọn nhóm sẽ được cài đặt -text.selectall: Chọn tất cả -text.selectnone: Không chọn tất cả -text.selectlang: Chọn ngôn ngữ hỗ trợ -text.selectdoc: Chọn tài liệu ứng với ngôn ngữ -text.createsym: Tạo liên kết trong thư mục chuẩn -text.binto: tập tin thi hành vào -text.manto: tập tin hướng dẫn (man) vào -text.infoto: tập tin hướng dẫn (info) vào -text.selectsys: Chọn kiến trúc hệ thống -text.clicknetbin: Click chuột để chọn net bin -text.outof: trên -text.collof: tập hợp trong tổng số -text.diskreq: dung lượng đĩa cần thiết -text.yes: Đồng ý -text.no: Không đồng ý -text.notwritable: (vui lòng đổi: mặc định không ghi được!) -text.changetexdir: (vui lòng đổi thư mục TEXDIR trước!) -text.nolangcol: (chưa chọn ngôn ngữ nào!) - -label.binsys: Hệ thống nhị phân -label.scheme: Kiểu (scheme) đã chọn -label.stdcoll: Các tập hợp chuẩn -label.langcoll: Tập hợp ngôn ngữ -label.texdir: TEXDIR (thư mục TeX chính) -label.localdir: TEXMFLOCAL (gói cục bộ,...) -label.sysvardir: TEXMFSYSVAR (cấu hình cục bộ) -label.sysconfigdir: TEXMFSYSCONFIG (cấu hình cục bộ) -latel.texmfhome: TEXMFHOME (gói cá nhân) -label.optletter: Mặc định dùng kiểu Letter thay vì A4 -label.optfmt: Tạo mọi tập tin định dạng -label.optdoc: Cài đặt font/macro từ thư mục doc -label.optsrc: Cài đặt font/macro từ thư mục source -label.symlink: Cài đặt liên kết vào các thư mục hệ thống - -# Local Variables: -# coding: utf-8 -# End: -# vim:set encoding=utf-8 fileencoding=utf-8: # diff --git a/Master/tlpkg/installer/lang/perltk-zh-cn b/Master/tlpkg/installer/lang/perltk-zh-cn deleted file mode 100644 index 4893ae3d746..00000000000 --- a/Master/tlpkg/installer/lang/perltk-zh-cn +++ /dev/null @@ -1,59 +0,0 @@ -#
-# Simplified Chinese strings for texlive installer
-# Hongyi zhao
-#
-
-text.title: TeX Live 2009 安装
-text.basicinfo: 基本信息
-text.custom: 进一步定制
-text.dirsetup: 目录设置
-text.options: 选项
-text.desktop_integration: 系统集成
-text.change: 改变
-text.toggle: 切换
-text.install: 安装 TeX Live
-text.finbut: 完成
-text.quit: 退出
-text.ok: 确定
-text.cancel: 取消
-text.status: 安装进度
-text.changevar: 更改变量的值
-text.enterpath: 输入路径变量
-text.hinthome: (使用 ~ 作为 %%%)
-text.selectscheme: 选择一个方案
-text.selectstdcol: 选择要安装的组件
-text.selectall: 全部选择
-text.selectnone: 取消全部选择
-text.selectlang: 选择语言支持
-text.selectdoc: 选择相关语言的文档
-text.createsym: 在标准位置创建符号链接
-text.binto: 程序文件安装位置
-text.manto: 手册文档(*.man)安装位置
-text.infoto: 超文本文档(*.info)安装位置
-text.selectsys: 选择系统架构
-text.outof: 来自
-text.collof: 集合来自
-text.diskreq: 需要的磁盘空间
-text.yes: 是
-text.no: 否
-text.notwritable: (默认位置不可写 - 请做相应更改!)
-text.changetexdir: (请首先改变 TEXDIR !)
-text.nolangcol: (没有选择语言集合!)
-text.finished: 请参考 TEXDIR/index.html 来获得文档链接。TeX Live 官方网站\n(http://tug.org/texlive/) 包含所有相关的更新和修正。\nTeX Live 是全世界TeX用户组的一个合作项目 ;\n请考虑加入合适的TeX用户组来支持该项目。从\nhttp://tug.org/usergroups.html 可以获得TeX用户组的列表。
-text.finishedpath: 添加 TEXDIR/texmf/doc/man 到 MANPATH.\n添加 TEXDIR/texmf/doc/info 到 INFOPATH.\n最为重要的是,请添加 TEXDIR/bin/PLATFORM\n到你的 PATH 变量。
-text.welcome: 欢迎进入 TeX Live 的世界!
-
-label.binsys: 二进制系统
-label.scheme: 选择安装方案
-label.stdcoll: 标准安装
-label.langcoll: 语言集合
-label.texdir: TEXDIR (主 TeX 目录)
-label.localdir: TEXMFLOCAL (存放本地格式文件等)
-label.sysvardir: TEXMFSYSVAR (存放本地配置)
-label.sysconfigdir: TEXMFSYSCONFIG (存放本地配置)
-latel.texmfhome: TEXMFHOME (存放用户格式文件)
-label.optletter: 默认使用 letter 而不是 A4
-label.optfmt: 创建所有格式文件
-label.optdoc: 安装字体/宏包文档目录树
-label.optsrc: 安装字体/宏包源码目录树
-label.symlink: 创建指向系统目录的符号链接
diff --git a/Master/tlpkg/installer/lang/perltk-zh-tw b/Master/tlpkg/installer/lang/perltk-zh-tw deleted file mode 100644 index d6f39a9249b..00000000000 --- a/Master/tlpkg/installer/lang/perltk-zh-tw +++ /dev/null @@ -1,59 +0,0 @@ -#
-# Traditional Chinese strings for texlive installer
-# Hongyi zhao
-#
-
-text.title: TeX Live 2009 安裝
-text.basicinfo: 基本資訊
-text.custom: 進一步定制
-text.dirsetup: 目錄設置
-text.options: 選項
-text.desktop_integration: 系統集成
-text.change: 改變
-text.toggle: 切換
-text.install: 安裝 TeX Live
-text.finbut: 完成
-text.quit: 退出
-text.ok: 確定
-text.cancel: 取消
-text.status: 安裝進度
-text.changevar: 更改變數的值
-text.enterpath: 輸入路徑變數
-text.hinthome: (使用 ~ 作為 %%%)
-text.selectscheme: 選擇一個方案
-text.selectstdcol: 選擇要安裝的組件
-text.selectall: 全部選擇
-text.selectnone: 取消全部選擇
-text.selectlang: 選擇語言支援
-text.selectdoc: 選擇相關語言的文檔
-text.createsym: 在標準位置創建符號鏈結
-text.binto: 程式檔安裝位置
-text.manto: 手冊文檔(*.man)安裝位置
-text.infoto: 超文本文檔(*.info)安裝位置
-text.selectsys: 選擇系統架構
-text.outof: 來自
-text.collof: 集合來自
-text.diskreq: 需要的磁碟空間
-text.yes: 是
-text.no: 否
-text.notwritable: (默認位置不可寫 - 請做相應更改!)
-text.changetexdir: (請首先改變 TEXDIR !)
-text.nolangcol: (沒有選擇語言集合!)
-text.finished: 請參考 TEXDIR/index.html 來獲得文檔鏈結。TeX Live 官方網站\n(http://tug.org/texlive/) 包含所有相關的更新和修正。\nTeX Live 是全世界TeX用戶組的一個合作專案 ;\n請考慮加入合適的TeX用戶組來支持該項目。從\nhttp://tug.org/usergroups.html 可以獲得TeX用戶組的列表。
-text.finishedpath: 添加 TEXDIR/texmf/doc/man 到 MANPATH.\n添加 TEXDIR/texmf/doc/info 到 INFOPATH.\n最為重要的是,請添加 TEXDIR/bin/PLATFORM\n到你的 PATH 變數。
-text.welcome: 歡迎進入 TeX Live 的世界!
-
-label.binsys: 二進位系統
-label.scheme: 選擇安裝方案
-label.stdcoll: 標準安裝
-label.langcoll: 語言集合
-label.texdir: TEXDIR (主 TeX 目錄)
-label.localdir: TEXMFLOCAL (存放本地格式檔等)
-label.sysvardir: TEXMFSYSVAR (存放本地配置)
-label.sysconfigdir: TEXMFSYSCONFIG (存放本地配置)
-latel.texmfhome: TEXMFHOME (存放用戶格式檔)
-label.optletter: 默認使用 letter 而不是 A4
-label.optfmt: 創建所有格式檔
-label.optdoc: 安裝字體/巨集包文檔目錄樹
-label.optsrc: 安裝字體/巨集包源碼目錄樹
-label.symlink: 創建指向系統目錄的符號鏈結
|