WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Posts Widget
italian translation and plugin hacks (5 posts)

  1. maxgx
    Member
    Posted 1 year ago #

    thanks for the great plugin!
    unfortunately in my case it was going to be used by people with no knowledge of english, so i had to modify the plugin in order to be able to add a translation to it.
    i've added:
    load_plugin_textdomain( 'wpupw', false, 'ultimate-posts-widget/languages/' );
    to ultimate-posts-widget.php, created a "languages" folder and put wpupw-default.po, wpupw-default.mo, wpupw-it_IT.po and wpupw-it_IT.mo in it.
    plus, i've added a class to the ouput list:
    echo '<ul class="upw-list">';
    to better handle the styles (and possibly target the list with some fancy jquery).
    how can i submit the lot to you?

    http://wordpress.org/extend/plugins/ultimate-posts-widget/

  2. bostondv
    Member
    Plugin Author

    Posted 1 year ago #

    You can make a pull request in github: https://github.com/bostondv/ultimate-posts-widget

    Thanks for your contribution!

  3. maxgx
    Member
    Posted 1 year ago #

    sorry Boston
    did a crash course on git on mac osx, forked the project, cloned locally, branched "localization", made the canges, but whenever i try to push, i get
    "cannot exec 'git-credential-osxkeychain': Bad CPU type in executable"
    and checking my github account it doesn't seem that anything gets changed/modified/updated.
    any other way i can try?

  4. bostondv
    Member
    Plugin Author

    Posted 1 year ago #

    Maybe this thread will help you: http://stackoverflow.com/questions/10867946/trying-to-install-git-on-osx-cannont-exec-git-credential-osxkeychain-permiss

    Personally I install git via Homebrew which sets it all up for you. http://mxcl.github.io/homebrew/

    Hope that helps!

  5. bostondv
    Member
    Plugin Author

    Posted 1 year ago #

    New version has been posted with better support for translation (added text domain to all strings). If you can submit the pull request with your translations I'll add it in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic