SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2012, 08:34:14 am

Login with username, password and session length
Members
Total Members: 10065
Latest: yaser1984
Stats
Total Posts: 28680
Total Topics: 4975
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 48
Total: 50
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Gallery Settings  (Read 2872 times)
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« on: July 15, 2007, 01:36:29 am »

1) After the installation the Settings page showed. Thanks God I bookmarked. How do I access it otherwise? It is not showing in the Configuration menu!
2) I thought it was a Theme or Language issue, so I have reset everything to English, and the Default Theme. Still nothing! Can you help?
3) Will I have a problem when changing the language? Which files should I translate and and what should be their names and locations, if I want to use the board in Hungarian?
4) Will I have a problem changing the theme?

Thanks
Imre
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #1 on: July 15, 2007, 06:57:28 am »

If the Gallery Configuration link does not show in the admin panel.
Try the following.
First copy the text strings in themes/default/languages/modifications.english.php
To your all the modifications files
themes/default/languages/modifications.yourlanguage.php

Also if you are using a custom theme
themes/default/languages/modifications.english.php
Copy the text to every modfications.*.php file
themes/customthemes/languages/modifications.*.php
Logged
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #2 on: July 15, 2007, 06:58:16 am »

Hi,

Does anyone has the Hungarian translation of Gallery PRO?

Thanks
Logged
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #3 on: July 15, 2007, 07:00:55 am »

Hi,

Oh, I can see the Gallery Configuration now. I renamed the modifications.english.php to modifications.hungarian-utf8.php. So now everything is English in that section. Which files should I translate to Hungarian?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #4 on: July 15, 2007, 07:02:10 am »

Translate modifications.hungarian-utf8.php

and also Translate Gallery.english.php I would rename that to
Gallery.hungarian-utf8.php and start the translation.
Logged
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #5 on: July 15, 2007, 07:29:09 am »

modifications.hungarian-utf8.php

This file contains the same information 3 times: is it possible?

//Begin SMF Gallery Text Strings
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_bulk'] = 'Bulk Uploads';
$txt['permissionhelp_smfgallery_bulk'] = 'Allows the user to use the bulk upload feature.';
$txt['cannot_smfgallery_bulk'] = 'You are not allowed to bulk upload.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit their own picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit that picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete their own picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete that picture.';

$txt['permissionname_smfgallery_ratepic'] = 'Rate Picture';
$txt['permissionhelp_smfgallery_ratepic'] = 'Allows the user to rate a picture.';
$txt['cannot_smfgallery_ratepic'] = 'You are not allowed to rate that picture.';

$txt['permissionname_smfgallery_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_smfgallery_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_smfgallery_editcomment'] = 'You are not allowed to edit that comment.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_smfgallery_autocomment'] = 'Comments do not need to wait for approval.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_usergallery'] = 'Personal Gallery';
$txt['permissionhelp_smfgallery_usergallery'] = 'Allows the user to have a personal gallery';
$txt['cannot_smfgallery_usergallery'] = 'You are not allowed to have a gallery.';

$txt['permissionname_smfgallery_manage'] = 'Admin Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings   
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #6 on: July 15, 2007, 07:43:03 am »

If it does remove the other two instances from the file and just keep the last one.
Logged
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #7 on: July 16, 2007, 03:30:59 am »

I translated everything, but if I replace the English file with the Hungaraian translation, I get errors. here is the translation, all characters look OK:
// Version: 1.1; Modifications

//Begin SMF Gallery Text Strings
$txt['smfgallery_menu'] = 'Galéria';
$txt['smfgallery_admin'] = 'Galéria Beállitásai Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Galéria';

$txt['permissionname_smfgallery_view'] = 'Galéria megtekintése';
$txt['permissionhelp_smfgallery_view'] = 'A felhasználó láthatja a Galériát';
$txt['cannot_smfgallery_view'] = 'Nem láthatod a Galériát';

$txt['permissionname_smfgallery_add'] = 'Kép hozzáadása';
$txt['permissionhelp_smfgallery_add'] = 'A felhasználó hozzáadhat lépeket';
$txt['cannot_smfgallery_add'] = 'Nem adhatsz hozzá képeket.';

$txt['permissionname_smfgallery_bulk'] = 'Csoportos feltöltés';
$txt['permissionhelp_smfgallery_bulk'] = 'A felhasználó tölthet fel csoportban';
$txt['cannot_smfgallery_bulk'] = 'Nem tölthetsz fel csoportban.';

$txt['permissionname_smfgallery_edit'] = 'Saját kép szerkesztése';
$txt['permissionhelp_smfgallery_edit'] = 'A felhasználó szerkesztheti a saját képet';
$txt['cannot_smfgallery_edit'] = 'Nem szerkesztheted ezt a képet.';

$txt['permissionname_smfgallery_delete'] = 'Saját kép törlése';
$txt['permissionhelp_smfgallery_delete'] = 'A felhasználó törölheti a saját képét.';
$txt['cannot_smfgallery_delete'] = 'Nem törölheted ezta képet.';

$txt['permissionname_smfgallery_ratepic'] = 'Kép értékelése;
$txt['permissionhelp_smfgallery_ratepic'] = 'A felhasználó értékelheti a képet.';
$txt['cannot_smfgallery_ratepic'] = 'Nem értékelheted ezt a képet.';

$txt['permissionname_smfgallery_editcomment'] = 'Saját megjegyzés szerkesztése';
$txt['permissionhelp_smfgallery_editcomment'] = 'A felhasználó szerkesztheti a megjegyzéseit.';
$txt['cannot_smfgallery_editcomment'] = 'Nem szerkesztheted ezt a megjegyzést.';

$txt['permissionname_smfgallery_comment'] = 'Megjegyzés';
$txt['permissionhelp_smfgallery_comment'] = 'Megjegyzést füzhetsz a képhez.';
$txt['cannot_smfgallery_comment'] = 'Ehhez a képhez nem füzhetsz megjegyzést.';

$txt['permissionname_smfgallery_report'] = 'Jelentsd a képet vagy megjegyzést az adminisztrátornak';
$txt['permissionhelp_smfgallery_report'] = 'A felhasználó jelentheti képet vagy megjegyzést az adminisztrátornak.';
$txt['cannot_smfgallery_report'] = 'Nem jelentheted ezt a képet vagy megjegyzést az adminisztrátornak.';

$txt['permissionname_smfgallery_autocomment'] = 'Hozzászólások automatikusan jóváhagyása';
$txt['permissionhelp_smfgallery_autocomment'] = 'Megjegyzéseknek nem kell jóváhagyásra várni.';

$txt['permissionname_smfgallery_autoapprove'] = 'Képek automatikus jóváhagyása';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Képeknek nem kell jóváhagyásra várni';

$txt['permissionname_smfgallery_usergallery'] = 'Személyes Galéria';
$txt['permissionhelp_smfgallery_usergallery'] = 'Lehetséges személyes Galéria';
$txt['cannot_smfgallery_usergallery'] = 'Neked nem lehet saját Galériád.';

$txt['permissionname_smfgallery_manage'] = 'Galéria adminisztráció';
$txt['permissionhelp_smfgallery_manage'] = 'Kategóriák menedzselése, megjegyzések törlése, képek törlése vagy jóváhagyása';
$txt['cannot_smfgallery_manage'] = 'Nem menedzselheted a Galériát.';

//END SMF Gallery Text Strings         


Here is the error, starting at line 23:


Sablon elemzési hiba!
Hiba történt a következő sablon vagy nyelvi fájl betöltésekor: /Themes/Blue_Grey/languages/Modifications.hungarian-utf8.php. Kérlek ellenőrizd a szintakszist és próbáld újra - ne feledd, az egyszeri idézőjeleket (') gyakran egy per jellel (\) kell írni. Még specifikusabb hiba információkért, próbáld meg a fájlt közvetlenül elérni.

Megpróbálhatod frissíteni ezt az oldalt vagy használd az alapértelmezett sablont.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected T_STRING in .../Themes/Blue_Grey/languages/Modifications.hungarian-utf8.php on line 32

23: $txt['permissionname_smfgallery_edit'] = 'Saj�t k�p szerkeszt�se';
24: $txt['permissionhelp_smfgallery_edit'] = 'A felhaszn�l� szerkesztheti a saj�t k�pet';
25: $txt['cannot_smfgallery_edit'] = 'Nem szerkesztheted ezt a k�pet.';
26:
27: $txt['permissionname_smfgallery_delete'] = 'Saj�t k�p t�rl�se';
28: $txt['permissionhelp_smfgallery_delete'] = 'A felhaszn�l� t�r�lheti a saj�t k�p�t.';
29: $txt['cannot_smfgallery_delete'] = 'Nem t�r�lheted ezta k�pet.';
30:
31: $txt['permissionname_smfgallery_ratepic'] = 'K�p �rt�kel�se;
32: $txt['permissionhelp_smfgallery_ratepic'] = 'A felhaszn�l� �rt�kelheti a k�pet.';33: $txt['cannot_smfgallery_ratepic'] = 'Nem �rt�kelheted ezt a k�pet.';
34:
35: $txt['permissionname_smfgallery_editcomment'] = 'Saj�t megjegyz�s szerkeszt�se';
36: $txt['permissionhelp_smfgallery_editcomment'] = 'A felhaszn�l� szerkesztheti a megjegyz�seit.';


Any ideas why? Thanks for your help!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #8 on: July 16, 2007, 06:42:01 am »

Find
Code:
$txt['permissionname_smfgallery_ratepic'] = 'Kép értékelése;
Replace with
Code:
$txt['permissionname_smfgallery_ratepic'] = 'Kép értékelése';
Logged
reczey
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #9 on: July 16, 2007, 05:55:59 pm »

Oh, shame on me!

Thanks!

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:31:18 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.745 seconds with 18 queries.