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

Adds pixel units to localisation #3811

Merged
merged 2 commits into from
May 13, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/extensions/default/QuickView/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ define(function (require, exports, module) {
$previewContainer.find(".image-preview > img").on("load", function () {
$previewContent
.append("<div class='img-size'>" +
this.naturalWidth + " x " + this.naturalHeight + " pixels" +
this.naturalWidth + " x " + this.naturalHeight + " " + Strings.UNIT_PIXELS +
"</div>"
);
$previewContainer.show();
Expand Down
9 changes: 7 additions & 2 deletions src/nls/es/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,13 @@ define({
"EXTENSION_SEARCH_PLACEHOLDER" : "Buscar",
"EXTENSION_MORE_INFO_LINK" : "Más",
"BROWSE_EXTENSIONS" : "Explorar extensiones",



/**
* Unit names
*/

"UNIT_PIXELS" : "píxeles",

// extensions/default/DebugCommands
"DEBUG_MENU" : "Desarrollo",
"CMD_SHOW_DEV_TOOLS" : "Mostrar herramientas para desarrolladores",
Expand Down
7 changes: 6 additions & 1 deletion src/nls/root/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,12 @@ define({
"EXTENSION_SEARCH_PLACEHOLDER" : "Search",
"EXTENSION_MORE_INFO_LINK" : "More",
"BROWSE_EXTENSIONS" : "Browse Extensions",


/**
* Unit names
*/

"UNIT_PIXELS" : "pixels",

// extensions/default/DebugCommands
"DEBUG_MENU" : "Debug",
Expand Down