Debian Codegraph @

doc/locale/ja/LC_MESSAGES/reference/functions/string_truncate.po

raw
1 # -*- po -*-
2 # Japanese translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # FIRST AUTHOR <EMAIL@ADDRESS>, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.9\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-07-15 04:12+0000\n"
12 "Language-Team: Japanese\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=1; plural=0;\n"
18
19 msgid "Execution example:"
20 msgstr "実行例:"
21
22 msgid "`string_truncate`"
23 msgstr ""
24
25 msgid "Summary"
26 msgstr "概要"
27
28 msgid "`string_truncate` truncates a string to at most the specified number of characters. If the string is truncated, the tail of the kept characters is replaced with an omission mark so that the result, including the omission mark, is `length` characters long, in the same way as Ruby on Rails' `String#truncate`."
29 msgstr "`string_truncate`は、文字列を指定された文字数以下に切り詰めます。文字列が切り詰められた場合、残された文字の末尾を省略記号に置き換えます。その結果、省略記号を含めて`length`文字の長さになります。これはRuby on Railsの`String#truncate`と同様の動作です。"
30
31 msgid "To enable this function, register `functions/string` plugin with the following command:"
32 msgstr "この関数を有効にするには、以下のコマンドで`functions/string`プラグインを登録します:"
33
34 msgid "Syntax"
35 msgstr "構文"
36
37 msgid "`string_truncate` requires two or three parameters."
38 msgstr "`string_truncate`は2つから3つの引数を指定できます。"
39
40 msgid "`options` uses the following format. All key-value pairs are optional:"
41 msgstr "`options`には以下のキーを指定します。すべてのキー・値のペアは省略可能です:"
42
43 msgid "Usage"
44 msgstr "使い方"
45
46 msgid "Here are a schema definition and sample data to show usage."
47 msgstr "使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。"
48
49 msgid "Sample schema:"
50 msgstr "サンプルスキーマ:"
51
52 msgid "Sample data:"
53 msgstr "サンプルデータ:"
54
55 msgid "Here is a simple example. Because the string is longer than the specified `length`, it's truncated and `\"...\"` is appended so that the result is 15 characters long."
56 msgstr "以下は簡単な使用例です。文字列が指定された`length`より長いため、切り詰められ`\"...\"`が追加されて、結果として15文字になります。"
57
58 msgid "If the string isn't longer than `length`, it's returned as-is without an omission mark."
59 msgstr "文字列の長さが`length`以下である場合、省略記号を付けずにそのまま返されます。"
60
61 msgid "The following example specifies a custom `omission` in `options`."
62 msgstr "次の例では、`options`で`omission`を指定しています。"
63
64 msgid "When truncation occurs and `length` is smaller than the number of characters in `omission`, the result is only `omission` even if `omission` is longer than `length`."
65 msgstr "`length`が`omission`の文字数よりも小さい状態で切り詰められた場合、`omission`の文字数が`length`より多くても、結果は`omission`のみとなります。"
66
67 msgid "You can specify a string literal instead of a column."
68 msgstr "カラムの代わりに文字列リテラルを指定することもできます。"
69
70 msgid "Parameters"
71 msgstr "引数"
72
73 msgid "Required parameters"
74 msgstr "必須引数"
75
76 msgid "`target`"
77 msgstr ""
78
79 msgid "Specify a string literal or a string type column."
80 msgstr "対象となる文字列または文字列型カラムを指定します。"
81
82 msgid "`length`"
83 msgstr ""
84
85 msgid "Specify the maximum number of characters of the result, including the `omission` mark when truncation occurs. If the number of characters in `target` is less than or equal to `length`, `target` is returned as-is."
86 msgstr "切り詰めが発生した場合の`omission`の文字数を含め、結果の最大文字数を指定します。`target`の文字数が`length`以下である場合、`target`はそのまま返されます。"
87
88 msgid "If `target` is longer than `length`, `string_truncate` subtracts the number of characters in `omission` from `length`, extracts that many characters from the beginning of `target`, and appends `omission`. If `omission` is longer than `length` or `length` is negative, the result is `omission`."
89 msgstr "`target`の長さが`length`より長い場合、`string_truncate`は`target`の先頭から「`length` - `omission`の文字数」分を切り出し、末尾に`omission`を追加します。`omission`が`length`より長い場合や`length`が負の場合は、`omission`のみになります。"
90
91 msgid "Optional parameters"
92 msgstr "省略可能引数"
93
94 msgid "`options`"
95 msgstr ""
96
97 msgid "Specify the following key."
98 msgstr "以下のキーを指定します。"
99
100 msgid "`omission`"
101 msgstr ""
102
103 msgid "Specify a string to be appended to the truncated string to show that it was truncated."
104 msgstr "切り詰められたことを示す文字列を指定します。"
105
106 msgid "The default is `\"...\"`."
107 msgstr "デフォルトは`\"...\"`です。"
108
109 msgid "Return value"
110 msgstr "戻り値"
111
112 msgid "`string_truncate` returns `target` truncated. When truncation occurs, the result (kept part + `omission`) is `length` characters long unless `omission` is longer than `length` or `length` is negative, in which case the result is `omission`."
113 msgstr "`string_truncate`は`target`を切り詰めた結果を返します。切り詰めが行われた場合、結果(保持された部分と`omission`の合計)の長さは`length`文字になります。ただし、`omission`が`length`より長い場合や`length`が負の値の場合は、`omission`のみになります。"
114
115 msgid "See also"
116 msgstr "参考"
117
118 msgid "{doc}`snippet`"
119 msgstr ""
120
121 msgid "{doc}`string_substring`"
122 msgstr ""