-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from OriHoch/more-rtl-fixes
more rtl fixes
- Loading branch information
Showing
6 changed files
with
258 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
if ! which poedit; then | ||
sudo apt-get install poedit | ||
fi | ||
|
||
poedit ckan/ckanext-odata_org_il/ckanext/odata_org_il/i18n/he/LC_MESSAGES/ckan.po | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
ckan/ckanext-odata_org_il/ckanext/odata_org_il/fanstatic/rtl.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
$(function() { | ||
$('.nav-facet .nav-item a span').each(function(i, elt) { | ||
var $elt = $(elt); | ||
var txt = $elt.text(); | ||
var tmp = txt.split(" "); | ||
if (tmp.length > 1 && tmp[tmp.length-1].length > 1 && tmp[tmp.length-1][0] == "(") { | ||
txt = tmp.slice(0, tmp.length-1).join(" "); | ||
var mark = (CKAN_LANG=="he") ? " ‏" : " ‎"; | ||
txt += mark + tmp[tmp.length-1]; | ||
$elt.html(txt); | ||
} | ||
}); | ||
}); |
Binary file modified
BIN
+480 Bytes
(100%)
ckan/ckanext-odata_org_il/ckanext/odata_org_il/i18n/he/LC_MESSAGES/ckan.mo
Binary file not shown.
Oops, something went wrong.