Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / Psh / Locale / Default.pm
CommitLineData
86530b38
AT
1package Psh::Locale::Default;
2
3#
4# Main part of the module.
5#
6
7my %sig_description = (
8 'TTOU' => 'TTY output',
9 'TTIN' => 'TTY input',
10 'KILL' => 'killed',
11 'FPE' => 'floating point exception',
12 'SEGV' => 'segmentation fault',
13 'PIPE' => 'broken pipe',
14 'BUS' => 'bus error',
15 'ABRT' => 'aborted',
16 'ILL' => 'illegal instruction',
17 'TSTP' => 'stop typed at TTY',
18 'INT' => 'interrupt character typed'
19 );
20$Psh::text{sig_description}=\%sig_description;
21
22while(<DATA>) {
23 next if /^\#/;
24 chomp;
25 if( /^([a-z_]+)=(.*)$/) {
26 my $key= $1;
27 my $val= $2;
28 if( $val=~/\\$/) {
29 $val=~ s/\\$//;
30 } else {
31 $val.="\n";
32 }
33 $val=~ s/\\n/\n/g;
34 $val=~ s/\\(.)/$1/g;
35 $Psh::text{$key}=$val;
36 }
37}
38
391;
40
41__DATA__
42# Misc texts
43exec_failed=Error - Could not exec %1.
44fork_failed=Error - Could not fork.
45builtin_failed=Internal Error - Could not load builtin - %1
46no_command=Command not found or syntax wrong: %1
47simulate_perl_w=Simulating -w switch and strict
48no_r_flag=If you intended to use a different rc file, please now use the -f switch.\n -r is now reserved for 'restricted mode'.
49perm_denied=%2: %1: Permission denied.
50no_such_dir=%2: %1: No such directory.
51no_such_builtin=%2: %1: No such builtin.
52no_such_strategy=%2: Unknown strategy '%1'.
53no_jobcontrol=Your system does not support job control
54interal_error=Internal psh error. psh would have died now.
55input_incomplete=%2: End of input during incomplete expression %1
56clueless=%2: Can't determine how to evaluate '%1'.
57psh_echo_wrong=%1: WARNING: $Psh::echo is not a CODE reference or an ordinary scalar.
58psh_result_array_wrong=%1: WARNING: $Psh::result_array is neither an ARRAY reference or a string.
59cannot_read_script=%2: Cannot read script '%1'
60cannot_open_script=%2: Cannot open script '%1'
61redirect_file_missing=%2: Error: Filename missing after redirect '%1'.
62evaluates_under=%1 evaluates under strategy %2 by %3
63
64# Various builtins
65unalias_noalias=unalias: '%1' not an alias
66bi_readline_header=Using Readline %1, with features:
67help_header=psh supports following built in commands
68no_help=Sorry, help for builtin %1 is not available
69usage_setenv=Usage: setenv <variable> <value>
70usage_export=Usage: export <variable> [=] <value>\n export <variable
71usage_kill=Usage: kill <sig> <pid>| -l
72usage_delenv=Usage: delenv <var> [<var2> <var3> ...]
73bi_export_tied=Variable \$%1 is already tied via %2, cannot export.
74bi_kill_no_such_job=kill: No such job %1
75bi_kill_no_such_jobspec=kill: Unknown job specification %1
76bi_kill_error_sig=kill: Error sending signal %2 to process %1
77bi_which_no_command=which: requires a command or command line as argument
78bi_alias_none=No aliases.
79bi_alias_cant_a=Cannot alias '-a'.
80bi_jobs_none=No jobs.
81bi_strategy_list=Following strategies are used:
82bi_strategy_wrong_arg=Wrong argument for builtin strategy.
83bi_strategy_notfound=Could not find strategy %1.
84bi_fc_notfound=no command found.
85bi_pshtoken_dumper=The pshtokenize command needs the Data::Dumper module!!
86bi_builtin_inactive=The strategy 'built_in' is currently not active.
87bi_bsdresource=Please install the BSD::Resource package. This builtin will not work otherwise!
88bi_tieopt_badtype_array=Option %1 is not an array
89bi_tieopt_badtype_hash=Option %1 is not a hash
90bi_tieopt_badtype_scalar=Option %1 is not a scalar
91bi_tieopt_fetch_badtype_scalar=Option %1 is no longer a scalar
92bi_tieopt_fetch_badtype_hash=Option %1 is no longer a hash
93bi_tieopt_fetch_badtype_array=Option %1 is no longer an array
94
95
96# Stuff for Job handling
97done=done\
98terminated=terminated\
99stopped=stopped\
100restart=restart\
101foreground=foreground\
102error=error\
103
104# Readline
105readline_interrupted}=\nInterrupted!
106readline_error=Readline did not start up properly:\n%1
107no_readline=No Readline module available. Please install Term::ReadLine::Perl
108old_gnu_readline=Your version of Term::ReadLine::Gnu is %1 which is less than 1.06. This is a known to be buggy version. Please upgrade.\n
109
110# Prompt stuff
111prompt_wrong_type=%1: Warning: $Psh::prompt is neither a SCALAR nor a CODE reference.
112prompt_unknown_escape=%2: Warning: $Psh::prompt or PS1/2 environment variables contain unknown escape sequence '\\%1'.
113prompt_expansion_error=%3: Warning: Expansion of '\\%1' in prompt string yielded\nstring containing '%2'. Stripping escape sequence from\nsubstitution.
114
115# Psh::OS::Win
116no_libwin32=libwin32 required (available as CPAN bundle or with ActivePerl distribution
117
118# Psh::OS::Unix
119unix_received_strange_sig=Received SIG%1 - ignoring
120
121__END__
122
123=head1 NAME
124
125Psh::Locale::Default - containing translations for default locale
126
127
128=head1 SYNOPSIS
129
130 use Psh::Locale::Default;
131
132
133
134=head1 DESCRIPTION
135
136This module contains defaults for all of the internationalized
137strings in the Perl Shell.
138
139
140=head2 Translating Signal Names
141
142The text below can be used with Babelfish to generate the signal
143descriptions for translations.
144
145 tty output
146
147 tty input
148
149 killed
150
151 floating point exception
152
153 segmentation fault
154
155 broken pipe
156
157 bus error
158
159 aborted
160
161 illegal instruction
162
163 stop typed at TTY
164
165 interrupt character typed
166
167
168=head2 Translating Messages
169
170The text below was used with Babelfish to generate the messages
171for translations.
172
173 done.
174
175 terminated.
176
177 stopped.
178
179 restart.
180
181 foreground.
182
183 Error: "Foo" failed.
184
185 Simulating option "W" and "strict".
186
187 Permission denied.
188
189 No such directory.
190
191 No such builtin.
192
193 Interrupted!
194
195 "Readline" did not start up properly.
196
197 No "Readline" module available. Please install "Term::ReadLine::Perl".
198
199 "%1" is not an alias.
200
201 Using "Readline": "%1", with features "X" and "Y".
202
203 Your system does not support job control.
204
205 "psh" supports the following built-in commands.
206
207 Sorry, help for builtin %1 is not available.
208
209 Warning: Expansion of "%1" in prompting message
210 yielded text containing "%2" .
211 Removing escape sequence from substitution.
212
213 Warning: "Foo" contains unknown escape sequence.
214
215 "libwin32" required (available as "CPAN" bundle or with "ActivePerl" distribution.
216
217
218=head1 AUTHOR
219
220Markus Peter, warp@spin.de
221
222=head1 SEE ALSO
223
224Psh::Locale::*
225
226