Commit Graph

473 Commits

Author SHA1 Message Date
Jonas Jenwald
0de49ed1e2 Update l10n files 2018-02-05 12:23:54 +01:00
Jonas Jenwald
22a9274193 Update l10n files 2018-01-17 11:37:44 +01:00
Jonas Jenwald
5bf4fb979e Update l10n files 2018-01-01 10:19:59 +01:00
Jonas Jenwald
fffd5cb875 Update l10n files 2017-11-30 13:35:00 +01:00
Jonas Jenwald
b8e7a0b2f4 Update l10n files 2017-11-20 16:07:24 +01:00
Jonas Jenwald
4e66c69d30 Update l10n files 2017-10-30 11:46:54 +01:00
Jonas Jenwald
3ac4baff36 Update l10n files 2017-10-23 09:54:39 +02:00
Jonas Jenwald
4c384e151e Update l10n files 2017-10-16 09:31:16 +02:00
Tim van der Meij
9a1f8b864e
Update translations 2017-10-01 14:42:00 +02:00
Jonas Jenwald
a1f5c26f54 Update l10n files 2017-09-25 09:39:21 +02:00
Jonas Jenwald
50bd4a5ac0 Update l10n files 2017-09-18 10:59:44 +02:00
Jonas Jenwald
ba21996576 Update l10n files 2017-09-11 11:43:12 +02:00
Jonas Jenwald
cd25a51abe Update l10n files 2017-09-04 11:33:04 +02:00
Jonas Jenwald
b7fcaff07c Update l10n files 2017-08-28 14:30:27 +02:00
Jonas Jenwald
723bc25bc3 Update l10n files 2017-08-14 10:19:07 +02:00
Jonas Jenwald
5cb8389757 Update l10n files 2017-08-07 10:10:49 +02:00
Jonas Jenwald
38d566f1e5 Update l10n files 2017-07-24 09:37:07 +02:00
Jonas Jenwald
85161fa6dc Update l10n files 2017-07-10 12:20:25 +02:00
Jonas Jenwald
699f3392e4 Update l10n files 2017-07-03 11:10:21 +02:00
Jonas Jenwald
1db290e818 Update l10n files 2017-06-26 14:30:41 +02:00
Jonas Jenwald
b0bf69dd8c Update l10n files 2017-06-19 11:37:18 +02:00
Jonas Jenwald
c2641045e6 Update l10n files 2017-06-12 10:36:26 +02:00
Jonas Jenwald
e696589a09 Update l10n files 2017-06-05 12:45:42 +02:00
Jonas Jenwald
263479fd6a Update l10n files 2017-05-29 09:59:26 +02:00
Tim van der Meij
836695986c Add icons for the new "Select tool" button
Also adds the Dutch localizations for the new select/hand tool buttons.
2017-05-22 00:51:03 +02:00
Jonas Jenwald
36c2791296 Unify handling of various cursor tools, e.g. the current Hand Tool and a possible future Zoom Tool, in a new PDFCursorTools module
With the current way that the `HandTool` is implemented, if someone would try to also add a Zoom tool (as issue 1260 asks for) that probably wouldn't work very well given that you'd then have two cursor tools which may not play nice together.
Hence this patch, which attempts to refactor things so that it should be simpler to add e.g. a Zoom tool as well (given that that issue is marked as "good-beginner-bug", and I'm not sure if that really applies considering the current state of the code).

Note that I personally have no interest in implementing a Zoom tool (similar to Adobe Reader) since I wouldn't use it, but I figured that it can't hurt to make this code a bit more future proof.
2017-05-22 00:51:01 +02:00
Jonas Jenwald
95660a2ab3 Update l10n files 2017-05-18 12:41:01 +02:00
Jonas Jenwald
9e9676e54e Update l10n files 2017-04-22 16:29:37 +02:00
Jonas Jenwald
c5199d0814 Update l10n files 2017-04-07 12:31:54 +02:00
Jonas Jenwald
da326a3137 Update l10n files 2017-03-19 13:46:11 +01:00
Jonas Jenwald
c79e5b3f17
Viewer: replace find label with placeholder/tooltip
This is common in the rest of the UI and helps us prevent responsiveness
issues for different length strings in different locales.
2017-03-08 23:54:14 +01:00
Jonas Jenwald
afc3cd2a81 Update l10n files 2017-02-26 13:46:58 +01:00
Tim van der Meij
dae71559da Update localization files 2017-02-07 23:14:06 +01:00
Jonas Jenwald
616e5fadff Display a notification on the sidebarToggle button for PDF documents with outline/attachments
A longstanding issue with the viewer is that you cannot tell if a PDF document includes an outline and/or attachments without actually opening the sidebar.
This patch contains a suggested solution for that, by displaying an hide-on-interaction notification on the `sidebarToggle` button (and the relevant sidebar view buttons). Note that this was inspired by e.g. the update notification that is displayed on the menu button in Firefox.

For an initial implementation, I've tried to do this in such a way that the notification isn't too distracting. Without being an UX expert, I don't think that we'd want something too in-your-face, in order to keep the viewer toolbars reasonable clean. (We probably do *not* want e.g. an entire notification bar in these situations, since that would take up unnecessary screen space and require actions from the user to close.)

However it's certainly possible that the current notification might simply be *too* inconspicuous to be truly helpful to users, but we could probably iterate on that if the feature itself is deemed useful.
2017-01-30 15:39:04 +01:00
Jonas Jenwald
e835774d9c Update l10n files 2017-01-26 21:24:30 +01:00
Jonas Jenwald
c0a47fddcc Update l10n files 2017-01-16 09:54:50 +01:00
Jonas Jenwald
4e62562a36 Update l10n files 2017-01-02 13:26:09 +01:00
Jonas Jenwald
33063a486e Update l10n files 2016-12-19 11:10:14 +01:00
Jonas Jenwald
caf81685cb Update l10n files 2016-12-05 10:10:17 +01:00
Jonas Jenwald
362d20b23a Update l10n files 2016-11-28 10:30:05 +01:00
Jonas Jenwald
8a1ed8ab1f Update l10n files 2016-11-21 17:23:22 +01:00
Jonas Jenwald
7f678e3af1 Update l10n files 2016-11-17 12:03:31 +01:00
Jonas Jenwald
40d2d3f569 [l10n] Add Swedish translations for a couple of new/changed localization IDs
I got tired of staring at a bunch of localization warnings every time that I open the console, hence this patch adds the missing translations to the Swedish locale.
2016-11-01 10:09:47 +01:00
Tim van der Meij
775b294bb9 L10n: import upstream translations 2016-10-31 23:35:05 +01:00
Tim van der Meij
f8e29ad80f L10n: update the Dutch translation after recent string changes 2016-10-31 23:31:14 +01:00
Jonas Jenwald
077e644437 Fix a typo in the page_of_pages l10n ID for the en-US locale 2016-10-31 23:14:22 +01:00
Tim van der Meij
e9c63a2b32 Merge pull request #6945 from Snuffleupagus/page-labels-viewer
Add support for PageLabels in the viewer (issue 6902, bug 793632)
2016-10-31 22:59:56 +01:00
Yury Delendik
ab464df336 Import L10n files. 2016-10-27 16:16:27 -05:00
Jonas Jenwald
f461fd64aa Add support for PageLabels in the viewer
This patch implements the page label functionality in a similar way as Adobe Reader.
For documents with page labels, if a non-existent page label is entered we'll try to fallback to the page number instead.
The patch also includes a preference (`disablePageLabels`), to make it easy to opt-out of using page labels if the user/implementor so wishes.

The way that `get/set currentPageLabel` is implemented in `PDFViewer`, is as wrappers for the corresponding `get/set currentPageNumber` functions, since that seemed like the cleanest solution.
The page labels are purposely *only* added to the page controls in the viewer UI, and not stored in e.g. the `ViewHistory`. Since doing so would mean adding unnecessary code complexity, without any real added value, and would also mean delaying the inital loading of PDF documents.

Note that this patch will ignore page labels if they are identical to standard page numbering, since in this case displaying the page labels adds no value (but only UI noise). The reason for handling this case specially, is that in practice a surprising number of PDF files include "pointless" page labels.
2016-10-26 13:30:36 +02:00
Jonas Jenwald
23ec02bb93 Remove the "Page: " label and replace it with a tooltip
The following reasoning was used for deciding to remove the "Page: " label, and replace it with a tooltip, from the main toolbar:
 - We have no other visible labels in the *main* toolbar (e.g. the Zoom dropdown doesn't have a label, but only a tooltip).
 - We already hide the "Page: " label when the viewer is narrow.
 - The varying width of the "Page: " label in different locales is already causing issues for many languages, with overlap in the main toolbar as a result.
Trying to create responsive CSS styles that works well in all locales is already difficult, and if we add support for page labels that will only further compound the issues.
 - Some PDF viewers (e.g. Adobe Reader, pdfium in Chrome) doesn't show labels in the UI by default.
2016-10-26 13:30:26 +02:00
Jonas Jenwald
47a1c7797e Update l10n files 2016-10-23 12:19:00 +02:00
Jeenu Viswambharan
f2dcacd164 Explain double-click behaviour on tool tip
The outline toggle button has a feature where it can be double-clicked
to expand/collapse all items shown therein. Although this is described
in the FAQ, can go potentially unnoticed. This, however, being a useful
feature, advertise on the tool tip itself.

l10n translation for en-US and IDs updated.

Signed-off-by: Jeenu Viswambharan <jeenuv@gmail.com>
2016-10-16 09:22:48 +01:00
Tim van der Meij
fb5aa58008 Merge pull request #7697 from yurydelendik/print-v2
Refactoring of printing code and mozPrintCallback polyfill
2016-10-11 21:22:07 +02:00
Yury Delendik
1a056caf88 Localization of the print dialog. 2016-10-11 10:08:13 -05:00
Jonas Jenwald
d7148735ba Update l10n files 2016-10-09 12:11:53 +02:00
Jonas Jenwald
9e927ded93 Update l10n files 2016-09-20 12:51:52 +02:00
Tim van der Meij
d1ca5c11ec Update translations 2016-08-28 16:14:03 +02:00
Brendan Dahl
8cf32cde6c Upstream l10n changes from Bug 1259859. 2016-08-24 09:47:36 -07:00
Jonas Jenwald
3a1e794512 Update l10n files 2016-08-06 12:44:06 +02:00
Jonas Jenwald
11381cdb0f Update l10n files 2016-07-15 11:48:37 +02:00
Jonas Jenwald
87229a086f Update mxr.mozilla.org links to point to dxr.mozilla.org instead
Given that MXR has been officially retired, see https://groups.google.com/forum/#!topic/mozilla.dev.platform/_k-ditFrne4, we've got a couple of links that are no longer working.
2016-07-06 11:42:16 +02:00
Jonas Jenwald
2e42c19202 Update l10n files 2016-06-22 09:41:18 +02:00
Jonas Jenwald
7c7d239995 Update l10n files 2016-05-29 12:47:00 +02:00
Jonas Jenwald
990150ce61 Update l10n files 2016-04-19 13:32:25 +02:00
Jonas Jenwald
b589add2b5 Update l10n files 2016-03-25 14:10:56 +01:00
Yury Delendik
262d1e0863 Import L10n files. 2016-03-04 09:50:51 -06:00
Jonas Jenwald
2d61652c75 Update l10n files 2016-02-11 14:33:03 +01:00
Yury Delendik
17780dab31 Import l10n. 2015-12-26 22:37:07 -06:00
Yury Delendik
7f34d40faf Imports L10n. 2015-12-15 10:07:25 -06:00
Tim van der Meij
aa75c4fe4e Merge pull request #6676 from Archaeopteryx/documentColorsQuoteEscaping
document_colors_disabled shouldn't escape quotes (compare-locales warning)
2015-11-22 15:13:13 +01:00
Jonas Jenwald
9de056f242 Update l10n files 2015-11-22 12:06:06 +01:00
Sebastian Hengst
27577a714f Issue #6569 - document_colors_disabled shouldn't escape quotes (compare-locales warning) 2015-11-22 10:14:25 +01:00
Jonas Jenwald
eff28eef3c Update l10n files 2015-10-19 18:15:22 +02:00
Yury Delendik
20b5814249 Update l10n files. 2015-09-21 08:48:19 -05:00
Jonas Jenwald
fef46a2121 Update l10n files 2015-09-13 18:15:45 +02:00
Jonas Jenwald
d1411fabfd Add locatization notes for the DocumentProperties strings with parameters
This should hopefully help prevent localizers from translating the actual parameters.
2015-08-19 13:22:52 +02:00
Jonas Jenwald
78dbf56484 Update l10n files 2015-08-19 12:28:38 +02:00
Jonas Jenwald
94d9a27a67 Update l10n files 2015-07-23 16:59:58 +02:00
Tim van der Meij
5f50f8b291 Localization updates (June 29, 2015) 2015-06-29 19:28:24 +02:00
Yury Delendik
99415a75b7 Update l10n files. 2015-06-18 09:47:47 -05:00
Yury Delendik
b5de3dcea5 Updates l10n files. 2015-05-19 07:36:01 -05:00
Jonas Jenwald
3fd44fd24d Import l10n files 2015-05-06 20:02:20 +02:00
Peter Pin-Guang Chen
67b19cfe8a Bug 1151303 - [zh-TW] Translation update proposed for browser/pdfviewer/viewer.properties:document_properties_mb 2015-04-05 19:08:38 +08:00
Jonas Jenwald
d156007804 Import l10n 2015-04-04 17:57:54 +02:00
Pietro Albini
1da99feef3 Fixed a small typo in the italian translation
In "document_properties_mb", {{size_mb}} was instead {{size_kb}}.
2015-04-03 21:24:34 +02:00
Marcos Neves
47b2e9355f add missing pt-BR page_scale_percent property 2015-04-01 23:57:07 -03:00
Yury Delendik
c17ff30d19 Import l10n. 2015-03-09 23:30:18 -05:00
Jonas Jenwald
00ee6bd6b6 Merge pull request #5693 from collinanderson/whitespace
cleaned whitespace
2015-02-28 10:09:21 +01:00
Yury Delendik
ec7bab651b Import L10n files. 2015-02-26 17:41:03 -06:00
Collin Anderson
54e984c763 cleaned whitespace 2015-02-17 11:07:37 -05:00
Archaeopteryx
deeca31f82 Add missing comma to German add-on description 2015-01-03 20:22:16 +01:00
Yury Delendik
4c57ef68c3 Imports l10n 2015-01-02 09:10:11 -06:00
Yury Delendik
3b9a78d3d8 Merge pull request #5416 from Snuffleupagus/percent-sign-l10n
Allow localization of the placement of percent signs in the zoom box
2014-11-11 08:30:07 -06:00
Yury Delendik
ade8dccb73 Import L10n 2014-11-11 08:27:54 -06:00
Jonas Jenwald
2505c8613b Allow localization of the placement of percent signs in the zoom box 2014-10-21 21:41:06 +02:00
Jonas Jenwald
2eb4acbb8d Update l10n files (October 2014) 2014-10-17 13:49:22 +02:00
Yury Delendik
d6328bbbed Imports L10n 2014-09-20 08:31:13 -05:00
Xavier Fung
0340e4c12f Update zh-TW translation
Update text of "unexpected_response_error".
2014-09-18 16:21:02 +08:00
Jonas Jenwald
ed5fc43510 Add |UnexpectedResponseException| to fix the exception handling when file loading fails because the server responds with a non 404 status message 2014-09-14 11:52:33 +02:00
Yury Delendik
de5ac69e7c Update l10n 2014-09-04 18:21:57 -05:00
Yury Delendik
bd1c7be0cb Import L10n 2014-07-23 10:48:49 -05:00
Jonas Jenwald
a4b71f9c35 Re-add Attachment strings to the Swedish l10n 2014-06-12 23:09:44 +02:00
Tim van der Meij
446bc9cf8b Imports most recent l10n files 2014-06-12 22:01:13 +02:00
Yury Delendik
2b6067c040 Updates l10n 2014-06-04 11:33:37 -05:00
Yury Delendik
c321f51e54 Updates l10n resources 2014-05-28 09:11:40 -05:00
Yury Delendik
812c5accb2 Making sure we are not importing CRs and BOMs 2014-05-28 08:25:27 -05:00
Yury Delendik
6f39d7849f Fixing ca/metadata.inc file 2014-05-23 18:32:37 -05:00
Yury Delendik
210a51c507 Synchronize l10n 2014-05-12 10:26:39 -05:00
fkaelberer
0ae341ebc0 update DE translation (attachments) 2014-05-09 23:42:09 +02:00
Tim van der Meij
2c52e69053 Dutch translations for attachments strings 2014-04-24 21:36:44 +02:00
Tim van der Meij
ee545ddb54 Merge pull request #4644 from Snuffleupagus/attachments-swedish
Add Attachment strings to the Swedish l10n
2014-04-19 13:15:18 +02:00
Xavier Fung
e9a52a2c6c Update of zh-TW 2014-04-19 14:27:13 +08:00
Jonas Jenwald
bd1cfbe8a9 Add Attachment strings to the Swedish l10n 2014-04-19 01:01:28 +02:00
Yury Delendik
a0625ec0e5 Import of l10n 2014-04-18 12:32:13 -05:00
Samuel Chantaraud
25ee0e8572 Preliminary attachments support
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander)
2014-04-18 12:11:00 -04:00
Yury Delendik
7638175315 Sync l10n files 2014-04-03 10:49:55 -05:00
Tim van der Meij
eda3fbe994 Importing all locales from mozilla-aurora, keeping our own metadata.inc files 2014-03-26 23:48:04 +01:00
Tim van der Meij
d2127174c2 Removing translations not present in Aurora: they will be replaced in the next commit with proper language codes 2014-03-26 23:48:02 +01:00
Tim van der Meij
c6f009403d Implements importl10n command 2014-03-26 23:48:02 +01:00
Alexandre Vicenzi
b4ca084d1f Sync pt-BR translations with l10n-mozilla-aurora 2014-03-19 13:58:21 -03:00
Jonas Jenwald
35f5a1ea5e Merge pull request #4294 from deepj/cs-locale
Update cs locale
2014-02-14 12:24:32 +01:00
deepj
8a2b3cdb3a Update cs locale 2014-02-14 12:12:00 +01:00
Minh-Hoang, Nguyen
73d19c5293 Corrected word spelling 2014-02-14 16:40:21 +07:00
deepj
579fb815ad Update cs locale 2014-02-13 23:56:21 +01:00
Haebaru
4ba6570e16 Update ja locale 2014-02-11 10:31:58 -06:00
Peter Pin-Guang Chen
06a24136e5 Backport latest zh-TW strings from l10n-aurora 2014-02-07 00:50:33 +08:00
fkaelberer
ab6fd8c0b8 Update DE translation (doc properties) 2014-01-31 09:20:21 +01:00
Tim van der Meij
744470167a Bengali updates 2014-01-30 19:06:03 +01:00
rabbihossain
cd976066cf update l10n strings and squash commit 2014-01-30 18:24:11 +06:00
Jonas Jenwald
730e536b90 Add Document Properties to the Swedish l10n 2014-01-23 11:35:39 +01:00
Xavier fung
e8239de897 zh-TW translation update for document properties 2014-01-23 10:43:40 +08:00
TheoChevalier
25ad893a25 Update fr locale 2014-01-23 00:50:14 +01:00
Tim van der Meij
c952b6fb85 Miscellaneous improvements for the document properties dialog 2014-01-23 00:30:48 +01:00
Xavier fung
554b6244b6 Document Propeties translation in zh-TW 2014-01-22 11:10:39 +08:00
Tim van der Meij
5f7ded4ff6 Document properties 2014-01-22 00:07:07 +01:00
Jonas Jenwald
1bba4d6da3 Move the Swedish l10n 2014-01-13 18:42:48 +01:00
Xavier fung
d87643e8c1 Add form warning and minor translation update for zh-TW 2014-01-09 11:16:13 +08:00
Tim van der Meij
e6da6106b5 Add forms warning to the Dutch l10n 2014-01-09 00:01:49 +01:00
Jonas Jenwald
873c171e49 Add forms warning to the Swedish l10n 2014-01-08 18:47:31 +01:00
Brendan Dahl
5d080a03bb Show a different warning for PDF’s with forms. 2014-01-07 16:03:45 -08:00
Adolfo Jayme Barrientos
87c3e38edf Update Spanish translation
Sync with latest changes and tweak a string for clarity
2014-01-06 01:31:57 -06:00
haebaru
3196bb4f72 Update ja locale 2013-12-16 16:25:57 +09:00
Peter Pin-Guang Chen
9b5bf9265d Update zh-TW strings again. Pulled from latest mozilla-aurora 2013-12-14 19:58:05 +08:00
lpy
5e744029ff Update viewer.propertiesin l10n for zh-CN 2013-12-12 20:53:05 +08:00
fkaelberer
142ace0180 Comments:
Line 56-58: "Gegen den Uhrzeigersinn" is shorter and more common than "Entgegen dem Uhrzeigersinn" (http://de.wikipedia.org/wiki/Drehrichtung)

Line 60-63: "Hand-Werkzeug" is also used in Acrobat

Line 124,133,..: "PDF" is not a noun. Acrobat, Wikipedia use "PDF-Datei" (="PDF file") instead of "PDF".
The English translation sounds just as bad: "An error occurred while loading the PDF.", "The PDF is not fully loaded for printing."
2013-12-10 09:43:20 +01:00
Xavier fung
950cfd93e4 Hand tool translations for zh-TW 2013-12-09 10:04:18 +08:00
Jonas Jenwald
6cbd6833ba Add hand tool strings to the Swedish l10n 2013-12-07 14:19:30 +01:00
Tim van der Meij
9862dec250 Dutch translations for the hand tool 2013-12-07 13:50:53 +01:00
Rob Wu
3914768085 Implement hand tool
The logic for the hand tool is implemented in a separate project,
maintained at https://github.com/Rob--W/grab-to-pan.js

Integration notes
- Added toggle as an entry under the Secondary toolbar
- Added shortcut "h" to toggle hand tool (to-do: document this in wiki
  after merge). This shortcut is also used in Adobe's Acrobat Reader.

To-do: localizations for:
hand_tool_enable.title=
hand_tool_enable_label=
hand_tool_disable.title=
hand_tool_disable_label=

To-do (wish): persistence of hand tool preference, preferably a global setting.

secondaryToolbarButton-handTool.png created by Stephen Horlander <shorlander@mozilla.com>
2013-12-03 15:51:41 +01:00
Adolfo Jayme Barrientos
1b0842ad7c Update viewer.properties 2013-10-23 00:05:34 -05:00