Skip to content

Commit

Permalink
Merge branch 'release-1.14.0rc7'
Browse files Browse the repository at this point in the history
* release-1.14.0rc7:
  Update version info.
  Update version info.
  core: compatible with Firefox 53
  save: fix for drag tab support in Firefox >= 52
  Update for the German message.properties
  Update German language file
  save: code optimization
  • Loading branch information
danny0838 committed Feb 5, 2017
2 parents a6d3439 + f0760b9 commit 8f47c09
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 174 deletions.
2 changes: 1 addition & 1 deletion chrome/content/scrapbook/saver.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ sbContentSaverClass.prototype = {
var tmpRefURL = this.refURLObj;
// retrieve contentDocument from the corresponding real frame
var idx = aNode.getAttribute(this.elemMapKey);
var newFileName = this.saveDocumentInternal(this.elemMapOrig[idx].contentDocument, this.documentName + "_" + (parseInt(++this.frameCount)));
var newFileName = this.saveDocumentInternal(this.elemMapOrig[idx].contentDocument, this.documentName + "_" + (++this.frameCount));
aNode.setAttribute("src", this.escapeURL(newFileName, null, true));
this.refURLObj = tmpRefURL;
} else {
Expand Down
4 changes: 3 additions & 1 deletion chrome/content/scrapbook/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ var sbTreeHandler = {
dataTransfer.dropEffect = "none";
}
} else if (dataTransfer.types.contains("application/x-moz-tabbrowser-tab") ||
dataTransfer.types.contains("text/x-moz-text-internal") ||
dataTransfer.types.contains("text/x-moz-url") ||
dataTransfer.types.contains("text/_moz_htmlcontext")) {
event.preventDefault();
Expand Down Expand Up @@ -182,7 +183,8 @@ var sbTreeHandler = {
var showDetail = dataTransfer.dropEffect == "copy";
// drags a tab from Firefox
// => if it's the current tab, capture/bookmark it
if (dataTransfer.types.contains("application/x-moz-tabbrowser-tab")) {
// since Firefox >= 52, dragging a tab gets only "text/x-moz-text-internal" (originally plus "application/x-moz-tabbrowser-tab")
if (dataTransfer.types.contains("application/x-moz-tabbrowser-tab") || dataTransfer.types.contains("text/x-moz-text-internal")) {
var tab = dataTransfer.mozGetDataAt("application/x-moz-tabbrowser-tab", 0);
if (tab instanceof XULElement && tab.localName == "tab" &&
tab.ownerDocument.defaultView instanceof ChromeWindow &&
Expand Down
230 changes: 115 additions & 115 deletions chrome/locale/de/scrapbook/message.dtd

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions chrome/locale/de/scrapbook/message.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ RESULTS_FOUND=%S Ergebnis(se) gefunden

MAX_COMMENT=Beschreibungsfeld vergrößern
MIN_COMMENT=Beschreibungsfeld verkleinern
EDIT_UNDO_LAST=There is no history to undo
EDIT_SAVE_CHANGES=The page is modified with ScrapBook. Be sure to discard them?
EDIT_REMOVE_HIGHLIGHT=Clear this ScrapBook note
EDIT_UNDO_LAST=Es gibt keine Änderungen die rückgängig gemacht werden müssen
EDIT_SAVE_CHANGES=Die Seite wurde mit ScrapBook modifiziert. Sollen die Änderungen verworgen werden?
EDIT_REMOVE_HIGHLIGHT=Lösche diese ScrapBook Notiz
EDIT_INLINE=Zeilenkommentar für "%S" bearbeiten
EDIT_ATTACH_LINK_TITLE=Attach Link
EDIT_ATTACH_INNERLINK_TITLE=Attach Inner Link
EDIT_ATTACH_FILE_TITLE=Attach File
EDIT_ATTACH_INNERLINK_ENTER=Input the item ID:
EDIT_ATTACH_INNERLINK_INVALID=Invalid item ID: %S
EDIT_ATTACH_FILE_OVERWRITE=Would you like to overwrite the file '%S'?
EDIT_ATTACH_FILE_INVALID=Unable to write '%S'.
EDIT_ATTACH_LINK_TITLE=Link anhängen
EDIT_ATTACH_INNERLINK_TITLE=Inneren Link anhängen
EDIT_ATTACH_FILE_TITLE=Datei anhängen
EDIT_ATTACH_INNERLINK_ENTER=Item ID eintragen:
EDIT_ATTACH_INNERLINK_INVALID=Ungültige Item ID: %S
EDIT_ATTACH_FILE_OVERWRITE=Soll die Datei '%S' überschrieben werden?
EDIT_ATTACH_FILE_INVALID=Unmöglich '%S' zu schreiben.
SAVE=Archivieren... (%S) %S
SAVE_COMPLETE=Archivierung abgeschlossen
PAGE_SAVED=This page has %S saved version(s)!
PAGE_SAVED=Diese Seite hat %S gespeicherte Version(en)!
PAGE_SAVED_VIEW=View
TRANSFER_DATA=Daten werden übertragen... (%S Bytes)
DOWNLOAD_DATA=Downloading data... %S (%S)
DOWNLOAD_DATA=Daten herunterladen... %S (%S)
ROOT_FOLDER=Hauptordner
SELECT_FOLDER=Ordner auswählen...

Expand All @@ -69,14 +69,14 @@ ADDRESS=URL:
TYPE_FOLDER=Ordner
TYPE_PAGE=Seite
TYPE_NOTE=Notiz
TYPE_NOTEX=Note Page
TYPE_NOTEX=Notiz-Seite
TYPE_FILE=Datei
TYPE_COMBINE=Zusammengefasste Seite
TYPE_INDEPTH=Verknüpfte Seitenstruktur (ausführliche Archivierung)
TYPE_BOOKMARK=Lesezeichen
TYPE_SEPARATOR=Trennlinie
FILES_COUNT=%S (%S Files, %S Folders)
ITEMS_COUNT=%S (%S Folders, %S Items)
FILES_COUNT=%S (%S Dateien, %S Ordner)
ITEMS_COUNT=%S (%S Ordner, %S Items)
CALCULATING=Berechnung läuft... (%S/%S)
DIAGNOSIS_OK=Keine Fehler gefunden
DIAGNOSIS_NG=Gefundene Fehler: %S
Expand All @@ -89,7 +89,7 @@ INVALID=fehlerhaft

ROOT_FOLDER=Hauptordner
DEFAULT_FOLDER=Neuer Ordner
DEFAULT_NOTEX=New Note Page
DEFAULT_NOTEX=Neue Notiz-Seite
SEARCH_RESULTS_FOUND=%S Ergebnis(se) gefunden.
ITEMS_REMOVED=%S Einträge entfernt
COMPLETED=Abgeschlossen
Expand All @@ -101,46 +101,46 @@ START_BUTTON=Starten
SCANNING_TREE=Scanvorgang... (%S)
SCANNING_DIR=Scanvorgang (%S/%S)... %S
SCANNING_FILE=Scanvorgang... (%S/%S)
ERR_FAIL_GET_DIR=ScrapBook FATAL ERROR: Failed to get data directory '%S'.
ERR_FAIL_REMOVE_FILE=ScrapBook ERROR: Failed to remove file '%S'.\n\n%S
ERR_FAIL_WRITE_FILE=ScrapBook ERROR: Failed to write file '%S'.\n\n%S
ERR_FILE_NOT_EXIST=ScrapBook ERROR: File '%S' does not exist.
ERR_FAIL_EXEC_FILE=ScrapBook ERROR: File '%S' is not executable.
MSG_LARGE_COMMENT=ScrapBook NOTICE: Too long comment makes ScrapBook slow.
ERR_FAIL_SET_PREF=Unable to set pref: %S
WARN_DOUBLE_ENTRY=ScrapBook WARNING: Found double entries of resource '%S'.
ERR_NO_FILE2URL=ScrapBook ERROR: Could not find 'sb-file2url.txt'.
ERR_NO_URL2NAME=ScrapBook ERROR: Could not find 'sb-url2name.txt'.
ERR_NO_SOURCE_URL=ScrapBook ERROR: Could not find the source URL for '%S'.
ERR_INAVLID_REGEXP=RegExp syntax invalid: %S
ERR_FAIL_NOT_INTERNALIZE_TYPE=ScrapBook ERROR: You can do this only for HTML files.
ERR_FAIL_GET_DIR=ScrapBook FATALER FEHLER: Holen des Daten-Verzeichnisses '%S' fehlgeschlagen.
ERR_FAIL_REMOVE_FILE=ScrapBook FEHLER: Löschen der Datei '%S' fehlgeschlagen.\n\n%S
ERR_FAIL_WRITE_FILE=ScrapBook FEHLER: Schreiben der Datei '%S' fehlgeschlagen.\n\n%S
ERR_FILE_NOT_EXIST=ScrapBook FEHLER: Datei '%S' existiert nicht.
ERR_FAIL_EXEC_FILE=ScrapBook FEHLER: Datei '%S' ist nicht ausführbar.
MSG_LARGE_COMMENT=ScrapBook HINWEIS: Zu langer Kommentar verlangsamt Scrapbook.
ERR_FAIL_SET_PREF=Kann Einstellung nicht setzen: %S
WARN_DOUBLE_ENTRY=ScrapBook WARNUNG: Doppelte Einträge der Ressource '%S' gefunden.
ERR_NO_FILE2URL=ScrapBook FEHLER: Kann 'sb-file2url.txt' nicht finden.
ERR_NO_URL2NAME=ScrapBook FEHLER: Kann 'sb-url2name.txt' nicht finden.
ERR_NO_SOURCE_URL=ScrapBook FEHLER: Kann die Ursprungs-URL für '%S' nicht funden.
ERR_INAVLID_REGEXP=RegExp Syntax ungültig: %S
ERR_FAIL_NOT_INTERNALIZE_TYPE=ScrapBook FEHLER: Dies geht nur mit HTML-Dateien.
ERR_FAIL_INIT_SCRAPBOOKDIR=ScrapBook ERROR: Unable to initialize ScrapBook directory at '%S'. Fallback to profile folder.
ERR_FAIL_INIT_DATASOURCE=ScrapBook ERROR: Failed to initialize datasource.\n\n%S
ERR_FAIL_ADD_RESOURCE=ScrapBook ERROR: Failed to add resource to datasource.\n\n%S
ERR_FAIL_ADD_RESOURCE1=ScrapBook ERROR: Failed to add resource to datasource (1).\n\n%S
ERR_FAIL_ADD_RESOURCE2=ScrapBook ERROR: Failed to add resource to datasource (2).\n\n%S
ERR_FAIL_SAVE_FILE=ScrapBook ERROR: Cannot save file '%S'.
MSG_CANT_SAVE_LOCKED=This item is locked and cannot be saved.
MSG_CANT_MODIFY=ScrapBook ERROR: Cannot modify the content of files with type %S.
MSG_NOT_UTF8=ScrapBook NOTICE: '%S' is not UTF-8 encoded, unsupported chars may lose after saving.
ERR_UNKNOWN_DATA_TYPE=ScrapBook ERROR: Unknown data type %S.
MSG_ATTACH_ACROSS_TAGS=ScrapBook ERROR: Can't attach a link across HTML tags.
ERR_FAIL_READ_FILE_SIZE=ScrapBook ERROR: Cannot read file size from '%S'. (maybe due to long or improper file name)
MSG_NO_BACKUP_FILES=No backup files found.
ERR_FAIL_DOWNLOAD_FILE=*** Could not download file '%S'\n\n%S
ERR_FAIL_COPY_FILE="*** Could not copy file '%S'\n\n%S
ERR_FAIL_REMOVE_RESOURCE=ScrapBook ERROR: Failed to remove resource '%S' from datasource.
ERR_TRADE_INVALID_ARGS=Invalid agurments in sbTradeService::parseIndexDat.
ERR_FAIL_SEND=ScrapBook FATAL ERROR.
ERR_SEARCH_REGEXP_INAVLID=ERROR: Invalid regular expression '%S'
ERR_SEARCH_DATE_INAVLID=ERROR: Invalid date format '%S'
MSG_UPDATE_PREFS=Successfully updated preferences. Restart Firefox to apply full changes.
ERR_UPDATE_PREFS=ERROR: Failed to update preferences.\n\n%S
ERR_SAVE_DOWNLINKFILTER=The following RegExps are invalid and will be skipped on execution. Stop and fix them now?\n\n%S
ERR_SAVE_DOWNLINKFILTER_LINE=Line %S: %S
ERR_FAIL_MAKE_CONTAINER=Unable to convert the item to a folder.\n\n%S
ERR_FAIL_UNMAKE_CONTAINER=Unable to convert the item to a non-folder.\n\n%S
ERR_FAIL_UNMAKE_CONTAINER_NONEMPTY=The item must contain no subitems to be converted to a non-folder.
ERR_FAIL_INIT_DATASOURCE=ScrapBook FEHLER: Initialisieren der Datenquelle fehlgeschlagen.\n\n%S
ERR_FAIL_ADD_RESOURCE=ScrapBook FEHLER: Hinzufügen der Ressource zur Datenquelle fehlgeschlagen.\n\n%S
ERR_FAIL_ADD_RESOURCE1=ScrapBook FEHLER: Hinzufügen der Ressource zur Datenquelle fehlgeschlagen (1).\n\n%S
ERR_FAIL_ADD_RESOURCE2=ScrapBook FEHLER: Hinzufügen der Ressource zur Datenquelle fehlgeschlagen (2).\n\n%S
ERR_FAIL_SAVE_FILE=ScrapBook FEHLER: Kann Datei '%S' nicht speichern.
MSG_CANT_SAVE_LOCKED=Dieses Item ist gesperrt und kann nicht gespeichert werden.
MSG_CANT_MODIFY=ScrapBook FEHLER: Kann den Inhalt der Dateien des Typs %S modifizieren.
MSG_NOT_UTF8=ScrapBook NOTICE: '%S' ist nicht UTF-8 kodiert, nicht unterstützte Zeichen können nach dem Speichern verloren gehen..
ERR_UNKNOWN_DATA_TYPE=ScrapBook ERROR: Unbekannter Datentyp %S.
MSG_ATTACH_ACROSS_TAGS=ScrapBook ERROR: Kann einen Link nicht über HTML-Tags anfügen.
ERR_FAIL_READ_FILE_SIZE=ScrapBook ERROR: Kann die Dateigröße von '%S' nicht lesen. (eventuell durch langen oder ungültigen Dateinamen)
MSG_NO_BACKUP_FILES=Keine Backup-Dateien gefunden.
ERR_FAIL_DOWNLOAD_FILE=*** Kann Datei '%S' nicht herunterladen\n\n%S
ERR_FAIL_COPY_FILE="*** Kann Datei '%S' nicht kopieren\n\n%S
ERR_FAIL_REMOVE_RESOURCE=ScrapBook ERROR: Löschen der Ressource '%S' aus der Datenquelle fehlgeschlagen.
ERR_TRADE_INVALID_ARGS=Ungültiges Argument in sbTradeService::parseIndexDat.
ERR_FAIL_SEND=ScrapBook FATALEL FEHLER.
ERR_SEARCH_REGEXP_INAVLID=FEHLER: Ungültiger regulärer Ausdruck '%S'
ERR_SEARCH_DATE_INAVLID=FEHLER: Ungültiges Zeit-Format '%S'
MSG_UPDATE_PREFS=Einstellungen erfolgreich aktualisiert. Firefox neustarten um alle Änderungen zu übernehmen.
ERR_UPDATE_PREFS=FEHLER: Aktualisieren der Einstellungen fehlgeschlagen.\n\n%S
ERR_SAVE_DOWNLINKFILTER=Die folgenden regularen Ausdrücke sind ungültig und werden beim ausführen übersprungen. Stoppen um sie jetzt anzupassen?\n\n%S
ERR_SAVE_DOWNLINKFILTER_LINE=Linie %S: %S
ERR_FAIL_MAKE_CONTAINER=Unfähig das Item in einen Ordner zu konvertieren.\n\n%S
ERR_FAIL_UNMAKE_CONTAINER=Unfähig das Item zu einem nicht-Ordner zu konvertieren.\n\n%S
ERR_FAIL_UNMAKE_CONTAINER_NONEMPTY=Das Item darf kein darunterliegendes Item haben um zu einem nicht-Ordner konvertiert zu werden.


# -----------------------------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions doc/releases/1.13.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Scrapbook X 1.13.9
==================

Changes since v1.13.8
---------------------

* Fixed an issue that the number of saved frame pages does not start
from 1.

* Fixed an issue that dragging tabs to the Scrapbook sidebar does not
work in Firefox >= 51.

Also includes some localization improvements.
10 changes: 10 additions & 0 deletions doc/releases/1.14.0rc7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Scrapbook X 1.14.0rc7
=====================

Changes since v1.14.0rc6
------------------------

* Fixed an issue that dragging tabs to the Scrapbook sidebar does not
work in Firefox >= 51.

Also includes some code clean-up and localization improvements.
4 changes: 2 additions & 2 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:type>2</em:type>
<em:version>1.14.0rc6</em:version>
<em:version>1.14.0rc7</em:version>
<em:unpack>false</em:unpack>
<em:bootstrap>false</em:bootstrap>
<em:multiprocessCompatible>false</em:multiprocessCompatible>
Expand All @@ -19,7 +19,7 @@
<!-- Firefox -->
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>4.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
<em:maxVersion>53.*</em:maxVersion>
</Description>
</em:targetApplication>

Expand Down

0 comments on commit 8f47c09

Please sign in to comment.