Skip to content

Commit

Permalink
[#2375] Add i18n shim
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 3, 2012
1 parent c7f32b9 commit c27b685
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ckan/public/base/javascript/l18n.js
@@ -0,0 +1,13 @@
this.ckan = this.ckan || {};

// Fake localisation function. A basic drop in for Jed.
// See: http://slexaxton.github.com/Jed/
this.ckan.i18n = {
translate: function (string) {
return {
fetch: function () {
return string;
}
};
}
};

0 comments on commit c27b685

Please sign in to comment.