Skip to content

Commit

Permalink
Version 0.43: Fixed l10n, completed Serbian l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad Nikolic committed Dec 1, 2009
1 parent 887983a commit 2631286
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ALL_ALL.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<messagebundle>
<msg name="abbr">FIG</msg>
<msg name="title">Feature Inspector Gadget</msg>
<msg name="current_version">v0.42</msg>
<msg name="current_version">v0.43</msg>
<msg name="date">Date</msg>
<msg name="current_version_date">2009-11-30</msg>
<msg name="author">Nenad V. Nikolić &amp; Christopher Blum</msg>
Expand Down
8 changes: 8 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ Christopher Blum <christopher.blum@xing.com>
Release notes
-------------

* Version 0.43

December 1, 2009

- Fixed l10n
- Added missing Serbian translations

* Version 0.42

November 30, 2009
Expand All @@ -38,6 +45,7 @@ November 30, 2009
- Added default (English) screenshot
- Adjusted font-size, doc links are opened in a new window
- Gadget is now fully compliant with gadget specification
- Message extraction didn't work in this version

* Version 0.41

Expand Down
6 changes: 3 additions & 3 deletions fig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
this._renderFeatures(customFeaturesTable, this._customFeatures, true);
this._adjustHeight();
},
/**
* Render feature info as a table row.
* @param domEl {object} DOM element in which to render a table row
Expand All @@ -277,14 +277,14 @@
*/
_renderFeatures: function(domEl, features, append) {
var html = "", i, isFeatureSupported, state;
var LINK_NA = getMsg("not_available"), DEFAULT_LINK_TEXT = getMsg("documentation");
var LINK_NA = '__MSG_not_available__', DEFAULT_LINK_TEXT = '__MSG_documentation__';
domEl.innerHTML = '<tr><th>__MSG_feature_name__</th><th>__MSG_container_support__</th><th>__MSG_feature_doc__</th></tr>';
for (i in features) {
if (features.hasOwnProperty(i)) {
isFeatureSupported = features[i]();
stateClass = isFeatureSupported ? "supported" : "unsupported";
state = isFeatureSupported ? getMsg("supported") : getMsg("unsupported");
state = isFeatureSupported ? '__MSG_supported__' : '__MSG_unsupported__';
featureDocItem = this._featureDocs[i];
if (featureDocItem && featureDocItem != "") {
if (typeof(featureDocItem) == 'object') {
Expand Down
5 changes: 5 additions & 0 deletions sr_ALL.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<msg name="standard_features">Standardne Funkcije</msg>
<msg name="custom_features">Posebne Funkcije</msg>
<msg name="documentation">Dokumentacija</msg>
<msg name="supported">podržano</msg>
<msg name="unsupported">nije podržano</msg>
<msg name="feature_name">Ime Fičera</msg>
<msg name="container_support">Kontejnerska Podrška</msg>
<msg name="feature_doc">Fičer Dokumentacija</msg>
<msg name="please_note">Pažnja</msg>
<msg name="not_able">ne može da detektuje sledeće funkcije</msg>
<msg name="and">i</msg>
Expand Down

0 comments on commit 2631286

Please sign in to comment.