• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Like Button and Liked button

james breese

Chevereto Member
Hello I want to change the like/liked button to Rate/Rated can someone help me with this please 🙂 Regards Jim
 

Attachments

  • Screenshot 2019-04-30 at 13.41.07.png
    Screenshot 2019-04-30 at 13.41.07.png
    19.8 KB · Views: 30
Hi replace the text (string)

Deutscher Text
Erstelle eine Neue Datei (in Deiner Sprache) in folgendem Ordner:
/app/content/languages/overrides
Dateiname:
en.po für Englisch
de.po für Deutsch
Mit dem Inhalt:
[CODE highlight="1-2,6-7,11,18,24-29,33,37-38,42"]#: ../../../app/routes/route.user.php:95
#: ../../../app/themes/Peafowl/header.php:404
msgid "Liked"
msgstr "Gefällt mir"

#: ../../../app/themes/Peafowl/views/image.php:85
#: ../../../app/themes/Peafowl/views/image.php:86
msgid "Like"
msgstr "Like"

#: ../../../app/themes/Peafowl/views/image.php:85
msgid "You like this"
msgstr "Dir gefällt das"

msgid "Likes"
msgstr "Likes"

#: ../../../app/lib/classes/class.image.php:1231
msgid "like"
msgid_plural "likes"
msgstr[0] "Like"
msgstr[1] "Likes"

#: ../../../app/routes/route.album.php:104
#: ../../../app/routes/route.category.php:72
#: ../../../app/routes/route.dashboard.php:1129
#: ../../../app/routes/route.explore.php:58
#: ../../../app/routes/route.following.php:37
#: ../../../app/routes/route.user.php:207
msgid "Most liked"
msgstr "Beliebt"

#: ../../../app/routes/route.json.php:1150
msgid "Content liked"
msgstr "Inhalt gefällt dir"

#: ../../../app/routes/route.user.php:94
#, php-format
msgid "Liked by %s"
msgstr "Von %s gelikt"

#: ../../../app/lib/classes/class.notification.php:75
msgid "%u liked your %t %c"
msgstr "%u hat Ihren %t %c gelikt"[/CODE]
(Als Beispiel habe ich hier die Deutschen Variablen drin stehen.)
Die Variable "msgid" darf nicht geändert werden.
Du veränderst dann einfach nur die Variable "msgstr" innerhalb der " (Anführungsstriche) nach Deiner vorstellung.

Speicher Deine Arbeit ab und überprüfe es auf Deiner Website.

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
Translate in English
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------

Create a new file (in your language) in the following folder:
/app/content/languages/overrides
Filename:
en.po for English
de.po for German
With the content:
[CODE highlight="1-2,6-7,11,18,24-29,33,37-38,42"]
#: ../../../app/routes/route.user.php:95
#: ../../../app/themes/Peafowl/header.php:404
msgid "Liked"
msgstr "Gefällt mir"

#: ../../../app/themes/Peafowl/views/image.php:85
#: ../../../app/themes/Peafowl/views/image.php:86
msgid "Like"
msgstr "Like"

#: ../../../app/themes/Peafowl/views/image.php:85
msgid "You like this"
msgstr "Dir gefällt das"

msgid "Likes"
msgstr "Likes"

#: ../../../app/lib/classes/class.image.php:1231
msgid "like"
msgid_plural "likes"
msgstr[0] "Like"
msgstr[1] "Likes"

#: ../../../app/routes/route.album.php:104
#: ../../../app/routes/route.category.php:72
#: ../../../app/routes/route.dashboard.php:1129
#: ../../../app/routes/route.explore.php:58
#: ../../../app/routes/route.following.php:37
#: ../../../app/routes/route.user.php:207
msgid "Most liked"
msgstr "Beliebt"

#: ../../../app/routes/route.json.php:1150
msgid "Content liked"
msgstr "Inhalt gefällt dir"

#: ../../../app/routes/route.user.php:94
#, php-format
msgid "Liked by %s"
msgstr "Von %s gelikt"

#: ../../../app/lib/classes/class.notification.php:75
msgid "%u liked your %t %c"
msgstr "%u hat Ihren %t %c gelikt"[/CODE]
(As an example I have the German variables in it here.)
The variable "msgid" must not be changed.
You change then just the variable "msgstr" within the " (quotes) after your idea.

Save your work and check it on your website.
 
Back
Top