Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slogan plugin
#5
I have adapted your plugin to accept translation, and created english and romanian translation files.

( I use your plugin as an more elegant alternative to components, and Slogans did not seem to be a suitable module "name" for my client. )

This is very easily done with a translation file. I named my translations "Elements" trying to be self-explanatory.

I would like to post the modified version, but I think that it would be best for you to integrate the changes in a new release.

There is allso a tiny modification in slogan.js, at line 4,
I did not knew how to integrate i18n translation for a text in the js file

$('.new-slogans-box').append('Name: <input name="new_slogans[]" type="text" placeholder="Enter name of a new element"><br>');

notice the 'element' instead of slogan.
... placeholder="Enter name of a new element"

Modify that as you think suitable.

Here it is the modified version

.zip   slogans v1.2.zip (Size: 5.55 KB / Downloads: 9)

or on speedyshare:
http://speedy.sh/P6Rcv/slogans-v1.2.zip

Excelent job, and keep on the good work.
Reply


Messages In This Thread
Slogan plugin - by Zorato - 2012-09-13, 06:40:25
RE: Slogan plugin - by tazmandev - 2013-04-01, 12:58:03
RE: Slogan plugin - by Zorato - 2013-04-02, 00:28:03
Translation enabled slogans plugin. - by tazmandev - 2013-04-27, 00:56:20
RE: Slogan plugin - by Zorato - 2013-04-27, 08:34:29
RE: Slogan plugin - by tazmandev - 2013-04-28, 09:34:11
RE: Slogan plugin - by Timbow - 2014-05-03, 08:11:02
RE: Slogan plugin - by davetest - 2015-03-24, 20:51:33
RE: Slogan plugin - by Zorato - 2015-03-25, 01:29:53
RE: Slogan plugin - by davetest - 2015-03-25, 01:58:25
RE: Slogan plugin - by Carlos - 2015-03-25, 03:42:28
RE: Slogan plugin - by davetest - 2015-03-25, 07:19:10
RE: Slogan plugin - by shawn_a - 2015-03-25, 10:27:58
RE: Slogan plugin - by Carlos - 2015-03-26, 05:25:21
RE: Slogan plugin - by shawn_a - 2015-03-26, 06:44:09
RE: Slogan plugin - by davetest - 2015-04-14, 20:21:49
RE: Slogan plugin - by davetest - 2015-04-16, 07:06:26
RE: Slogan plugin - by simplycrazy - 2015-04-16, 10:41:05
RE: Slogan plugin - by davetest - 2015-04-16, 17:54:37
RE: Slogan plugin - by simplycrazy - 2015-04-16, 18:08:43
RE: Slogan plugin - by Tyblitz - 2015-04-18, 01:58:21
RE: Slogan plugin - by simplycrazy - 2015-04-18, 03:13:02
RE: Slogan plugin - by Tyblitz - 2015-04-18, 07:50:37
RE: Slogan plugin - by simplycrazy - 2015-04-18, 11:48:10
RE: Slogan plugin - by davetest - 2015-04-18, 05:17:28
RE: Slogan plugin - by Timbow - 2015-04-16, 08:05:14
RE: Slogan plugin - by Carlos - 2015-04-17, 00:19:37
RE: Slogan plugin - by Carlos - 2015-05-02, 18:55:11
RE: Slogan plugin - by davetest - 2015-05-02, 19:48:21
Slogan plugin - by mvlcek - 2012-09-20, 16:11:54



Users browsing this thread: 1 Guest(s)