• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

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