View Matt Beckett's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
i'm testing this in 1.12.4:
i updated the language strings for the plugin using translation_manager and i think i have found a bug.
when i load an entity as admin i see the button for 'feature in this group' and it has the correct language string. when i click the button it changes to show the original language string for 'feature in this group' and not the correct (new) language string for 'unfeature in this group'. when i click it again, the text changes to 'unfeature in this group'. so there are two issues: 1. the language string is being over-ridden somehow and 2. the button state is switching between 3 states, instead of 2 (although 2 of them may be similar).
I don't see anywhere this could be the case: https://github.com/AU-Landing-Project/group_ux/blob/master/views/default/js/group_ux/feature.js#L10
Maybe something with translation_manager? It's using the js version of elgg.echo(), there's definitely only 2 states.