From de10968498499cd8193bc2e52c841f272a82a55c Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 5 Jun 2013 23:14:03 +0200 Subject: [PATCH] [PasswordsManager] Make names of backend translatable. AutoFill needs to have Q_OBJECT macro for QObject::tr function. --- src/lib/autofill/autofill.h | 2 + translations/empty.ts | 353 +++++++++++++++++++----------------- 2 files changed, 186 insertions(+), 169 deletions(-) diff --git a/src/lib/autofill/autofill.h b/src/lib/autofill/autofill.h index c23f3413b..94e428d06 100644 --- a/src/lib/autofill/autofill.h +++ b/src/lib/autofill/autofill.h @@ -34,6 +34,8 @@ struct PasswordEntry; class QT_QUPZILLA_EXPORT AutoFill : public QObject { + Q_OBJECT + public: explicit AutoFill(QObject* parent = 0); diff --git a/translations/empty.ts b/translations/empty.ts index b11b0e99e..dbb4cfc33 100644 --- a/translations/empty.ts +++ b/translations/empty.ts @@ -182,58 +182,58 @@ AdBlockIcon - + AdBlock lets you block unwanted content on web pages - + Blocked popup window - + AdBlock blocked unwanted popup window. - + AdBlock - + Show AdBlock &Settings - + Disable on %1 - + Disable only on this page - + Blocked Popup Windows - - + + %1 with (%2) - + No content blocked - + Blocked URL (AdBlock Rule) - click to edit rule @@ -2195,22 +2195,22 @@ LocationBar - + Enter URL address or search on %1 - + Paste And &Go - + Clear All - + .co.uk Append domain name on ALT + Enter = Should be different for every country @@ -2291,8 +2291,8 @@ - - + + Clear history @@ -2422,6 +2422,16 @@ Choose location... + + + File '%1' already exists. Do you want to overwrite it? + + + + + File already exists + + PluginsList @@ -2628,7 +2638,7 @@ - + QupZilla @@ -2983,579 +2993,584 @@ - Select all text by double clicking in address bar + Always show go icon - Select all text by clicking in address bar + Select all text by double clicking in address bar - Add .co.uk domain by pressing ALT key + Select all text by clicking in address bar + Add .co.uk domain by pressing ALT key + + + + Search with Default Engine - + Show loading progress in address bar - + Fill - + Bottom - + Top - + Custom color: - + Select color - - - - - + + + + + ... - + Reset - + Web Configuration - + Allow Netscape Plugins (Flash plugin) - + Allow JavaScript - + Allow JAVA - + Allow DNS Prefetch - + Enable XSS Auditing try to detect possible XSS attacks when executing javascript - + Print element background when you are printing page (on printer), it determine whether to also print background (color, image) of html elements - + Include links in focus chain focus also links on page (basically <a> elements) when pressing Tab key - + Animated scrolling - + Enable caret browsing - + Enable spatial navigation - + Zoom text only - + Mouse wheel scrolls - + lines on page - + Default zoom on pages: - + Local Storage - + Maximum - + 50 MB - + 1 - + Maximum pages in cache: - + Allow storing network cache on disk - + Store cache in: - + Allow saving history - + Delete history on close - + Allow local storage of HTML5 web content - + Delete locally stored HTML5 web content on close - + Delete now - + Proxy Configuration - + Proxy Auto-Config (.pac) file - + Reload - + HTTP - + SOCKS5 - - + + Port: - - + + Username: - - + + Password: - + Don't use on: - + Manual configuration - + System proxy configuration - + Do not use proxy - + <b>Exceptions</b> - + Server: - + Use different proxy for https connection - + Use script for automatic configuration: - + <b>Font Families</b> - + Standard - + Fixed - + Serif - + Sans Serif - + Cursive - + Fantasy - + <b>Font Sizes</b> - + Fixed Font Size - + Default Font Size - + Minimum Font Size - + Minimum Logical Font Size - + <b>Shortcuts</b> - + Switch to tabs with Alt + number of tab - + Load speed dials with Ctrl + number of speed dial - + <b>Download Location</b> - + Ask everytime for download location - + Use defined location: - + <b>Download Options</b> - + Use native system file dialog (may or may not cause problems with downloading SSL secured content) - + Close download manager when downloading finishes - + <b>External download manager</b> - + Use external download manager - + Executable: - + Arguments: - + Leave blank if unsure - + <b>%d</b> will be replaced with URL to be downloaded - + <b>AutoFill options</b> - + Allow saving passwords from sites - + Send Referer header to servers - + <b>Cookies</b> - + Send Do Not Track header to servers - - + + <b>Other</b> - + Manage CA certificates - + Certificate Manager - + <b>SSL Certificates</b> - + <b>JavaScript</b> - + Manage JavaScript privacy options - + JavaScript options - + Cookies Manager - + Manage Cookies - + <b>HTML5 Permissions</b> - + Manage HTML5 permissions - + HTML5 Permissions - + <b>Notifications</b> - + Use OSD Notifications - + Use Native System Notifications (Linux only) - + Do not use Notifications - + Expiration timeout: - + seconds - + <b>Note: </b>You can change position of OSD Notification by dragging it on the screen. - + StyleSheet automatically loaded with all websites: - + Languages - + <b>Preferred language for web sites</b> - + <b>Change browser identification</b> - + User Agent Manager - + Default - + Set as default @@ -3631,7 +3646,7 @@ - + Select Color @@ -4071,88 +4086,88 @@ - + Restore &Closed Tab - + (Private Browsing) - - - - - + + + + + Empty - + Restore All Closed Tabs - + Clear list - + Other - + %1 - QupZilla - + HTML files - + Image files - + Text files - + All files - + Open file... - - + + QupZilla %1 (%2) - + There are still %1 open tabs and your session won't be stored. Are you sure to quit QupZilla? - + Don't ask again - + There are still open tabs @@ -5619,44 +5634,44 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla - + List of tabs - + Loading... - + No Named Page - + Currently you have %1 opened tabs - + New tab - + Empty - + Restore All Closed Tabs - + Clear list