igorbenic / wp-sponsors

[WordPress plugin] WP-Sponsors gives your sponsors or partners a separate home where can add a link and a logo. This is the development version of the plugin, for the latest stable release, please check wordpress.org
https://wordpress.org/plugins/wp-sponsors/
GNU General Public License v2.0
7 stars 6 forks source link

Bring sort order to shortcode, add max sponsors #9

Closed peppermintpig closed 7 years ago

peppermintpig commented 7 years ago

Hello

Found your plugin, was doing almost all stuff I needed. Except the max items to display, which I added in develop branch

Please note that my PHP skills are limited, so please double check. Also the way php handles the i18n aspects are unknown to me, so that it has been omitted

In the hope it can be useful

CU

Christophe

janhenckens commented 7 years ago

WP Sponsors - review and release #9

janhenckens commented 7 years ago

Hey! Thanks for the suggestions and for the PR! I'll have a look at the translations and the max option and will merge when it looks good :)

janhenckens commented 7 years ago

Hey again! Liking these additions, but the finish needs some work. I'll merge your PR and add some tweaks of my own.

You can expect this to be release somewhere this week! Thanks again, Jan

peppermintpig commented 7 years ago

Thanks

Sorry, I just started using Wordpress, PHP and Git. Seems I still have a lot to learn ;-)

Happy to see my small contribution can help other people

Salutations / groetjes from Brussels

Christophe

On 1 November 2016 at 11:28, Jan Henckens notifications@github.com wrote:

Merged #9 https://github.com/studioespresso/wp-sponsors/pull/9.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/studioespresso/wp-sponsors/pull/9#event-843162062, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_9JTa_KoAacnb4tOCXIAk3FMY392x8ks5q5xQ5gaJpZM4KlO5f .

janhenckens commented 7 years ago

Hey Christophe, would you be willing to help me out with French translations for the plugin? you can also email me at jan@studioespresso.co :)

peppermintpig commented 7 years ago

Hello Jan

I can try at least!

I understand the structure of the file wp-sponsors-nl_BE.po for instance and can translate it into fr_BE and fr_FR. I guess you will then be able to generate the '.mo'.

I'll do it this evening, wanted to work in the garden this afternoon

CU

Christophe

On 1 November 2016 at 12:51, Jan Henckens notifications@github.com wrote:

Hey Christophe, would you be willing to help me out with French translations for the plugin? you can also email me at jan@studioespresso.co :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/studioespresso/wp-sponsors/pull/9#issuecomment-257548173, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_9JTn_GabSyh5AeHJGzcKT_4fjPGWRks5q5yfWgaJpZM4KlO5f .

peppermintpig commented 7 years ago

Hello Jan

I created a PR for the French translation

I tried to keep the Wordpress spirit (I checked with a French install), yet match your labels as close as possible

Note that I really think you can make this an fr-FR translation as well. The only things I would extra translate are those English words for 'widget' and 'shortcode'. French people tend to translate every English word. But at the end it confuses more than it helps, so that I think they can be kept as-is

Have a nice evening

Christophe

PS Sorry don't know what PHP uses as translation helper. I just edited the message file, I hope you can generate .mo files from this

On 1 November 2016 at 13:08, christophe lestienne < christophe.lestienne@gmail.com> wrote:

Hello Jan

I can try at least!

I understand the structure of the file wp-sponsors-nl_BE.po for instance and can translate it into fr_BE and fr_FR. I guess you will then be able to generate the '.mo'.

I'll do it this evening, wanted to work in the garden this afternoon

CU

Christophe

On 1 November 2016 at 12:51, Jan Henckens notifications@github.com wrote:

Hey Christophe, would you be willing to help me out with French translations for the plugin? you can also email me at jan@studioespresso.co :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/studioespresso/wp-sponsors/pull/9#issuecomment-257548173, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_9JTn_GabSyh5AeHJGzcKT_4fjPGWRks5q5yfWgaJpZM4KlO5f .