msgid ""
msgstr ""
"Project-Id-Version: English (Boost Json Translation (zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-07 04:33+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: English <https://insights.cppalliance.org/weblate/projects/"
"boost-json-documentation-zh_Hans/doc-pages-dom-string-adoc/en/>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.5\n"

#: :13
#, read-only, safe-html, strict-same
msgid "= `string`"
msgstr "= `string`"

#: :15
#, read-only, safe-html, strict-same
msgid ""
"Modifiable sequences of characters are represented using objects of type "
"<<ref_string>>."
msgstr ""
"Modifiable sequences of characters are represented using objects of type "
"<<ref_string>>."

#: :18
#, read-only, safe-html, strict-same
msgid ""
"The interface and functionality of <<ref_string>> is the same as "
"{std_string} except that:"
msgstr ""
"The interface and functionality of <<ref_string>> is the same as "
"{std_string} except that:"

#: :21
#, read-only, safe-html, strict-same
msgid "<<ref_string>> is not a class template,"
msgstr "<<ref_string>> is not a class template,"

#: :22
#, read-only, safe-html, strict-same
msgid "<<ref_string>> uses `char` as its character type,"
msgstr "<<ref_string>> uses `char` as its character type,"

#: :23
#, read-only, safe-html, strict-same
msgid "redundant overloads for string operations have been replaced"
msgstr "redundant overloads for string operations have been replaced"

#: :24
#, read-only, safe-html, strict-same
msgid "with a <<ref_string_view>>-based interface,"
msgstr "with a <<ref_string_view>>-based interface,"

#: :25
#, read-only, safe-html, strict-same
msgid "access to characters in the range `[size(), capacity())` is permitted,"
msgstr "access to characters in the range `[size(), capacity())` is permitted,"

#: :26
#, read-only, safe-html, strict-same
msgid "<<ref_storage_ptr>> is used instead of {req_Allocator}, and"
msgstr "<<ref_storage_ptr>> is used instead of {req_Allocator}, and"

#: :27
#, read-only, safe-html, strict-same
msgid ""
"small buffer optimisation is guaranteed, which avoids allocating memory for"
msgstr ""
"small buffer optimisation is guaranteed, which avoids allocating memory for"

#: :28
#, read-only, safe-html, strict-same
msgid "small strings."
msgstr "small strings."

#: :30
#, read-only, safe-html, strict-same
msgid ""
"With augmented interface, operations requiring an input string are "
"implemented as a single overload with a parameter of type <<ref_string_view>>"
", and can accept most string-like objects. Objects such as null terminated "
"character pointers, `std::string`, <<ref_string>>, subranges of strings, and "
"objects convertible to <<ref_string_view>> can all be passed to these "
"functions."
msgstr ""
"With augmented interface, operations requiring an input string are "
"implemented as a single overload with a parameter of type <<ref_string_view>>"
", and can accept most string-like objects. Objects such as null terminated "
"character pointers, `std::string`, <<ref_string>>, subranges of strings, and "
"objects convertible to <<ref_string_view>> can all be passed to these "
"functions."

#: :41
#, read-only, safe-html, strict-same
msgid ""
"More formally, `std::string` member function overloads that accept any of "
"the following parameter combinations as an input string:"
msgstr ""
"More formally, `std::string` member function overloads that accept any of "
"the following parameter combinations as an input string:"

#: :44
#, read-only, safe-html, strict-same
msgid "a `std::string` parameter, or"
msgstr "a `std::string` parameter, or"

#: :45
#, read-only, safe-html, strict-same
msgid "a `std::string` parameter and two `size_type` parameters that specify a"
msgstr "a `std::string` parameter and two `size_type` parameters that specify a"

#: :46
#, read-only, safe-html, strict-same
msgid "substring, or"
msgstr "substring, or"

#: :47
#, read-only, safe-html, strict-same
msgid "a parameter of a type convertible to <<ref_string_view>>, or"
msgstr "a parameter of a type convertible to <<ref_string_view>>, or"

#: :48
#, read-only, safe-html, strict-same
msgid "a parameter of a type convertible to <<ref_string_view>> and two"
msgstr "a parameter of a type convertible to <<ref_string_view>> and two"

#: :49
#, read-only, safe-html, strict-same
msgid "`size_type` parameters that specify a substring, or"
msgstr "`size_type` parameters that specify a substring, or"

#: :50
#, read-only, safe-html, strict-same
msgid "a `const_pointer` parameter, or"
msgstr "a `const_pointer` parameter, or"

#: :51
#, read-only, safe-html, strict-same
msgid "a parameter of type `const_pointer` and a `size_type` parameter that"
msgstr "a parameter of type `const_pointer` and a `size_type` parameter that"

#: :52
#, read-only, safe-html, strict-same
msgid "specifies the length of the string"
msgstr "specifies the length of the string"

#: :54
#, read-only, safe-html, strict-same
msgid ""
"are replaced with an overload accepting a <<ref_string_view>> parameter."
msgstr ""
"are replaced with an overload accepting a <<ref_string_view>> parameter."

#: :56
#, read-only, safe-html, strict-same
msgid ""
"This design removes several redundant overloads from the interface. For "
"example, the 11 overloads of `std::string::insert` are reduced to just 3 in "
"<<ref_string>>, while still providing identical functionality. In addition "
"to these changes, overloads taking a `std::initializer_list<char>` parameter "
"have been removed. Such overloads have little use, as they serve as little "
"more than wrappers for arrays with an inefficient syntax:"
msgstr ""
"This design removes several redundant overloads from the interface. For "
"example, the 11 overloads of `std::string::insert` are reduced to just 3 in "
"<<ref_string>>, while still providing identical functionality. In addition "
"to these changes, overloads taking a `std::initializer_list<char>` parameter "
"have been removed. Such overloads have little use, as they serve as little "
"more than wrappers for arrays with an inefficient syntax:"

#: :68
#, read-only, safe-html, strict-same
msgid ""
"With the removal of overloads that specify parameters for a substring, a "
"member function `subview` that returns a <<ref_string_view>> is provided to "
"facilitate cheap substring operations:"
msgstr ""
"With the removal of overloads that specify parameters for a substring, a "
"member function `subview` that returns a <<ref_string_view>> is provided to "
"facilitate cheap substring operations:"

#: :77
#, read-only, safe-html, strict-same
msgid ""
"A <<ref_string>> may be constructed using the "
"<<default_memory_resource,default memory resource>> without incurring any "
"memory allocations. Alternatively, a <<ref_storage_ptr>> can be provided "
"explicitly:"
msgstr ""
"A <<ref_string>> may be constructed using the "
"<<default_memory_resource,default memory resource>> without incurring any "
"memory allocations. Alternatively, a <<ref_storage_ptr>> can be provided "
"explicitly:"

#: :86
#, read-only, safe-html, strict-same
msgid "Formatted Output"
msgstr "Formatted Output"

#: :88
#, read-only, safe-html, strict-same
msgid ""
"When a <<ref_string>> is formatted to a {std_ostream}, the result is a valid "
"JSON. That is, the result will be double quoted and the contents properly "
"escaped per the JSON specification."
msgstr ""
"When a <<ref_string>> is formatted to a {std_ostream}, the result is a valid "
"JSON. That is, the result will be double quoted and the contents properly "
"escaped per the JSON specification."

#: :92
#, read-only, safe-html, strict-same
msgid "Accessing Storage Beyond `size()`"
msgstr "Accessing Storage Beyond `size()`"

#: :94
#, read-only, safe-html, strict-same
msgid ""
"<<ref_string>> directly supports access to its storage in the range `[size()"
", capacity())`. This can be used for efficient assembly of a string from "
"several parts. After the string is assembled, use the member function "
"<<ref_string_grow>> to update the string's size and insert the null "
"terminator. For example:"
msgstr ""
"<<ref_string>> directly supports access to its storage in the range `[size()"
", capacity())`. This can be used for efficient assembly of a string from "
"several parts. After the string is assembled, use the member function "
"<<ref_string_grow>> to update the string's size and insert the null "
"terminator. For example:"
