Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need for a configurable general message plugin #874

Closed
joelit opened this issue May 20, 2019 · 1 comment · Fixed by #970
Closed

Need for a configurable general message plugin #874

joelit opened this issue May 20, 2019 · 1 comment · Fixed by #970
Assignees
Labels
Milestone

Comments

@joelit
Copy link
Contributor

joelit commented May 20, 2019

Plugins for Skosmos are registered in a case-by-case manner for each vocabulary. It is common that the function of the plugin is to display a message for the users about the state of the vocabulary. In such cases, there's not much point creating a separate plugin (and a separate GitHub project) for every message plugin.

Instead, the config.ttl should define a message plugin for a vocabulary in a manner something like this:
skosmos:usePLugin "complicatedPluginName1", "actualPluginName3", [ name "messagePlugin" ; message "This vocabulary is still under construction"@en, "Tämä' sanasto on vielä kehitysvaiheessa"@fi, "Denna vokabulär befinner sig ännu i ett utvecklingsstadium"@sv ] ;

This should be within the syntax for turtle and the result is a blank node which contains the name of the generic message plugin and the messages it should return in different languages.

@joelit joelit self-assigned this May 20, 2019
@kouralex
Copy link
Contributor

kouralex commented Aug 7, 2019

This would indeed be a very useful feature! The syntax or maybe even new skosmos predicate should probably be thoroughly thought, though. I guess that, for example, @osma might have some good tips for this?

@kouralex kouralex added this to the 2.3 milestone Dec 3, 2019
@osma osma closed this as completed Feb 10, 2020
@osma osma reopened this Feb 10, 2020
@kouralex kouralex modified the milestones: 2.3, Next Tasks Feb 12, 2020
@joelit joelit added the size-medium 2 hours to 2 days label Feb 26, 2020
@osma osma modified the milestones: Next Tasks, 2.5 Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants