Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Suomi Support Mod (Read 13504 times)
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #22 - Jul 28th, 2014 at 10:47am
Print Post  
This thread is getting way far off-topic... Time to split perhaps?
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Suomi Mod
Reply #21 - Jul 28th, 2014 at 1:07pm
Print Post  
Off-Topic replies have been moved to this Topic.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #20 - Jul 20th, 2014 at 7:48pm
Print Post  
In the forum statistics

Quote:

Eniten käyttäjiä paikalla: 36 Heinäkuun 12., 2014 klo 6:02am.


should be

Quote:

Eniten käyttäjiä paikalla: 36 kpl heinäkuun 12., 2014 klo 6:02pm.


Otherwise it will break miserably if day comes before month...

I added "kpl" as $maintxt{'30b'} on my forum... standalone numbers are not allowed on Finnish grammar... "kpl" is the default count word in Finnish grammar.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Suomi Mod
Reply #19 - Jul 19th, 2014 at 11:15pm
Print Post  
Back to the Mod - considering how many languages use sentence case for dates I've gone ahead and hard-coded support. The spots where there WILL be something in front of the date now have 'flags' that will tell Sources/DateTime.pm to choose the alternate language item if it exists in that language's Main.lng.

I may have missed some but I think I got most of them. 

Another spot that I'm sure will need fixing is the ordinal suffixes ('st', 'nd', 'rd', 'th' in English). Pyragony tells me that Russian uses them but not quite the same way as in English.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #18 - Jul 19th, 2014 at 6:18pm
Print Post  
pyragony54 wrote on Jul 19th, 2014 at 6:01pm:
I once looked at the module exactly. I think you get the version 1.71 to work. Only, CPAN can not be reached in two days. 
Will I get it not to work with version 1.70 end.


meta::cpan still works... You can see sources of modules there too...
  
Back to top
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Suomi Mod
Reply #17 - Jul 19th, 2014 at 6:01pm
Print Post  
I once looked at the module exactly. I think you get the version 1.71 to work. Only, CPAN can not be reached in two days. 
Will I get it not to work with version 1.70 end.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #16 - Jul 19th, 2014 at 4:30pm
Print Post  
Dandello wrote on Jul 19th, 2014 at 4:17pm:
Actually, we already took out the option for the custom time format - I just neglected to remove it from Sources/DateTime.pm.  Embarrassed

I'll make the changes here as soon as I get some other things done - like getting rid of the browser specific stuff in Post and InstantMessages


No hurry... I have to babysit whole weekend and start of next week...
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Suomi Mod
Reply #15 - Jul 19th, 2014 at 4:17pm
Print Post  
Actually, we already took out the option for the custom time format - I just neglected to remove it from Sources/DateTime.pm.  Embarrassed

I'll make the changes here as soon as I get some other things done - like getting rid of the browser specific stuff in Post and InstantMessages
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #14 - Jul 19th, 2014 at 3:56pm
Print Post  
Dandello wrote on Jul 19th, 2014 at 1:45pm:
Monni wrote on Jul 19th, 2014 at 6:06am:
Custom time formats are also pain in the a-s-s.


This is the last version that will have custom time format. (JonB and I discussed this a while back when we started looking at using the time formatting offered by the CPAN DateTime module.)

In terms of knowing when Today/Yesterday start a sentence - I'm pretty sure the only times those would be at the beginning would be for the date of the first post. All the other times those words are (or should be) within a sentence.


If you want to try adding it to the previous patch... Feel free to test it on this forum and I will notify if I find some spot where it is not what it is supposed to be...
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Suomi Mod
Reply #13 - Jul 19th, 2014 at 1:45pm
Print Post  
Monni wrote on Jul 19th, 2014 at 6:06am:
Custom time formats are also pain in the a-s-s.


This is the last version that will have custom time format. (JonB and I discussed this a while back when we started looking at using the time formatting offered by the CPAN DateTime module.)

In terms of knowing when Today/Yesterday start a sentence - I'm pretty sure the only times those would be at the beginning would be for the date of the first post. All the other times those words are (or should be) within a sentence.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Suomi Mod
Reply #12 - Jul 19th, 2014 at 8:16am
Print Post  
I'll check later. Now I must be abroad. Am back in the afternoon again.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #11 - Jul 19th, 2014 at 8:01am
Print Post  
pyragony54 wrote on Jul 19th, 2014 at 7:46am:
Hi Monni, I have a problem and I can not enter the solution. Can you help me?

http://boardmod.de/cgi-bin/mods/YaBB.pl?num=1405619849/1#1


Which version of List/AllUtils.pm, List/Util.pm and List/MoreUtils.pm

In meta::cpan it says...

List/AllUtils.pm 0.08
List/Util.pm 1.31
List/MoreUtils.pm 0.28

... belong together.
  
Back to top
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Suomi Mod
Reply #10 - Jul 19th, 2014 at 7:46am
Print Post  
Hi Monni, I have a problem and I can not enter the solution. Can you help me?

http://boardmod.de/cgi-bin/mods/YaBB.pl?num=1405619849/1#1
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: Suomi Mod
Reply #9 - Jul 19th, 2014 at 6:06am
Print Post  
Dandello wrote on Jul 19th, 2014 at 2:55am:
Under what circumstances?

Eh?

When it does not start a sentence. As far as I know all words are capitalized if start a sentence. The problem comes down to the fact that how to know inside DateTime.pm if the date string is used standalone or as part of a full sentence. Custom time formats are also pain in the a-s-s.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Suomi Mod
Reply #8 - Jul 19th, 2014 at 2:55am
Print Post  
Under what circumstances?   
Would it be:
Quote:

Suomi Support Mod
yesterday
at 8:12pm

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint