Skip to content

Commit 295f7c1

Browse files
committed
fix missing locale utf8.offset.55
1 parent af7bea0 commit 295f7c1

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

locale/en-us/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,5 @@ utf8.len =
881881
'Returns the number of UTF-8 characters in string `s` that start between positions `i` and `j` (both inclusive).'
882882
utf8.offset =
883883
'Returns the position (in bytes) where the encoding of the `n`-th character of `s` (counting from position `i`) starts.'
884-
utf8.offset[55] =
884+
utf8.offset['55'] =
885885
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'

locale/es-419/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,5 +880,5 @@ utf8.len =
880880
'Retorna el número de caracteres en UTF-8 en el string `s` que empiezan entre las posiciones `i` y `j` (ambos inclusive).'
881881
utf8.offset =
882882
'Retorna la posición en bytes donde la codificación del caracter `n`-ésimo de `s` empieza, contado a partir de la posición `i`.'
883-
utf8.offset[55] =
883+
utf8.offset['55'] =
884884
'Retorna la posición del carácter número `n` de `s` (contando desde la posición de byte `i`) como dos enteros: el índice (en bytes) donde empieza su codificación y el índice (en bytes) donde termina.'

locale/ja-jp/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,5 +876,5 @@ utf8.len =
876876
'バイト位置 `i` から `j`(両方含む)の間に含まれるUTF-8文字の数を返す。'
877877
utf8.offset =
878878
'文字列 `s` における `n` 番目の文字が始まるバイト位置をを返す。`i` が指定された場合、`i` から数えたバイト位置を返す。'
879-
utf8.offset[55] =
879+
utf8.offset['55'] =
880880
'文字列 `s` における `n` 番目の文字の位置を、2つの整数として返します(バイト位置 `i` から数えます):その文字のエンコードが開始するバイトインデックスと終了するバイトインデックス。'

locale/pt-br/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,5 @@ utf8.len =
881881
'Retorna o número de caracteres UTF-8 na string `s` que começa entre as posições `i` e `j` (ambos inclusos).'
882882
utf8.offset =
883883
'Retorna a posição (em bytes) onde a codificação do `n`-ésimo caractere de `s` inícia (contando a partir da posição `i`).'
884-
utf8.offset[55] =
884+
utf8.offset['55'] =
885885
'Retorna a posição do n-ésimo caractere de `s` (contando a partir da posição de byte `i`) como dois inteiros: o índice (em bytes) onde sua codificação começa e o índice (em bytes) onde ela termina.'

locale/zh-cn/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,5 +860,5 @@ utf8.len =
860860
'返回字符串 `s` 中 从位置 `i` 到 `j` 间 (包括两端) UTF-8 字符的个数。'
861861
utf8.offset =
862862
'返回编码在 `s` 中的第 `n` 个字符的开始位置(按字节数) (从位置 `i` 处开始统计)。'
863-
utf8.offset[55] =
863+
utf8.offset['55'] =
864864
'返回字符串 `s` 中第 `n` 个字符的位置(从字节位置 `i` 开始计数),以两个整数表示:其编码开始的字节索引和结束的字节索引。'

locale/zh-tw/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,5 +864,5 @@ utf8.len =
864864
'回傳字串 `s` 中 從位置 `i` 到 `j` 間 (包括兩端) UTF-8 字元的個數。'
865865
utf8.offset =
866866
'回傳編碼在 `s` 中的第 `n` 個字元的開始位置(按位元組數)(從位置 `i` 處開始統計)。'
867-
utf8.offset[55] =
867+
utf8.offset['55'] =
868868
'以兩個整數回傳字串 `s` 中第 `n` 個字元的位置(從位元組位置 `i` 開始計數):其編碼開始的位元組索引與結束的位元組索引。'

0 commit comments

Comments
 (0)