Strings.ini: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
(→‎Example file: Francais)
m (Reverted edits by JacquesD (Talk) to last revision by Daj)
Line 11: Line 11:




=Modification des phrases=
=Modifying the phrases=


Dans le dossier ou vous avez installé Cumulus, vous trouverez un fichier nommé <tt>samplestrings.ini</tt>. Faites une copie de ce fichier, laissez-la dans le dossier d'installation de Cumulus et nommez-la <tt>strings.ini</tt>
In the folder where you installed Cumulus, you will find a file called <tt>samplestrings.ini</tt>. Take a copy of this, leave it in the Cumulus installation folder, and name it <tt>strings.ini</tt>


'''Vous devez redémarrer Cumulus si vous faites des changements au fichier Strings. Pendant que Cumulus fonctionne'''
'''You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running'''


=Phrases des prévisions=


Par défaut Cumulus contient une liste de 28 prévisions possible.  En éditant le fichier strings.ini  vous pouvez changer les phrases ou les traduires dans une autre langue. Dans la page de configuration, vous devez avoir choisi que Cumulus génère les prévisions. 
=Forecast phrases=


By default Cumulus will provide a list of 28 possible forecasts.  By editing the strings.ini file you can change the wording of these or translate to another language.  You must have opted to have the forecast generated by Cumulus in the configuration page. 


Le fichier contient toutes les phrases employées pour les prévisions, par exemple:
 
The file contains all the strings used for the forecasts, example:


  forecast23=Precipitation at frequent intervals
  forecast23=Precipitation at frequent intervals


Que vous pouvez changer pour:
you could change to


  forecast23=Rain again
  forecast23=Rain again


=Phases Lunaire=


Cette option pour modifier les phases lunaire exige la version 1.8.8 build 872 ou plus récent.
=Moon Phases=
 
The option to change moon phases requires version 1.8.8 build 872 or greater, currently in beta testing
 
Withing the [MoonPhases] section of the strings.ini file there are 8 possible phrases to describe the phases of the moon.  Adjust these as required.


Dans la section [MoonPhases] du fichier strings.ini, il y a 8 phrases possibles pour décrire les phases de la lune.  Adjustez selon vos besoins.


=Fichier exemple=
=Example file=


  [Forecast]
  [Forecast]

Revision as of 09:03, 12 October 2010

NOTE: This feature is only available in version 1.8.8 build 871 and greater


The file strings.ini allows the customisation of a number of phrases, including the associated webtags.

Currently you can modified phrases associated with the following:

  • Forecasting
  • Moonphases
  • Beaufort Scale (from build 874 onwards)


Modifying the phrases

In the folder where you installed Cumulus, you will find a file called samplestrings.ini. Take a copy of this, leave it in the Cumulus installation folder, and name it strings.ini

You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running


Forecast phrases

By default Cumulus will provide a list of 28 possible forecasts. By editing the strings.ini file you can change the wording of these or translate to another language. You must have opted to have the forecast generated by Cumulus in the configuration page.


The file contains all the strings used for the forecasts, example:

forecast23=Precipitation at frequent intervals

you could change to

forecast23=Rain again


Moon Phases

The option to change moon phases requires version 1.8.8 build 872 or greater, currently in beta testing

Withing the [MoonPhases] section of the strings.ini file there are 8 possible phrases to describe the phases of the moon. Adjust these as required.


Example file

[Forecast]
Forecast=Forecast
notavailable=Not available
exceptional=Exceptional Weather
forecast1=Settled fine
forecast2=Fine weather
forecast3=Becoming fine
forecast4=Fine, becoming less settled
forecast5=Fine, possible showers
forecast6=Fairly fine, improving
forecast7=Fairly fine, possible showers early
forecast8=Fairly fine, showery later
forecast9=Showery early, improving
forecast10=Changeable, mending
forecast11=Fairly fine, showers likely
forecast12=Rather unsettled clearing later
forecast13=Unsettled, probably improving
forecast14=Showery, bright intervals
forecast15=Showery, becoming less settled
forecast16=Changeable, some precipitation
forecast17=Unsettled, short fine intervals
forecast18=Unsettled, precipitation later
forecast19=Unsettled, some precipitation
forecast20=Mostly very unsettled
forecast21=Occasional precipitation, worsening
forecast22=Precipitation at times, very unsettled
forecast23=Precipitation at frequent intervals
forecast24=Precipitation, very unsettled
forecast25=Stormy, may improve
forecast26=Stormy, much precipitation
[MoonPhases]
Newmoon=New moon
WaxingCrescent=Waxing Crescent
FirstQuarter=First Quarter
WaxingGibbous=Waxing Gibbous
Fullmoon=Full moon
WaningGibbous=Waning Gibbous
LastQuarter=Last Quarter
WaningCrescent=Waning Crescent
[Beaufort]
Calm=Calm
Lightair=Light air
Lightbreeze=Light breeze
Gentlebreeze=Gentle breeze
Moderatebreeze=Moderate breeze
Freshbreeze=Fresh breeze
Strongbreeze=Strong breeze
Neargale=Near gale
Gale=Gale
Stronggale=Strong gale
Storm=Storm
Violentstorm=Violent storm
Hurricane=Hurricane
[Trends]
Risingveryrapidly=Rising very rapidly
Risingquickly=Rising quickly
Rising=Rising
Risingslowly=Rising slowly
Steady=Steady
Fallingslowly=Falling slowly
Falling=Falling
Fallingquickly=Falling quickly
Fallingveryrapidly=Falling very rapidly


A variety of translated files are coming soon in the other Languages section