WordPress.org

Ready to get started?Download WordPress

Forums

Twitget
[resolved] Error in language-definition (3 posts)

  1. dr_blue
    Member
    Posted 1 year ago #

    Hi!

    Running WordPress 3.6 with 3.1 of your Twitget plugin

    You have an error in twitget.php on line 100-101 where line 100's definition is repeated to the next line

    "Nepalese" => "ar",
    "Norwegian" => "ar",

    should be

    "Nepalese" => "ar",
    "Norwegian" => "no",

    Also, if I manually enter "no" (or "sv") in the twitget_options meta-value in wp_options I don't get any output. Your "lang.min.js" is compressed so I can't see and patch that one. Could you look into it or perhaps send me the uncompressed lang-file?

    I'm also missing the Finish language (Suomi), what parameters do you need from me to submit a translation?

    Thanks for an awesome plugin!
    Best,
    Johan

    http://wordpress.org/plugins/twitget/

  2. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Johan,

    I'm currently a bit busy so my answer will be brief.

    I'm using the moment.js library and the languages are located here:

    https://github.com/moment/moment/tree/develop/lang

    I include the following js file in the plugin itself:

    https://github.com/moment/moment/blob/develop/min/langs.js

    If you have the time, please look at it and test it if it works with the newest versions and report here.

    I'll update the repo with the latest versions and the bugfix for the error above ASAP.

    Cheers and thanks!

  3. Boštjan Cigan
    Member
    Plugin Author

    Posted 9 months ago #

    Issue fixed in 3.2.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic