Updated documentation comment in 4 languages to change word "specified" to "given", related to commit d8b66fcbf1.

pull/39/merge
Project Nayuki 6 years ago
parent e9e7363c55
commit b9f69cf7bd

@ -58,7 +58,7 @@ class QrCode final {
/*---- Public static factory functions ----*/
/*
* Returns a QR Code symbol representing the specified Unicode text string at the specified error correction level.
* Returns a QR Code symbol representing the given Unicode text string at the given error correction level.
* As a conservative upper bound, this function is guaranteed to succeed for strings that have 2953 or fewer
* UTF-8 code units (not Unicode code points) if the low error correction level is used. The smallest possible
* QR Code version is automatically chosen for the output. The ECC level of the result may be higher than

@ -516,7 +516,7 @@ var qrcodegen = new function() {
/*---- Public static factory functions for QrCode ----*/
/*
* Returns a QR Code symbol representing the specified Unicode text string at the specified error correction level.
* Returns a QR Code symbol representing the given Unicode text string at the given error correction level.
* As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
* Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
* QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the

@ -68,7 +68,7 @@ class QrCode(object):
@staticmethod
def encode_text(text, ecl):
"""Returns a QR Code symbol representing the specified Unicode text string at the specified error correction level.
"""Returns a QR Code symbol representing the given Unicode text string at the given error correction level.
As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the

@ -46,7 +46,7 @@ namespace qrcodegen {
/*-- Public static factory functions --*/
// Returns a QR Code symbol representing the specified Unicode text string at the specified error correction level.
// Returns a QR Code symbol representing the given Unicode text string at the given error correction level.
// As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
// Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
// QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the

Loading…
Cancel
Save