News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

[Theme] Apollo (SMF v1.0.5 - SMF v1.1RC2)

Started by bloc, July 05, 2004, 06:45:55 PM

Previous topic - Next topic

jss11


TheBat (Richard)

#101
Very nice indeed, but i have 2 email icon on the message bord.
fixed it myself error in Display.template.php
the code:
                               
Quote// Don't show the email address if they want it hidden.
                                if (empty($message['member']['hide_email']))
                                        echo '
                                                                <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
is there 2 times.

misjka

Sorry, m8s, but the buttons don't work in the Swedish set   :'(...
Because the Swedish download does not contain any formatting info file, just images...?
The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc

Of course it just contain buttons!

The language files you got yourself, buttons in the style of apollo is to complement the language files.

Like this:

Themes/
   apollo/
       languages/ ....swedish,english etc. - php files.
       images/
         english/ ....english buttons for apollo - just gif files
         swedish/ ...swedish buttons for apollo - just gif-files


bloc

Quote from: Ragman on May 07, 2005, 11:33:28 AM
Very nice indeed, but i have 2 email icon on the message bord.
fixed it myself error in Display.template.php
the code:
                               
Quote// Don't show the email address if they want it hidden.
                                if (empty($message['member']['hide_email']))
                                        echo '
                                                                <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
is there 2 times.

Ah, my mistake. An old error,  I will correct it.

misjka

Quote from: Bloc on May 24, 2005, 04:41:49 AM
Of course it just contain buttons!

The language files you got yourself, buttons in the style of apollo is to complement the language files.

Like this:

Themes/
   apollo/
       languages/ ....swedish,english etc. - php files.
       images/
         english/ ....english buttons for apollo - just gif files
         swedish/ ...swedish buttons for apollo - just gif-files



Yeah, sorry, m8... But what I meant was that I cannot find any Settings.swedish.php (or such) file in the Swedish distrubution, just icons... And, of course, as I install the package there are no buttons displayed...
The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc

The buttons will appear when you select swedish as your language...the script then starts to fetch the buttons from the swedish folder instead of the english.

The Settings... file contains just the text that is shown when you select themes in your profile. You could just copy the Settings.english.php over to Settings.swedish.php and even translate the english texts..but there is no need really.

misjka

OK, thanks, now it works  :D.

But, as far as I can see, the translation to Swedish has been done via Norwegian or Danish... There are some misspelling on some buttons...
The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc


misjka

#109
Det jag hittills har noterat är följande [So far I've noticed these errors]:

HUVUDKNAPPAR [Main buttons]:
1] Knappen "Hjëlp" bör heta "Hjälp" [The help button -> Hjälp]
2] Knappen "Homepage" bör nog heta "Hem" eller "Start" för att bli skapligt bra på svenska [The hompage button -> Hem or Start]


ÄMNESKNAPPAR [Topic buttons]:
1] "Markera som uläst" bör heta "Markera som oläst" [Mark as unread -> Markera som oläst]
2] "Skikka ämne" bör heta "Skicka ämne" [Send topic -> Skicka ämne]
The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc


misjka

Takk :)!

Meddelar du när man kan ladda hem den uppdaterade versionen?
The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc

Ja. Følg med på denne tråden. ;)

misjka

The admin of five forums:
SMF 1.1.4 + TP 0.98

bloc

Ok. updated swedish buttons..just download the buttons again for some changed strings. ;)

misjka

OK, thx very mucha! Loox great :P!
The admin of five forums:
SMF 1.1.4 + TP 0.98

disciple

I have installed this theme and when I call up the Swedish language myforum.com/index.php?language=swedish [nofollow] I get a very large message on the bottom saying that I am using an illegal version of smf because the template does not contain a copyright.

How do I fix this?

Thanks

Rick

bloc

I am not sure why this is. Does it behave like this when you set the language permanent in admin section too?

disciple

I have looked by cannot find where I set that option in the admin, could you direct me?

Thanks

Rick

bloc

It should be in "edit server settings" . The language option will "sense" if you have uploaded more language files.

Advertisement: