Changeset 727

Show
Ignore:
Timestamp:
04/14/08 06:47:28 (6 months ago)
Author:
ma..@jesperkristensen.dk
Message:

Merge from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/manage-ui2/src

    • Property svn:ignore changed from
      build
      greasemonkey.xpi
      to
      build
      greasemonkey*.xpi
  • branches/manage-ui2/src/build.sh

    r633 r727  
    11#!/bin/sh 
    2 GMMAX=0 
    3 GMMIN=8 
     2 
     3# Set up variables 
     4GMMAX=${1-0} 
     5GMMIN=${2-8} 
     6GMREL=${3-0} 
    47GMBUILD=`date +"%Y%m%d"` 
    5 GMREL=0 
    6  
    78GMNAME=greasemonkey 
    8  
    99GMVER="$GMMAX.$GMMIN.$GMBUILD.$GMREL" 
    1010GMXPI="$GMNAME-$GMVER.xpi" 
    1111 
    1212# Copy base structure to a temporary build directory and change to it 
     13echo "Creating working directory ..." 
    1314rm -rf build 
    1415mkdir build 
    15 cp chrome.manifest build/ 
    16 cp install.js build/ 
    17 cp install.rdf build/ 
    18 cp license.txt build/ 
    19 cp -r defaults build/ 
    20 cp -r components build/ 
    21 cp -r chrome build/ 
     16cp -r chrome.manifest install.rdf license.txt \ 
     17        defaults components chrome \ 
     18        build/ 
    2219cd build 
    2320 
    24 # Generate locales for chrome.manifest from babelzilla directories, which 
    25 # we assume have been placed in locale/. 
     21echo "Gathering all locales into chrome.manifest ..." 
    2622GMLOC=\"en-US\" 
    27 for entry in $(ls chrome/chromeFiles/locale/); do 
     23for entry in chrome/chromeFiles/locale/*; do 
    2824  if [ $entry != en-US ]; then 
    29     echo "locale  $GMNAME  "$entry"  chrome/chromeFiles/locale/"$entry"/" >> chrome.manifest 
     25    echo "locale  $GMNAME  $entry  chrome/chromeFiles/locale/$entry/" >> chrome.manifest 
    3026    GMLOC=$GMLOC,\ \"$entry\" 
    3127  fi 
    3228done 
    3329 
    34 replace () { 
    35   TMP=`mktemp -t Greasemonkey-build.sh` 
    36   SRC=`echo "$1" | sed 's/[\/\\\\]/\\\\&/g'` 
    37   DST=`echo "$2" | sed 's/[\/\\\\]/\\\\&/g'` 
    38   sed "s/$SRC/$DST/g" "$3" > "$TMP" 
    39   if cmp -s "$3" "$TMP" ; then 
    40     # No change! Treat as a failure to react to in caller. 
    41     rm "$TMP" 
    42     return 1 
    43   fi 
    44   cp "$TMP" "$3" 
    45   rm "$TMP" 
    46   return 0 
    47 
     30echo "Patching install.rdf version ..." 
     31sed "s!<em:version>.*</em:version>!<em:version>$GMVER</em:version>!" \ 
     32  install.rdf > install.rdf.tmp 
     33mv install.rdf.tmp install.rdf 
    4834 
    49 replace '<em:version>.*</em:version>' \ 
    50         '<em:version>'$GMVER'</em:version>' \ 
    51         install.rdf 
     35echo "Cleaning up unwanted files ..." 
     36find . -depth -name '.svn' -exec rm -rf "{}" \; 
     37find . -depth -name '*~' -exec rm -rf "{}" \; 
     38find . -depth -name '#*' -exec rm -rf "{}" \; 
    5239 
    53 find . -name '.svn' -prune -or -name '.DS_Store' -or -name '*~' -or -name '#*' \ 
    54   -or -print | zip -9X -@ "$GMXPI" 
     40echo "Creating $GMNAME.jar ..." 
     41cd chrome 
     42zip -qr0X "$GMNAME.jar" chromeFiles icons 
     43rm -rf chromeFiles icons 
     44cd .. 
    5545 
    56 mv "$GMXPI" ../ 
     46echo "Patching chrome.manifest with jar ..." 
     47sed -e \ 
     48        "/^content\|^skin\|^locale/s#\(.*\) chrome/\(.*\)#\1 jar:chrome/$GMNAME.jar!/\2#" \ 
     49        chrome.manifest > chrome.manifest.jar 
     50mv chrome.manifest.jar chrome.manifest 
    5751 
    58 echo "Created $GMXPI" 
    59 exit 0 
     52echo "Creating $GMXPI ..." 
     53zip -qr9X "../$GMXPI" * 
     54 
     55echo "Cleaning up temporary files ..." 
     56cd .. 
     57rm -rf build 
  • branches/manage-ui2/src/chrome/chromeFiles/content/browser.js

    r701 r727  
    177177      "top", 
    178178      true /* show close button */, 
    179       "I" /* access key */); 
     179      this.bundle.getString("greeting.btnAccess") /* access key */); 
    180180  } else { 
    181181    // Firefox 2.0+ 
     
    198198      [{ 
    199199        label: this.bundle.getString("greeting.btn"), 
    200         accessKey: "I"
     200        accessKey: this.bundle.getString("greeting.btnAccess")
    201201        popup: null, 
    202202        callback: GM_hitch(this, "installCurrentScript") 
  • branches/manage-ui2/src/chrome/chromeFiles/content/config.js

    r700 r727  
    1 // In this file protected properties (prefixed with an underscore) may be 
    2 // used anywhere within this file and versioning.js 
    3  
    41function Config() { 
    52  this._scripts = null; 
    63  this._configFile = this._scriptDir; 
    74  this._configFile.append("config.xml"); 
     5  this._initScriptDir(); 
    86 
    97  this._observers = []; 
     
    331329 
    332330  get _scriptDir() { 
    333     var newDir = this._newScriptDir; 
    334     if (newDir.exists()) return newDir; 
    335  
    336     var oldDir = this._oldScriptDir; 
    337     if (oldDir.exists()) return oldDir; 
    338  
    339     // if we called this function, we want a script dir. 
    340     // but, at this branch, neither the old nor new exists, so create one 
    341     newDir.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755); 
    342  
    343     var defaultConfigFile = getContentDir(); 
    344     defaultConfigFile.append("default-config.xml"); 
    345  
    346     defaultConfigFile.copyTo(newDir, "config.xml"); 
    347     defaultConfigFile.permissions = 0644; 
    348  
    349     return newDir; 
    350   }, 
    351  
    352   get _newScriptDir() { 
    353331    var file = Components.classes["@mozilla.org/file/directory_service;1"] 
    354332                         .getService(Components.interfaces.nsIProperties) 
     
    358336  }, 
    359337 
    360   get _oldScriptDir() { 
    361     var file = getContentDir(); 
    362     file.append("scripts"); 
    363     return file; 
     338  /** 
     339   * Create an empty configuration if none exist. 
     340   */ 
     341  _initScriptDir: function() { 
     342    var dir = this._scriptDir; 
     343 
     344    if (!dir.exists()) { 
     345      dir.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755); 
     346 
     347      var configStream = getWriteStream(this._configFile); 
     348      var xml = "<UserScriptConfig/>"; 
     349      configStream.write(xml, xml.length); 
     350      configStream.close(); 
     351    } 
    364352  }, 
    365353 
    366354  get scripts() { return this._scripts.concat(); }, 
    367   getMatchingScripts: function(testFunc) { return this._scripts.filter(testFunc); } 
     355  getMatchingScripts: function(testFunc) { return this._scripts.filter(testFunc); }, 
     356 
     357  /** 
     358   * Checks whether the version has changed since the last run and performs 
     359   * any necessary upgrades. 
     360   */ 
     361  _updateVersion: function() { 
     362    log("> GM_updateVersion"); 
     363 
     364    // this is the last version which has been run at least once 
     365    var initialized = GM_prefRoot.getValue("version", "0.0"); 
     366 
     367    if (GM_compareVersions(initialized, "0.8") == -1) 
     368      this._pointEightBackup(); 
     369 
     370    // update the currently initialized version so we don't do this work again. 
     371    var extMan = Components.classes["@mozilla.org/extensions/manager;1"] 
     372      .getService(Components.interfaces.nsIExtensionManager); 
     373 
     374    var item = extMan.getItemForID(GM_GUID); 
     375    GM_prefRoot.setValue("version", item.version); 
     376 
     377    log("< GM_updateVersion"); 
     378  }, 
     379 
     380  /** 
     381   * In Greasemonkey 0.8 there was a format change to the gm_scripts folder and 
     382   * testing found several bugs where the entire folder would get nuked. So we 
     383   * are paranoid and backup the folder the first time 0.8 runs. 
     384   */ 
     385  _pointEightBackup: function() { 
     386    var scriptDir = this._scriptDir; 
     387    var scriptDirBackup = scriptDir.clone(); 
     388    scriptDirBackup.leafName += "_08bak"; 
     389    if (scriptDir.exists() && !scriptDirBackup.exists()) 
     390      scriptDir.copyTo(scriptDirBackup.parent, scriptDirBackup.leafName); 
     391  } 
    368392}; 
    369  
    370 Components.classes["@mozilla.org/moz/jssubscript-loader;1"] 
    371   .getService(Components.interfaces.mozIJSSubScriptLoader) 
    372   .loadSubScript("chrome://greasemonkey/content/versioning.js"); 
    373393 
    374394function Script(config) { 
     
    433453    var file = this._config._scriptDir; 
    434454    file.append(this._basedir); 
     455    file.normalize(); 
    435456    return file; 
    436457  }, 
  • branches/manage-ui2/src/chrome/chromeFiles/content/install.xul

    r688 r727  
    4040    > 
    4141      <vbox 
    42         style="background:InfoBackground; border-bottom:1px black dotted; padding:0.5em; margin:0; margin-bottom:0.5em" 
     42        style="background:InfoBackground; color: InfoText; border-bottom:1px black dotted; padding:0.5em; margin:0; margin-bottom:0.5em" 
    4343      > 
    4444        <description id="scriptDescription" 
  • branches/manage-ui2/src/chrome/chromeFiles/content/manage.xul

    r703 r727  
    1010  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    1111  title="&manage.title;" 
     12  persist="screenX screenY width height" 
    1213  orient="vertical"> 
    1314 
     
    5960            <button id="btnUninstall" 
    6061              label="&manage.label.btnUninstall;" /> 
     62            <spacer flex="1"/> 
     63            <button label="&manage.button.close;" oncommand="close();"/> 
    6164          </hbox> 
    6265        </vbox> 
  • branches/manage-ui2/src/chrome/chromeFiles/content/pages-overlay.js

    r699 r727  
    3939    this.listbox = grpBox.getElementsByTagName("listbox")[0]; 
    4040    this.btnAdd = buttons[0]; 
    41     this.btnRemove = buttons[1]; 
     41    this.btnEdit = buttons[1];  
     42    this.btnRemove = buttons[2]; 
    4243 
    4344    this.listbox.addEventListener("select", updatePagesBox, true); 
    4445    this.btnAdd.addEventListener("command", promptForNewPage, true); 
     46    this.btnEdit.addEventListener("command", promptForEdit, true); 
    4547    this.btnRemove.addEventListener("command", remove, true); 
    4648 
     
    6668    function updatePagesBox(ev) { 
    6769      selectedPage = self.listbox.getSelectedItem(0); 
     70      self.btnEdit.disabled = selectedPage == null; 
    6871      self.btnRemove.disabled = selectedPage == null; 
    6972    } 
     
    9194      } 
    9295    } 
     96 
     97    function promptForEdit(ev) {  
     98      var gmManageBundle = document.getElementById("gm-manage-bundle");  
     99      var val = gmPrompt( 
     100        gmManageBundle.getString("promptForEdit.msg"), 
     101        self.listbox.selectedItem.label, 
     102        gmManageBundle.getString("promptForEdit.title")); 
     103  
     104      if (val && val != "") { 
     105        self.type == "includes" ? 
     106          self.script.removeIncludeAt(self.listbox.selectedIndex): 
     107          self.script.removeExcludeAt(self.listbox.selectedIndex); 
     108        self.type == "includes" ? 
     109          self.script.addInclude(val): 
     110          self.script.addExclude(val); 
     111  
     112        dirty = true;  
     113      } 
     114    }; 
    93115 
    94116    this.pageAdded = function(val) { 
  • branches/manage-ui2/src/chrome/chromeFiles/content/pages-overlay.xul

    r688 r727  
    2525            label="&manage.button.add;" /> 
    2626          <button 
     27            label="&manage.button.edit;"  
     28            disabled="true" />  
     29          <button  
    2730            label="&manage.button.remove;" 
    2831            disabled="true" /> 
     
    4548          <button 
    4649            label="&manage.button.add;" /> 
     50          <button  
     51            label="&manage.button.edit;"  
     52            disabled="true" />  
    4753          <button label="&manage.button.remove;" 
    4854            disabled="true" /> 
  • branches/manage-ui2/src/chrome/chromeFiles/content/utils.js

    r701 r727  
    172172 
    173173function launchApplicationWithDoc(appFile, docFile) { 
     174  var args=[docFile.path]; 
     175 
     176  // For the mac, wrap with a call to "open". 
    174177  var xulRuntime = Components.classes["@mozilla.org/xre/app-info;1"] 
    175178                             .getService(Components.interfaces.nsIXULRuntime); 
    176   // See Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=411819 
    177   // TODO: remove this when nsIMIMEInfo works on windows again. 
    178   if (xulRuntime.OS.toLowerCase().substring(0, 3) == "win") { 
    179     var process = Components.classes["@mozilla.org/process/util;1"] 
    180                             .createInstance(Components.interfaces.nsIProcess); 
    181     process.init(appFile); 
    182     process.run(false, // blocking 
    183                 [docFile.path], // args 
    184                 1); // number of args 
    185   } else { 
    186     var mimeInfoService = 
    187         Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"] 
    188                   .getService(Components.interfaces.nsIMIMEService); 
    189     var mimeInfo = mimeInfoService.getFromTypeAndExtension( 
    190         "application/x-userscript+javascript", "user.js" ); 
    191     mimeInfo.preferredAction = mimeInfo.useHelperApp; 
    192     mimeInfo.preferredApplicationHandler = appFile; 
    193     mimeInfo.launchWithFile(docFile); 
    194   } 
     179  if ("Darwin"==xulRuntime.OS) { 
     180    args=["-a", appFile.path, docFile.path] 
     181 
     182    appFile = Components.classes["@mozilla.org/file/local;1"] 
     183                        .createInstance(Components.interfaces.nsILocalFile); 
     184    appFile.followLinks = true; 
     185    appFile.initWithPath("/usr/bin/open"); 
     186  } 
     187 
     188  var process = Components.classes["@mozilla.org/process/util;1"] 
     189                          .createInstance(Components.interfaces.nsIProcess); 
     190  process.init(appFile); 
     191  process.run(false, args, args.length); 
    195192} 
    196193 
     
    273270                   .getService(Components.interfaces.nsIIOService) 
    274271                   .newFileURI(file); 
    275 } 
    276  
    277 function getContentDir() { 
    278   var reg = Components.classes["@mozilla.org/chrome/chrome-registry;1"] 
    279                       .getService(Components.interfaces.nsIChromeRegistry); 
    280  
    281   var ioSvc = Components.classes["@mozilla.org/network/io-service;1"] 
    282                         .getService(Components.interfaces.nsIIOService); 
    283  
    284   var proto = Components.classes["@mozilla.org/network/protocol;1?name=file"] 
    285                         .getService(Components.interfaces.nsIFileProtocolHandler); 
    286  
    287   var chromeURL = ioSvc.newURI("chrome://greasemonkey/content", null, null); 
    288   var fileURL = reg.convertChromeURL(chromeURL); 
    289   var file = proto.getFileFromURLSpec(fileURL.spec).parent; 
    290  
    291   return file 
    292272} 
    293273 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/ca-AD/gm-browser.properties

    r632 r727  
    99greeting.msg=Aquest és script d'usuari de Greasemonkey. Clica instal.lar per començar a utilitzar-lo. 
    1010greeting.btn=Instal.lar 
     11greeting.btnAccess=I 
    1112greetz.0=Hurrah! 
    1213greetz.1=Hola! 
     
    2021alert.failure=Error instal.lant l'script d'usuari 
    2122editor.prompt=Selecciona l'executable de l'Editor de Text (p.ex: "c:\\windows\\notepad.exe") 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Si us plau, posa un nom al teu script 
    2326newscript.nonamespace=Si us plau, dona un espai de noms al teu script 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/cs-CZ/gm-browser.properties

    r632 r727  
    99greeting.msg=Toto je uÅŸivatelskÜ skript rozšíření GreaseMonkey. Klepněte na Instalovat pro začátek jeho pouşívání. 
    1010greeting.btn=Instalovat 
     11greeting.btnAccess=I 
    1112greetz.0=Hurá!  
    1213greetz.1=Nashle...  
     
    2021alert.failure=Chyba při instalaci uÅŸivatelského skriptu: 
    2122editor.prompt=Vyberte textovÜ editor ke spuÅ¡tění 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Please provide a name for your script. 
    2326newscript.nonamespace=Please provide a namespace for your script. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/de-DE/gm-browser.properties

    r632 r727  
    99greeting.msg=Dies ist ein Benutzerskript fÃŒr Greasemonkey. Klicken Sie auf "Installieren", um es benutzen zu können. 
    1010greeting.btn=Installieren 
     11greeting.btnAccess=I 
    1112greetz.0=Hossa! 
    1213greetz.1=Hallo! 
     
    2021alert.failure=Fehler bei der Installation des Benutzerskripts: 
    2122editor.prompt=Text-Editor auswÀhlen (z.B. "C:\\Windows\\notepad.exe") 
     23editor.please_pick_executable=Bitte wÀhlen Sie eine ausfÃŒhrbare Anwendung zur Bearbeitung der Benutzerskripte aus. 
     24editor.could_not_launch=Text-Editor konnte nicht gestartet werden. 
    2225newscript.noname=Bitte geben Sie einen Namen fÃŒr Ihr Skript an. 
    2326newscript.nonamespace=Bitte geben Sie einen Namensraum fÃŒr Ihr Skript an. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/en-US/gm-browser.properties

    r629 r727  
    22menuitem.new=New User Script 
    33menuitem.install=Install This User Script... 
    4  
    54tooltip.disabled=Greasemonkey is disabled. 
    65tooltip.enabled=Greasemonkey is enabled. 
    76tooltip.loading=Loading... 
    8  
    97statusbar.installed=installed successfully 
    10  
    118install.msg=You are about to install the following Greasemonkey user script: 
    129greeting.msg=This is a Greasemonkey user script. Click install to start using it. 
    1310greeting.btn=Install 
    14  
     11greeting.btnAccess=I 
    1512greetz.0=Huzzah! 
    1613greetz.1=Hallo! 
     
    1916greetz.4=Greetings, fellow traveler. 
    2017greetz.5=G'Day! 
    21  
    2218alert.fromURI=Downloading user script... 
    2319alert.fromURI.failure=Could not download user script 
    2420alert.success=Installed successfully. 
    2521alert.failure=Error installing user script: 
    26  
    2722editor.prompt=Please choose your preferred text editor first 
    2823editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
    2924editor.could_not_launch=Could not launch editor. 
    30  
    3125newscript.noname=Please provide a name for your script. 
    3226newscript.nonamespace=Please provide a valid namespace URI for your script.\n(e.g. "http://userscripts.org/users/useridnumber") 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/en-US/gm-manage.properties

    r703 r727  
    22promptForNewPage.title=Add Page 
    33promptForNewPage.defVal=http://foo.com/* 
    4  
    54promptForEdit.msg=Modify the URL of the page below. You can specify multiple pages using the wildcard (*) character. 
    65promptForEdit.title=Edit Page 
    7  
    86uninstallDialogTitle=Uninstall User Script 
    97uninstallTextWithPrefs=You are about to uninstall the user script "%S".\n\nWould you also like to delete associated preferences? 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/en-US/greasemonkey.dtd

    r703 r727  
    11<!ENTITY manage.title "Manage User Scripts"> 
     2<!ENTITY manage.button.close "Close"> 
    23<!ENTITY manage.button.add "Add..."> 
    34<!ENTITY manage.button.edit "Edit..."> 
     
    910<!ENTITY manage.label.btnUninstall "Uninstall"> 
    1011<!ENTITY manage.reorderHelp "Drag-and-drop with the mouse or press Alt-Up/Alt-Down to reorder scripts in this list."> 
    11  
    1212<!ENTITY menu.install "Install User Script..."> 
    1313<!ENTITY menu.install.accesskey "I"> 
     
    2020<!ENTITY menu.manage "Manage User Scripts..."> 
    2121<!ENTITY menu.manage.accesskey "M"> 
    22  
    23 <!ENTITY statusbar.noscripts "No installed scripts match this page"> 
     22<!ENTITY statusbar.noscripts "No scripts installed!"> 
    2423<!ENTITY statusbar.enabled "Enabled"> 
    2524<!ENTITY statusbar.enabled.accesskey "E"> 
    26  
    2725<!ENTITY install.title "Greasemonkey Installation"> 
    2826<!ENTITY install.runson "runs on:"> 
     
    3230<!ENTITY install.showscriptsource "Show Script Source"> 
    3331<!ENTITY install.installbutton "Install"> 
    34  
    3532<!ENTITY newscript.name "Name"> 
    3633<!ENTITY newscript.namespace "Namespace"> 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/es-ES/gm-browser.properties

    r632 r727  
    99greeting.msg=Esto es un Script de Greasemonkey. Pulsa instalar para su uso. 
    1010greeting.btn=Instalar 
     11greeting.btnAccess=I 
    1112greetz.0=Saludos! 
    1213greetz.1=Hola! 
     
    2021alert.failure=Error instalando el Script: 
    2122editor.prompt=Elige un editor de texto (e.g. "c:\\windows\\notepad.exe") 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Please provide a name for your script. 
    2326newscript.nonamespace=Please provide a namespace for your script. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/eu-ES/gm-browser.properties

    r632 r727  
    99greeting.msg=Honako hau Greasemonkey script bat da. Sakatu Instalatu erabili ahal izateko. 
    1010greeting.btn=Instalatu 
     11greeting.btnAccess=I 
    1112greetz.0=Epa! 
    1213greetz.1=Aupa! 
     
    2021alert.failure=Akatsa scripta instalatzean: 
    2122editor.prompt=Hautatu testu editore bat (adb. "c:\\windows\\notepad.exe") 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Please provide a name for your script. 
    2326newscript.nonamespace=Please provide a namespace for your script. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/fa-IR/gm-browser.properties

    r632 r727  
    99greeting.msg=This is a Greasemonkey user script. Click install to start using it. 
    1010greeting.btn=Install 
     11greeting.btnAccess=I 
    1112greetz.0=Huzzah!  
    1213greetz.1=Hallo! 
     
    2021alert.failure=Error installing user script: 
    2122editor.prompt=Choose an Executable Text Editor (e.g. "c:\\windows\\notepad.exe") 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Please provide a name for your script. 
    2326newscript.nonamespace=Please provide a namespace for your script. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/fa-IR/greasemonkey.dtd

    r673 r727  
    2020<!ENTITY menu.manage "Manage User Scripts..."> 
    2121<!ENTITY menu.manage.accesskey "M"> 
    22 <!ENTITY statusbar.noscripts "No installed scripts match this page"> 
     22<!ENTITY statusbar.noscripts "No scripts installed!"> 
    2323<!ENTITY statusbar.enabled "Enabled"> 
    2424<!ENTITY statusbar.enabled.accesskey "E"> 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/fi-FI/gm-browser.properties

    r632 r727  
    99greeting.msg=TÀmÀ on Greasemonkey-skripti. Paina "Asenna" jatkaaksesi. 
    1010greeting.btn=Asenna 
     11greeting.btnAccess=A 
    1112greetz.0=Huzzaa!  
    1213greetz.1=Moro! 
     
    2021alert.failure=Skriptin asennuksessa tapahtui virhe: 
    2122editor.prompt=Valitse tekstieditori (esim. "c:\\windows\\notepad.exe") 
     23editor.please_pick_executable=Please pick an executable application to use to edit user scripts. 
     24editor.could_not_launch=Could not launch editor. 
    2225newscript.noname=Anna skriptillesi nimi. 
    2326newscript.nonamespace=MÀÀritÀ skriptisi nimiavaruus. 
  • branches/manage-ui2/src/chrome/chromeFiles/locale/fr-FR/gm-browser.properties