Giter Club home page Giter Club logo

Comments (3)

lilients avatar lilients commented on September 26, 2024

Hi @davidalar , the shariff plugin for OJS uses the shariff solution from heise. In theory all features that are available for the heise tool can be implemented in the OJS plugin.
But if you want the buttons to display another language, you only need to change the language of your OJS installation. The OJS plugins reads the chosen language from the OJS GUI and hands it to the plugin.

shariff_it
shariff_de

Does that solve your problem?

from shariff.

dennmuel avatar dennmuel commented on September 26, 2024

Hello @davidalar ,

I assume you don't want to just change the language, but manipulate the exact wording (or remove textual hints entirely). So maybe a possible solution would be to edit the contents of shariff/shariff.complete.js and/or shariff/shariff.min.js where the respective strings are deposited.

Since I'm not so experienced in coding, my not-so-educated guess is, that these strings look kind of "hard coded". Maybe switching to keys and adding editable locales would be a more elegant solution (--> possible feature request?).

Kind regards
Dennis

from shariff.

zuphilip avatar zuphilip commented on September 26, 2024

There is a feature request in the upstream Shariff repository for smaller buttons without text: heiseonline/shariff#184 and there is a reference that the Drupal plugin already can do this: https://www.drupal.org/project/shariff

from shariff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.