- Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone
- Don't write out all the charsets while loading the charset menu
This commit is contained in:
parent
6a8be039d0
commit
3611a4ea30
2 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,6 @@ var Zotero_Charset_Menu = new function() {
|
||||||
// add charsets to popup in order
|
// add charsets to popup in order
|
||||||
while(charsets.hasMore()) {
|
while(charsets.hasMore()) {
|
||||||
var charset = charsets.getNext();
|
var charset = charsets.getNext();
|
||||||
Zotero.debug(charset);
|
|
||||||
try {
|
try {
|
||||||
var label = charsetConverter.getCharsetTitle(charset);
|
var label = charsetConverter.getCharsetTitle(charset);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
|
@ -910,6 +910,9 @@ Zotero.Translate.Base.prototype = {
|
||||||
|
|
||||||
// if there are translators, add them to the list of found translators
|
// if there are translators, add them to the list of found translators
|
||||||
if(rpcTranslators) {
|
if(rpcTranslators) {
|
||||||
|
for(var i=0, n=rpcTranslators.length; i<n; i++) {
|
||||||
|
rpcTranslators[i].runMode = Zotero.Translator.RUN_MODE_ZOTERO_STANDALONE;
|
||||||
|
}
|
||||||
this._foundTranslators = this._foundTranslators.concat(rpcTranslators);
|
this._foundTranslators = this._foundTranslators.concat(rpcTranslators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue