| 1 |
# -*- po -*- |
| 2 |
# English 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 |
# Automatically generated, 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-08-07 08:17+0000\n" |
| 12 |
"Last-Translator: Automatically generated\n" |
| 13 |
"Language-Team: none\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Language: en\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 19 |
|
| 20 |
msgid "`string_truncate`" |
| 21 |
msgstr "`string_truncate`" |
| 22 |
|
| 23 |
msgid "Summary" |
| 24 |
msgstr "Summary" |
| 25 |
|
| 26 |
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`." |
| 27 |
msgstr "`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`." |
| 28 |
|
| 29 |
msgid "To enable this function, register `functions/string` plugin with the following command:" |
| 30 |
msgstr "To enable this function, register `functions/string` plugin with the following command:" |
| 31 |
|
| 32 |
msgid "Syntax" |
| 33 |
msgstr "Syntax" |
| 34 |
|
| 35 |
msgid "`string_truncate` requires two or three parameters." |
| 36 |
msgstr "`string_truncate` requires two or three parameters." |
| 37 |
|
| 38 |
msgid "`options` uses the following format. All key-value pairs are optional:" |
| 39 |
msgstr "`options` uses the following format. All key-value pairs are optional:" |
| 40 |
|
| 41 |
msgid "Usage" |
| 42 |
msgstr "Usage" |
| 43 |
|
| 44 |
msgid "Here are a schema definition and sample data to show usage." |
| 45 |
msgstr "Here are a schema definition and sample data to show usage." |
| 46 |
|
| 47 |
msgid "Sample schema:" |
| 48 |
msgstr "Sample schema:" |
| 49 |
|
| 50 |
msgid "Execution example:" |
| 51 |
msgstr "Execution example:" |
| 52 |
|
| 53 |
msgid "Sample data:" |
| 54 |
msgstr "Sample data:" |
| 55 |
|
| 56 |
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." |
| 57 |
msgstr "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." |
| 58 |
|
| 59 |
msgid "If the string isn't longer than `length`, it's returned as-is without an omission mark." |
| 60 |
msgstr "If the string isn't longer than `length`, it's returned as-is without an omission mark." |
| 61 |
|
| 62 |
msgid "The following example specifies a custom `omission` in `options`." |
| 63 |
msgstr "The following example specifies a custom `omission` in `options`." |
| 64 |
|
| 65 |
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`." |
| 66 |
msgstr "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`." |
| 67 |
|
| 68 |
msgid "You can specify a string literal instead of a column." |
| 69 |
msgstr "You can specify a string literal instead of a column." |
| 70 |
|
| 71 |
msgid "Parameters" |
| 72 |
msgstr "Parameters" |
| 73 |
|
| 74 |
msgid "Required parameters" |
| 75 |
msgstr "Required parameters" |
| 76 |
|
| 77 |
msgid "`target`" |
| 78 |
msgstr "`target`" |
| 79 |
|
| 80 |
msgid "Specify a string literal or a string type column." |
| 81 |
msgstr "Specify a string literal or a string type column." |
| 82 |
|
| 83 |
msgid "`length`" |
| 84 |
msgstr "`length`" |
| 85 |
|
| 86 |
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." |
| 87 |
msgstr "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." |
| 88 |
|
| 89 |
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`." |
| 90 |
msgstr "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`." |
| 91 |
|
| 92 |
msgid "Optional parameters" |
| 93 |
msgstr "Optional parameters" |
| 94 |
|
| 95 |
msgid "`options`" |
| 96 |
msgstr "`options`" |
| 97 |
|
| 98 |
msgid "Specify the following key." |
| 99 |
msgstr "Specify the following key." |
| 100 |
|
| 101 |
msgid "`omission`" |
| 102 |
msgstr "`omission`" |
| 103 |
|
| 104 |
msgid "Specify a string to be appended to the truncated string to show that it was truncated." |
| 105 |
msgstr "Specify a string to be appended to the truncated string to show that it was truncated." |
| 106 |
|
| 107 |
msgid "The default is `\"...\"`." |
| 108 |
msgstr "The default is `\"...\"`." |
| 109 |
|
| 110 |
msgid "Return value" |
| 111 |
msgstr "Return value" |
| 112 |
|
| 113 |
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`." |
| 114 |
msgstr "`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`." |
| 115 |
|
| 116 |
msgid "See also" |
| 117 |
msgstr "See also" |
| 118 |
|
| 119 |
msgid "{doc}`snippet`" |
| 120 |
msgstr "{doc}`snippet`" |
| 121 |
|
| 122 |
msgid "{doc}`string_substring`" |
| 123 |
msgstr "{doc}`string_substring`" |