Archive

Posts Tagged ‘language’

New: margu-NotebookInfo2 Version 2.2.4

June 8th, 2010 margu 14 comments

Only a small update because I’m heavy employed the last month.

This update adds support for danish and hungarian language. Further you can add parameters to program calls for the calendar app.

As usual you can download the update on my Download Page.


Credits

July 7th, 2009 margu No comments

I got much assistance on the programming of my gadgets and would like to thank you on this way.

for scripting in general:

  • selfhtml.de: this is the german source for tutorials and help about HTML, Javascript, CSS, DHTML


at margu-NotebookInfo2:

  • link8583 (coding hints from his battery gadget)
  • orbmu2k (amongst coding hints from his network gadgets, I used the NetLib.dll from his gadget in earlier versions of my gadget)
  • Julien Mancini (suggestions and coding hints from his gadget for remaining battery time)
  • Vista_Toshiba (suggestions and coding hints from his gadget for remaining battery time)
  • Asysoft (suggestions from his battery gadget)
  • David Taraso (code suggestions of his wifi gadget)
  • Selim Saygí (translation to turkish language)
  • Dimitry Taur (design suggestion from his gadget Beaker CPU Meter)
  • dieseyer (script suggestions for hidden exec)
  • dhtmlgoodies.com (a wonderful dhtml color-picker)
  • Ken Wishart (got superb inspiration from his klikClock)
  • John Walker (for the Fourmilab Calendar Converter)
  • Minno Doeven (translation to dutch language)
  • Kisath (translation to danish language)
  • Mariano (translation to spanish language)
  • Terje Berentsen (translation to norwegian language)

Changelog

April 29th, 2009 margu No comments


Changelog

 

2.2.6 02/08/2010

  • added: norwegian language

2.2.5 08/06/2010

  • added: spanish language

2.2.4 08/06/2010

  • added: danish language
  • added: for the Program which is defined for start by a click on calendar it’s now possible to save additional arguments (parameters) for program start. For example, to start Calendar of installed MS Office12 Outlook you can now put the argument “/select outlook:calendar” in the arguments field on settings page.
  • added: hungarian language


2.2.2 08/09/2009

  • added: option to show a 2nd clock with different timezone (either alarm is possible for this clock).
  • added: now you can start an application of your needs by a click on the actual day on calendar (default: Windows Calendar).
  • added/changed: now support for MultiCore CPU on usage module. You can select for how many of your cpu cores you want to see the usage.
  • fixed: gadget goes blank if settings are not set after first start/installation.
  • fixed: “Powerplan” on Powerplan module isn’t translatable in localization.js.
  • changed: some code changes to hopefully fix the error which causes the gadget and settings go blank on some notebooks.
  • changed: little changes on layout.

 

2.2.1 02/09/2009

  • fixed: powerplans module leave blank on some Win7 machines.
  • added: dutch language.


2.2.0 01/09/2009

  • added: calendar module (formats: ISO, US, Julian, Islamic)
  • added: option to switch to old style of WiFi signal bar
  • fixed: own choosen alarm sound don’t play.
  • changed: preview images updated.
  • changed: little changes on powerplan buttons and status/usage bars
  • changed: rewritten uptime module in JavaScript to get rid of VBScript code and prevent some script errors.


2.1.3 14/08/2009

  • added: possibility to choose an own sound file for alarm.
  • fixed: gadget stops working sometimes after hibernate/suspend. Added an internal check if computer was hibernated/suspended and reset all internal timeout counters. Hope this will fix the problem.
  • fixed: gadget get lost of settings. An error in my update-check routine causes the problem.
  • changed: little changes on ram module to make it more suitable to other modules.


2.1.2 11/08/2009

  • added: font can be changed for the gadget now.
  • added: option to set background to transparent. IMPORTANT: This is only experimental yet, because I’m searching for a good alternative method to go around the “magenta-bug” of the sidebar.
  • fixed: bouncing hour and minute are wrong positioned after full hour change.
  • fixed: problems downloading the .gadget file. I changed the automatic and manual update so now it collect the .zip file from my server instead.
  • fixed: “Display in GHz” checkbox isn’t disabled if CPU module is deactivated.
  • fixed: colour of battery info don’t change sometimes.
  • changed: more preselect date formats and they are shown in realtime


2.1.1 04/08/2009

  • fixed: alarm on critical battery level don’t play sometimes. Now not only the system beep is used but also a wav file is played.
  • fixed: gadget stop working in Vista while running on battery if remaining time is collected from Windows.
    Fix isn’t perfect, because now it stuck every 15 seconds.
    No problems at Windows7.
    Still working on it.
  • changed: usage bars are now using the gadget colours for normal, warn, critical status
  • changed: WiFi and battery status bar adapted to the design of the CPU/RAM usage bars and are now using the gadget colours for normal, warn, critical status too.
  • changed: little optical changes on settings page tabs.


2.1.0 31/07/2009

  • added: clock with date, time and alarm. Time is animated.
    • timezone can be selected for clock
    • if clock animation is disabled you get the opportunity to name the clock. The name will be shown instead of the seconds.
    • if date format is deselected you get the opportunity to name the date field. The name will be shown instead of the date.
    • preset times for adding alarm
    • alarm can be used with and without sound
    • animation of clock can be disabled
  • added: automatically recalculate refresh timer depending on the runtime of activated module
  • added: sequence of modules can be changed
  • added: possibility to switch themes
    • preview of modules sequence
    • preview of choosen background colour
    • preview of choosen text colours
  • added: playing alarm beep on critical battery level
  • added: new module for switching powerplans
  • fixed: ram usage bar don’t change colour if more than 90% of ram used
  • fixed: LAN status won’t show correct if WiFi isn’t connected
  • changed: automatically check for updates will only once a day run the version check now
  • changed: background and text colours on flyout and setting pages are using the gadget colours
  • changed: some code optimisation for the network functions. Start and initialising are faster now.
  • changed: reordered settings tabs and animate switching
  • cleanup on settings page
  • some code cleaning


2.0.3 18/06/2009

  • fixed: information on flyout for network and RAM don’t shown on some systems
  • fixed: some functions don’t work on x64 systems


2.0.2 23/05/2009

  • fixed: net flyout (net info) don’t show information sometimes. (but still problems on x64 systems)


2.0.1 20/05/2009

  • fixed: uninstallation of gadget is not possible. I rewrote some of my gadget code so no .dll is needed anymore.
  • Please uninstall previous versions before install this new version.


2.0.0 17/05/2009

  • added: Redesign of the gadget, so that each individual range is present as module now. Thus makes it possible to select which modules are to be seen on the gadget.
  • added: module to show system uptime
  • added: flyout (click on uptime) with information about your system
  • added: CPU (DualCore capable) and RAM usage scale
  • added: RAM info on a flyout page shows information about installed RAM modules
  • added: turkish as language (thanks to Selim for translation)
  • fixed: transferrates of network are showing NaN on higher speeds
  • fixed: if only one RAM module is installed, the information table got corrupt
  • changed: some more information on ramflyout.
  • changed: selections for DualCPU and DualCore processor on settings page is only available, if a second cpu or a DualCore cpu is installed.


1.3.5 27/04/2009

  • changed: A few optical adornments on the cpu and battery flyout pages
  • changed: added detailed info about type of WiFi security


1.3.4 21/04/2009

  • fixed: digit grouping symbols are set wrong (comma instead  of period and reverse).
  • Added a function to collect the OS language and compare with an internal language array.
  • fixed part of: can’t collect WiFi signal strength in dbM if wlan driver isn’t able to provide WMI
  • fixed: can not deselect the NIC interfaces


1.3.3 20/04/2009

  • added: more info about network
  • changed: A few optical adornments on the settings and flyout pages


1.3.2 17/04/2009

  • changed: additional info about network
  • fixed: a few little bugs


1.3.1 16/04/2009

  • added: more information about network on gadget and flyout
  • changed: some more information on update dialog
  • a few little bugfixes in the update functions


1.3.0 14/04/2009

  • added: multilanguage support


1.2.0 12/04/2009

  • added: ability to calculate the remaining battery runtime if windows isn’t able to provide this info
  • fixed: color of battery percentage don’t shows correct after hibernate while running on battery
  • changed: click on battery icon now opens the mobility center


1.1.1 25/03/2009

  • some modifications on version-check


1.1.0 24/03/2009

  • added: automatic and manual gadget-update-check


1.0.5 23/03/2009

  • fixed: running gadget maybe stuck on actions


1.0.4 20/03/2009

  • changed: removed the refresh settings, because they are useless
  • changed: on dualprocessor now both clockspeed can be shown. On dualcore processors 2 speeds are shown either, but not really useful because they are the same. (enabling may slowdown the gadget a bit)
  • some changes/enhancements on infopages


1.0.3 16/03/2009

  • added: Changelog and Information tab on settings page
  • changed: separation of settings into own files
  • fixed: rewrite of some parts, because of speed behavior


1.0.2 14/03/2009

  • fixed: if SSID has more than 15 characters it exceed the gadget


1.0.1 11/03/2009

  • added: connection status and strength percentage change color to yellow on 50% and red on 30% signal strenght


1.0 06/03/2009

  • initial release

HowTo: Sprache in margu-NotebookInfo2

April 28th, 2009 margu No comments


  1. Finde die “Identifier” für jede Sprache die das Gadget unterstützen soll, z.B. en-US oder fr-FR.
  2. Erstelle einen Unterordner für jede zu unterstützende Sprache.
    Der Name des Unterordner muß exakt dem “Identifier” entsprechen.
    Alternativ kannst Du auch einen der schon bestehenden Ordner kopieren und anschließend umbenennen.
    Den Ordner des Gadget findest Du unter



    C:\Users\YOURUSERNAME\AppData\Local\Microsoft\Windows Sidebar\Gadgets\margu-NotebookInfo2

    Wenn Du den Ordner nicht sehen kannst, dann gehe im Explorer auf “Extras => Ordneroptionen” und setze alle versteckten Ordner und Dateien auf sichtbar.

  3. Nachdem Du den neuen Ordner erstellt hast, kopieren die beiden Dateien”gadget.xml” und “localization.js” aus einem der bestehenden Sprachordner in Deinen neuen Ordner. Wenn Du einen bestehenden Ordner kopiert und umbenannt hast, dann sind diese beiden Dateien schon im neuen Ordner.
  4. Nun öffne die Datei “localization.js” mit dem Editor (oder einem anderen Texteditor) ändere alle Texte innerhalb der Anführungszeichen (“”) nach Deinen Bedürfnissen.
  5. Speichere die Datei und nachdem Du die Sidebar neu gestartet hast, sollten alle Texte auf und innerhalb des Gadgets in Deiner Sprache sein.

Ich würde mich freuen, wenn Du mir Deinen Sprachordner (als ZIP) per Mail an

margu999 (at) gmail.com

schicken würdest. Dann kann ich sie beim nächsten Update dem Gadget zufügen und auch andere User kommen in den Genuß der Sprache.


  1. Identify each Windows locale the gadget must support. For example, en-US or fr-FR.
  2. Create a subfolder for each supported Windows locale identifier.
    The subfolder name must match the identifier exactly.
    Alternatively you can copy one of the existing localize folders and rename it for your identifier.
    You’ll find the gadget folder at



    C:\Users\YOURUSERNAME\AppData\Local\Microsoft\Windows Sidebar\Gadgets\margu-NotebookInfo2

    If you can’t see this folder, set the visibility of all hidden files and folders at “Folder Options” of your Explorer under “Tools

  3. After you created the new folder copy the 2 files “gadget.xml” and “localization.js” from one of the existing localize folders to your new folder. If you copied and renamed one of the existing folders, the needed files are already inside of the new one.
  4. Now open the file “localization.js” with Notepad (or any other texteditor) and translate all text inside each quotation marks (“”) to your needs.
  5. Save the file and after you restarted the sidebar all text on and inside the gadget should be in your language.

I would be happy, if you send me your translated folder (as ZIP file) by mail at

margu999 (at) gmail.com

So I will put it into the next release of the gadget and other users will have this language too.