Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit e3c174d

Browse files
committed
Merge pull request #7793 from adobe/release
Merge release back into master to trigger ALF localization update
2 parents 83db92c + e65b81b commit e3c174d

5 files changed

Lines changed: 22 additions & 12 deletions

File tree

src/file/FileUtils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ define(function (require, exports, module) {
160160
result = Strings.NO_MODIFICATION_ALLOWED_ERR_FILE;
161161
} else if (name === FileSystemError.CONTENTS_MODIFIED) {
162162
result = Strings.CONTENTS_MODIFIED_ERR;
163+
} else if (name === FileSystemError.UNSUPPORTED_ENCODING) {
164+
result = Strings.UNSUPPORTED_ENCODING_ERR;
163165
} else {
164166
result = StringUtils.format(Strings.GENERIC_ERROR, name);
165167
}

src/filesystem/FileSystemError.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ define(function (require, exports, module) {
3939
INVALID_PARAMS : "InvalidParams",
4040
NOT_FOUND : "NotFound",
4141
NOT_READABLE : "NotReadable",
42+
UNSUPPORTED_ENCODING : "UnsupportedEncoding",
4243
NOT_SUPPORTED : "NotSupported",
4344
NOT_WRITABLE : "NotWritable",
4445
OUT_OF_SPACE : "OutOfSpace",

src/filesystem/impls/appshell/AppshellFileSystem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ define(function (require, exports, module) {
160160
case appshell.fs.ERR_CANT_WRITE:
161161
return FileSystemError.NOT_WRITABLE;
162162
case appshell.fs.ERR_UNSUPPORTED_ENCODING:
163-
return FileSystemError.NOT_READABLE;
163+
return FileSystemError.UNSUPPORTED_ENCODING;
164164
case appshell.fs.ERR_OUT_OF_SPACE:
165165
return FileSystemError.OUT_OF_SPACE;
166166
case appshell.fs.ERR_FILE_EXISTS:

src/nls/es/strings.js

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,6 @@ define({
289289
"CMD_SPLIT_SEL_INTO_LINES" : "Dividir selección en líneas",
290290
"CMD_ADD_CUR_TO_NEXT_LINE" : "Agregar cursor a la siguiente línea",
291291
"CMD_ADD_CUR_TO_PREV_LINE" : "Agregar cursor a la línea anterior",
292-
"CMD_FIND" : "Buscar",
293-
"CMD_FIND_FIELD_PLACEHOLDER" : "Buscar\u2026",
294-
"CMD_FIND_IN_FILES" : "Buscar en archivos",
295-
"CMD_FIND_IN_SUBTREE" : "Buscar en\u2026",
296-
"CMD_FIND_NEXT" : "Buscar siguiente",
297-
"CMD_FIND_PREVIOUS" : "Buscar anterior",
298-
"CMD_FIND_ALL_AND_SELECT" : "Buscar todo y seleccionar",
299-
"CMD_ADD_NEXT_MATCH" : "Agregar la siguiente coincidencia a la selección",
300-
"CMD_SKIP_CURRENT_MATCH" : "Omitir y agregar la siguiente coincidencia",
301-
"CMD_REPLACE" : "Reemplazar",
302292
"CMD_INDENT" : "Aumentar sangría",
303293
"CMD_UNINDENT" : "Disminuir sangría",
304294
"CMD_DUPLICATE" : "Duplicar",
@@ -312,6 +302,20 @@ define({
312302
"CMD_TOGGLE_CLOSE_BRACKETS" : "Completar paréntesis automáticamente",
313303
"CMD_SHOW_CODE_HINTS" : "Mostrar sugerencias de código",
314304

305+
// Search menu commands
306+
"FIND_MENU" : "Buscar",
307+
"CMD_FIND" : "Buscar",
308+
"CMD_FIND_FIELD_PLACEHOLDER" : "Buscar\u2026",
309+
"CMD_FIND_NEXT" : "Buscar siguiente",
310+
"CMD_FIND_PREVIOUS" : "Buscar anterior",
311+
"CMD_FIND_ALL_AND_SELECT" : "Buscar todo y seleccionar",
312+
"CMD_ADD_NEXT_MATCH" : "Agregar la siguiente coincidencia a la selección",
313+
"CMD_SKIP_CURRENT_MATCH" : "Omitir y agregar la siguiente coincidencia",
314+
"CMD_FIND_IN_FILES" : "Buscar en archivos",
315+
"CMD_FIND_IN_SELECTED" : "Buscar en el archivo/directorio seleccionado",
316+
"CMD_FIND_IN_SUBTREE" : "Buscar en\u2026",
317+
"CMD_REPLACE" : "Reemplazar",
318+
315319
// View menu commands
316320
"VIEW_MENU" : "Ver",
317321
"CMD_HIDE_SIDEBAR" : "Ocultar menú lateral",
@@ -489,6 +493,7 @@ define({
489493

490494
// extensions/default/DebugCommands
491495
"DEBUG_MENU" : "Desarrollo",
496+
"ERRORS" : "Errores",
492497
"CMD_SHOW_DEV_TOOLS" : "Mostrar herramientas para desarrolladores",
493498
"CMD_REFRESH_WINDOW" : "Recargar con extensiones",
494499
"CMD_RELOAD_WITHOUT_USER_EXTS" : "Recargar sin extensiones",
@@ -499,6 +504,7 @@ define({
499504
"CMD_ENABLE_NODE_DEBUGGER" : "Habilitar depuración de Node",
500505
"CMD_LOG_NODE_STATE" : "Mostrar estado de Node en Consola",
501506
"CMD_RESTART_NODE" : "Reiniciar Node",
507+
"CMD_SHOW_ERRORS_IN_STATUS_BAR" : "Mostrar errores en la barra de estado",
502508

503509
"LANGUAGE_TITLE" : "Cambiar idioma",
504510
"LANGUAGE_MESSAGE" : "Idioma:",
@@ -540,4 +546,4 @@ define({
540546
"DOCS_MORE_LINK" : "Más"
541547
});
542548

543-
/* Last translated for c3411bb7f686f98381b18e729c097b6c5e270694 */
549+
/* Last translated for e47dc5b16ec4bfabacfdb5c62f67a94feca85d50 */

src/nls/root/strings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ define({
3737
"NO_MODIFICATION_ALLOWED_ERR" : "The target directory cannot be modified.",
3838
"NO_MODIFICATION_ALLOWED_ERR_FILE" : "The permissions do not allow you to make modifications.",
3939
"CONTENTS_MODIFIED_ERR" : "The file has been modified outside of {APP_NAME}.",
40+
"UNSUPPORTED_ENCODING_ERR" : "The file is not UTF-8 encoded text.",
4041
"FILE_EXISTS_ERR" : "The file or directory already exists.",
4142
"FILE" : "file",
4243
"DIRECTORY" : "directory",

0 commit comments

Comments
 (0)