mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 12:14:03 +00:00
add js code for live translation feature of transifex
This commit is contained in:
parent
08a47339a4
commit
fcfe1a4df1
3 changed files with 8 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
//= require osem-datepickers
|
||||
//= require osem-datatables
|
||||
//= require osem-tickets
|
||||
//= require transifex-live
|
||||
|
||||
$(document).ready(function() {
|
||||
$('a[disabled=disabled]').click(function(event){
|
||||
|
|
|
|||
6
app/assets/javascripts/transifex-live.js
Normal file
6
app/assets/javascripts/transifex-live.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
window.liveSettings = {
|
||||
api_key: "cf866a61277842b39c897c5a0b5ec075",
|
||||
picker: "bottom-right",
|
||||
detectlang: true,
|
||||
autocollect: true
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue