• Purchasing a license grants permission to use the software and to get Tech Support. A license purchase doesn't grant customization support.

Like Button and Liked button

DeCysos

Phoenix Foto Service
License owner
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:
#: ../../../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"
(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:
#: ../../../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"
(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.
 
Top