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

Commit 454a14f

Browse files
committed
Merge pull request #3811 from kjgorman/master
Adds pixel units to localisation
2 parents 432ae55 + 739ab1b commit 454a14f

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

src/extensions/default/QuickView/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ define(function (require, exports, module) {
344344
$previewContainer.find(".image-preview > img").on("load", function () {
345345
$previewContent
346346
.append("<div class='img-size'>" +
347-
this.naturalWidth + " x " + this.naturalHeight + " pixels" +
347+
this.naturalWidth + " x " + this.naturalHeight + " " + Strings.UNIT_PIXELS +
348348
"</div>"
349349
);
350350
$previewContainer.show();

src/nls/es/strings.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,13 @@ define({
328328
"EXTENSION_SEARCH_PLACEHOLDER" : "Buscar",
329329
"EXTENSION_MORE_INFO_LINK" : "Más",
330330
"BROWSE_EXTENSIONS" : "Explorar extensiones",
331-
332-
331+
332+
/**
333+
* Unit names
334+
*/
335+
336+
"UNIT_PIXELS" : "píxeles",
337+
333338
// extensions/default/DebugCommands
334339
"DEBUG_MENU" : "Desarrollo",
335340
"CMD_SHOW_DEV_TOOLS" : "Mostrar herramientas para desarrolladores",

src/nls/root/strings.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,12 @@ define({
334334
"EXTENSION_SEARCH_PLACEHOLDER" : "Search",
335335
"EXTENSION_MORE_INFO_LINK" : "More",
336336
"BROWSE_EXTENSIONS" : "Browse Extensions",
337-
337+
338+
/**
339+
* Unit names
340+
*/
341+
342+
"UNIT_PIXELS" : "pixels",
338343

339344
// extensions/default/DebugCommands
340345
"DEBUG_MENU" : "Debug",

0 commit comments

Comments
 (0)