You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
9.0 KiB
113 lines
9.0 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<!-- |
|
Company: Alteeve's Niche, Inc. |
|
License: GPL v2+ |
|
Author: Madison Kelly <mkelly@alteeve.ca> |
|
|
|
This is the AN::Tools master 'words' file. |
|
--> |
|
|
|
<words> |
|
<meta version="3.0.0" languages="en_CA,jp"/> |
|
<!-- Canadian English --> |
|
<language name="en_CA" long_name="Canadian English" description="Created by Madison Kelly (mkelly@alteeve.ca) for the AN::Tools suite of perl modules"> |
|
|
|
<!-- Log entries --> |
|
<key name="log_0001">Starting: [#!variable!program!#].</key> |
|
<key name="log_0002"> |
|
This is a "test" entry. |
|
|
|
It is multiple lines with single quotes ['] and double-quotes (") and here are random brackets{!}. |
|
|
|
It also has replacement variables: [#!variable!first!#] and [#!variable!second!#]. |
|
</key> |
|
<key name="log_0003">This is a test log entry that contains a secret [#!variable!password!#]!</key> |
|
<key name="log_0004">This is a test log entry at log level 2.</key> |
|
<key name="log_0005">This is a test log entry at log level 3.</key> |
|
<key name="log_0006">This is a test log entry at log level 4.</key> |
|
<key name="log_0007">This is a test critical log entry.</key> |
|
<key name="log_0008">This is a test error log entry.</key> |
|
<key name="log_0009">This is a test alert log entry.</key> |
|
<key name="log_0010">This is a test emergency log entry.</key> |
|
<key name="log_0011">About to run the shell command: [#!variable!shell_call!#]</key> |
|
<key name="log_0012">About to read the file: [#!variable!shell_call!#]</key> |
|
<key name="log_0013">About to write the file: [#!variable!shell_call!#]</key> |
|
<key name="log_0014">[ Error ] - There was a problem running the shell command: [#!variable!shell_call!#]. The error was: [#!variable!error!#].</key> |
|
<key name="log_0015">[ Error ] - There was a problem reading the file: [#!variable!shell_call!#]. The error was: [#!variable!error!#].</key> |
|
<key name="log_0016">[ Error ] - There was a problem writing the file: [#!variable!shell_call!#]. The error was: [#!variable!error!#].</key> |
|
<key name="log_0017">Output: [#!variable!line!#].</key> |
|
<key name="log_0018">About to open the directory: [#!variable!directory!#]</key> |
|
<key name="log_0019">Variables:</key> |
|
<key name="log_0020"><![CDATA[[ Error ] - The module Storage->read_file() was called without a 'file' parameter, or the parameter was empty.]]></key> |
|
<key name="log_0021"><![CDATA[[ Error ] - The module Storage->read_file() was asked to read the file: [#!variable!file!#], but that file does not exist.]]></key> |
|
<key name="log_0022"><![CDATA[[ Error ] - The module Storage->read_file() was asked to read the file: [#!variable!file!#] which exists but can't be read.]]></key> |
|
<key name="log_0023">Reading: [#!variable!line!#].</key> |
|
<key name="log_0024"><![CDATA[[ Error ] - No template file passed to Template->get().]]></key> |
|
<key name="log_0025"><![CDATA[[ Error ] - No requested template file: [#!variable!source!#] does not exist. Is it missing in the active skin?]]></key> |
|
<key name="log_0026"><![CDATA[[ Error ] - The requested template file: [#!variable!source!#] is not readable. Please check that it is readable by the webserver user: [#!variable!user_name!#]]]></key> |
|
<key name="log_0027"><![CDATA[[ Error ] - No template name passed to Template->get().]]></key> |
|
<key name="log_0028">Successfully read the words file: [#!variable!file!#].</key> |
|
<key name="log_0029"><![CDATA[[ Error ] - Storage->find() failed to find: [#!variable!file!#].]]></key> |
|
<key name="log_0030"><![CDATA[[ Warning ] - Template->skin() was asked to set the skin: [#!variable!set!#], but the source directory: [#!variable!skin_directory!#] doesn't exist. Ignoring.]]></key> |
|
<key name="log_0031"><![CDATA[[ Warning ] - Storage->search_directories() was passed the array: [#!variable!array!#], but it wasn't actually an array. Using \@INC + path::directories::tools + \$ENV{'PATH'} for the list of directories to search instead.]]></key> |
|
<key name="log_0032"><![CDATA[[ Warning ] - Words->read()' called without a file name to read.]]></key> |
|
<key name="log_0033"><![CDATA[[ Warning ] - Words->read()' asked to read: [#!variable!file!#] which was not found.]]></key> |
|
<key name="log_0034"><![CDATA[[ Warning ] - AN::Tools::Words->read()' asked to read: [#!variable!file!#] which was not readable by: [#!variable!user!#] (uid/euid: [#!variable!uid!#]).]]></key> |
|
<key name="log_0035"><![CDATA[[ Warning ] - The config file: [#!variable!file!#] appears to have a malformed line: [#!variable!count!#:#!variable!line!#].]]></key> |
|
<key name="log_0036"><![CDATA[[ Error ] - The module Storage->change_mode() was called without a 'target' parameter, or the parameter was empty.]]></key> |
|
<key name="log_0037"><![CDATA[[ Error ] - The module Storage->change_mode() was called without a 'mode' parameter, or the parameter was empty.]]></key> |
|
<key name="log_0038"><![CDATA[[ Error ] - The module Storage->change_mode() was called without an invalid 'mode' parameter. It should have been three or four digits, but: [#!variable!mode!#] was passed.]]></key> |
|
<key name="log_0039"><![CDATA[[ Error ] - The module Storage->change_owner() was called without a 'target' parameter, or the parameter was empty.]]></key> |
|
<key name="log_0040"><![CDATA[[ Error ] - The module Storage->write_file() was asked to write the file: [#!variable!file!#] but it already exists and 'overwrite' was not set. Aborting.]]></key> |
|
<key name="log_0041"><![CDATA[[ Error ] - The module Storage->write_file() was asked to write the file: [#!variable!file!#] but it is not a full path. Aborting.]]></key> |
|
<key name="log_0042"><![CDATA[[ Error ] - The module Words->string() was asked to process the string: [#!variable!string!#] which has insertion variables, but nothing was passed to the 'variables' parameter.]]></key> |
|
<key name="log_0043"><![CDATA[[ Error ] - The module System->call() was called but 'shell_call' was not passed or was empty.]]></key> |
|
<key name="log_0044"><![CDATA[[ Error ] - The module Storage->copy_file() was called but 'source' was not passed or was empty.]]></key> |
|
<key name="log_0045"><![CDATA[[ Error ] - The module Storage->copy_file() was called but 'target' was not passed or was empty.]]></key> |
|
<key name="log_0046"><![CDATA[[ Error ] - The module Storage->copy_file() was asked to copy: [#!variable!source!#] to: [#!variable!target!#], but the target already exists and 'overwrite' wasn't specified, so aborting.]]></key> |
|
<key name="log_0047"><![CDATA[[ Error ] - The module Log->level() was passed an invalid log level: [#!variable!set!#]. Only '0', '1', '2', '3' or '4' are valid.]]></key> |
|
<key name="log_0048"><![CDATA[[ Warning ] - Testing of AN::Tools is beginning. This will generate warnings and alerts and are not a concern.]]></key> |
|
<key name="log_0049"><![CDATA[[ Warning ] - Testing of AN::Tools is complete.]]></key> |
|
|
|
<!-- Test words. Do NOT change unless you update 't/Words.t' or tests will needlessly fail. --> |
|
<key name="t_0000">Test</key> |
|
<key name="t_0001">Test replace: [#!variable!test!#].</key> |
|
<key name="t_0002">Test Out of order: [#!variable!second!#] replace: [#!variable!first!#].</key> |
|
<!-- Do not use 't_0003'. It is used to test failures caused by calling a non-existent key. --> |
|
<key name="t_0004">#!FREE!#</key> |
|
<key name="t_0005"> |
|
This is a multi-line test string with various items to insert. |
|
|
|
It also has some #!invalid!# replacement #!keys!# to test the escaping and restoring. |
|
|
|
Here is the default output language: [#!data!defaults::languages::output!#] |
|
Here we will inject 't_0000': [#!string!t_0001!#] |
|
Here we will inject 't_0002' with its embedded variables: [#!string!t_0002!#] |
|
Here we will inject 't_0006', which injects 't_0001' which has a variable: [#!string!t_0006!#]. |
|
</key> |
|
<key name="t_0006">This string embeds 't_0001': [#!string!t_0001!#]</key> |
|
|
|
</language> |
|
<!-- 日本語 --> |
|
<language name="jp" long_name="日本語" description=">Created by Madison Kelly (mkelly@alteeve.ca) for the AN::Tools suite of perl modules."> |
|
|
|
<!-- Test words. Do NOT change unless you update 't/Words.t' or tests will needlessly fail. --> |
|
<key name="t_0000">テスト</key> |
|
<key name="t_0001">テスト いれかえる: [#!variable!test!#]。</key> |
|
<key name="t_0002">テスト、 整理: [#!variable!second!#]/[#!variable!first!#]。</key> |
|
<!-- Do not use 't_0003'. It is used to test failures caused by calling a non-existent key. --> |
|
<key name="t_0004">#!FREE!#</key> |
|
<key name="t_0005"> |
|
これは、挿入するさまざまな項目を含む複数行のテスト文字列です。 |
|
|
|
#!無効!#な置換#!キー!#を使ってエスケープとリストアをテストすることもできます。 |
|
|
|
デフォルトの出力言語は次のとおりです:「#!data!defaults::languages::output!#」 |
|
ここで、「t_0000」を挿入します:[#!string!t_0001!#] |
|
ここでは、 「t_0002」に埋め込み変数を挿入します:「#!string!t_0002!#」 |
|
ここでは変数 「#!string!t_0006!#」を持つ 「t_0001」を注入する 「t_0006」を注入します。 |
|
</key> |
|
<key name="t_0006">この文字列には「t_0001」が埋め込まれています:「#!string!t_0001!#」</key> |
|
</language> |
|
</words>
|
|
|