Space missing after tag below post

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Space missing after tag below post

Postby Connie » 08 Dec 2009, 16:12

Hi!
When an article has tags, the tags are listed below the text right-aligned.
But a small inconvenience: there should be a space after "tag:" otherwise the tags are displayed immediately behind

wrong:

Tag:Rome, Berlin

correct:

Tag: Rome, Berlin
User avatar
Connie
 
Posts: 1163
Joined: 10 Nov 2009, 04:53

Re: Space missing after tag below post

Postby sayontan » 08 Dec 2009, 16:29

Connie,
I have a space in my code:

Code: Select all
         <span class="tags"><?php the_tags(__('Tagged with: ', 'suf_theme'),', ','<br />'); ?></span>


Looks like the translation file that you are using doesn't have a space. Which one are you using?
Sayontan.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Space missing after tag below post

Postby Connie » 09 Dec 2009, 01:19

Hi Sayontan,

I am using the german version, de_DE

but I think these spaces should be in the template, not in the language-file, because how can you guarantee that the spaces are added there?
And in case people start to enter their tags with spaces before, that will be stupid as well ;=)

I always add these spaces by
Code: Select all
&nbsp;
in the templates...

Cheers, Connie
User avatar
Connie
 
Posts: 1163
Joined: 10 Nov 2009, 04:53

Re: Space missing after tag below post

Postby sayontan » 09 Dec 2009, 01:22

Connie,
As I told you, the space IS in the template file - I didn't miss it. The translator forgot it at his end.

Sayontan.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Space missing after tag below post

Postby sayontan » 09 Dec 2009, 01:31

One more thing - regarding your point of people entering tag names with spaces, that is not an issue. Multiple spaces are collapsed as a single space while rendering HTML. In fact you will get in trouble if you use &nbsp;
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Space missing after tag below post

Postby Connie » 09 Dec 2009, 06:29

Hi Sayontan,

yess, the translator forgot it.
Unfortunately most translators will do... so it would be better to have that space in the template and not in the translated string ;=)
User avatar
Connie
 
Posts: 1163
Joined: 10 Nov 2009, 04:53

Re: Space missing after tag below post

Postby sayontan » 09 Dec 2009, 07:08

Connie,
The short answer is I am not modifying the template, because THERE IS NOTHING WRONG IN IT.

The long answer is German is just one translation. The translators for other languages have formatted this differently in some cases and either preserve the format or break it. E.g. in Arabic and French there is a space before, but not after the ":" (how would you have me resolve that?), in Catalan there is no space on either side, Danish, Spanish and Dutch do it correctly etc. I don't want to force something else here and risk making it a problem for every other language. I will fix the German translation file and that is all I will do.

I cannot account for errors in translation files that have nothing to do with code, because, to use your example of cheese on a pizza, you are asking me to ship a microwave with a pizza because the guy delivering it might get late and the pizza might get cold - completely pointless.

Sayontan.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas


Return to Bug Reports

Who is online

Users browsing this forum: aidetroro and 1 guest