Thread: pw_text_cs, pw_text_nl & couple of suggestions
Brought to you by:
iridium
From: Vaclav R. <va...@ph...> - 2002-09-26 18:06:37
Attachments:
pw_text_nl.php
pw_text_cs.php
|
Hello there! first of all I'd like to say that you have done a great job. I'm using a phpweather for one and half year and progress is _really_ great! I'd like to participate on it. So I'm sending you a czech and dutch pw_text_cs.php, pw_text_nl.php. Than I suggest to add a more CZ stations: LKLB -> Liberec LKKB -> Praha / Kbely LKPD -> Pardubice LKCV -> Caslav LKCS -> Ceske Budejovice LKNA -> Namest LKPO -> Prerov LKKU -> Kunovice And I think the rule in pw_text_en is broken: $this->strings['list_sentences_and'] = ' and '; $this->strings['list_sentences_comma'] = ', '; $this->strings['list_sentences_final_and'] = ', and '; ^^^^^^^^^^^ Here I had not checked CVS, so if I'm late then simply ignore it. Vac |
From: Martin G. <gim...@gi...> - 2002-09-27 20:10:10
|
Vaclav Rikal <va...@ph...> writes: > Hello there! > > first of all I'd like to say that you have done a great job. I'm > using a phpweather for one and half year and progress is _really_ > great! Thanks a lot! > I'd like to participate on it. So I'm sending you a czech and dutch > pw_text_cs.php, pw_text_nl.php. Very nice - two new languages in one go! I've commited then to the CVS repository. > Than I suggest to add a more CZ stations: > > LKLB -> Liberec > LKKB -> Praha / Kbely > LKPD -> Pardubice > LKCV -> Caslav > LKCS -> Ceske Budejovice > LKNA -> Namest > LKPO -> Prerov > LKKU -> Kunovice I checked the stations, but they don't seam to have made any recent reports: the report for LKKB is over two months old. Do you think I should add them anyway? > And I think the rule in pw_text_en is broken: > > $this->strings['list_sentences_and'] = ' and '; > $this->strings['list_sentences_comma'] = ', '; > $this->strings['list_sentences_final_and'] = ', and '; > ^^^^^^^^^^^ Here Are you thinking at the comma before the final 'and'? Or is it something else? If it's about the final comma, then that's how my teacher taught me to write a list in English - perhaps someone who has English as their mother tongue could comment on this? -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |
From: James M. <jmc...@se...> - 2002-09-27 20:41:59
|
Traditionally, you use a trailing comma to separate all the items in a series. This is preferred by most academic style guides and editors. It's generally accepted that you have the option to omit the final comma before the "and" (or other conjunction) if the list is simple. You'd do this to help the list flow better, but only if you can obviously preserve the meaning of the sentence. I believe that newspapers do this fairly often. However, it's *always* correct to use the comma before the last item in the series, and it's sometimes required to do so to make the meaning clear. If you don't have total control of the items in the list (which you don't in this programming scenario), it's safest to include the comma before the conjunction. I think what you have for 'list_sentences_final_and' is correct. Speaking the mother tongue, JM Martin Geisler wrote: >> $this->strings['list_sentences_final_and'] = ', and '; >> ^^^^^^^^^^^ Here > > > Are you thinking at the comma before the final 'and'? Or is it > something else? If it's about the final comma, then that's how my > teacher taught me to write a list in English - perhaps someone who > has English as their mother tongue could comment on this? |
From: Jake O. <ja...@or...> - 2002-09-27 20:50:08
|
OK, just my two cents on the matter of the commas. Personally, I avoid using the trailing/serial/final comma. Newspapers (if they're written right) will ALWAYS avoid them. Why? The Associated Press Stylebook says to avoid them. I've seen English teachers violently debate it, as well. My preference: avoid them. It makes the list cleaner, and there's already an overuse of commas by folks who don't know how to use them properly (in my opinion). Punctuation in general is just over-rated <hehe>. we should just all write our sentences like this completely omitting all important valuable and relevant punctuation marks ;-) OK, I'm done being a brat -- I'm like this on Fridays :-). -Jake -Speaking the Mother Tongue as Well -- At least the Americanized Version of It -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of James McMurry Sent: Friday, September 27, 2002 1:42 PM To: php...@li... Subject: Re: pw_text_cs, pw_text_nl & couple of suggestions Traditionally, you use a trailing comma to separate all the items in a series. This is preferred by most academic style guides and editors. It's generally accepted that you have the option to omit the final comma before the "and" (or other conjunction) if the list is simple. You'd do this to help the list flow better, but only if you can obviously preserve the meaning of the sentence. I believe that newspapers do this fairly often. However, it's *always* correct to use the comma before the last item in the series, and it's sometimes required to do so to make the meaning clear. If you don't have total control of the items in the list (which you don't in this programming scenario), it's safest to include the comma before the conjunction. I think what you have for 'list_sentences_final_and' is correct. Speaking the mother tongue, JM Martin Geisler wrote: >> $this->strings['list_sentences_final_and'] = ', and '; >> ^^^^^^^^^^^ Here > > > Are you thinking at the comma before the final 'and'? Or is it > something else? If it's about the final comma, then that's how my > teacher taught me to write a list in English - perhaps someone who > has English as their mother tongue could comment on this? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ PHPWeather-devel mailing list PHP...@li... https://lists.sourceforge.net/lists/listinfo/phpweather-devel |
From: Max H. <ma...@fl...> - 2002-09-27 22:54:10
|
> Personally, I avoid using the trailing/serial/final comma. A comma in this position is known as a serial comma, often called "Harvard" or "Oxford" comma, and is only really appropriate where its omission makes a list confusing, eg if the final entry in a list contains an "and" itself. That's the classical approach, anyway. Truth is, in technical writing you'd often use a serial comma to avoid any possible ambiguity. All that's really important is that you're consistent (obviously not an issue here :) Cheers, Max -- Logic merely enables one to be wrong with authority. * Doctor Who |
From: Martin G. <gim...@gi...> - 2002-09-29 13:22:02
|
James McMurry <jmc...@se...> writes: > Traditionally, you use a trailing comma to separate all the items in a > series. This is preferred by most academic style guides and editors. > > However, it's *always* correct to use the comma before the last item > in the series, and it's sometimes required to do so to make the > meaning clear. OK, so I guess we'll just leave things the way they are, with a comma before the final 'and'. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |