fuzzytime 0.7.3 → 0.7.4
raw patch · 7 files changed
+31/−12 lines, 7 files
Files
- CHANGELOG +4/−1
- INSTALL +1/−1
- README +3/−3
- fuzzytime.cabal +3/−3
- src/FuzzyTime.hs +2/−0
- src/fuzzytime.1 +16/−2
- src/fuzzytime.hs +2/−2
CHANGELOG view
@@ -1,10 +1,13 @@ TODO check Spanish: 21 (las? la?), halves- timer for Danish, Greek and Spanish+ timer for Danish, Greek, Italian and Spanish halv midnatt -> Swedish config file (+ when to play the sound/s) read default language from $LANG (hFlush!) daemon?++0.7.4 2011.04.26+ added Italian (thanks erm67) 0.7.3 2011.04.22 added Swedish (thanks Closey)
INSTALL view
@@ -1,4 +1,4 @@-fuzzytime 0.7.3 (2011.04.22)+fuzzytime 0.7.4 (2011.04.26) A clock and timer that tell the time in a more human way (the 'ten past six'-style)
README view
@@ -15,7 +15,7 @@ ### --help A clock and timer that tell the time in a more human way.-v0.7.3, 2011.04.22, *antispam*, GPL3++v0.7.4, 2011.04.26, *antispam*, GPL3+ fuzzytime [COMMAND] ... [OPTIONS] @@ -28,8 +28,8 @@ --caps=INT Capital letters; default 1 (see the man page). -c --clock=INT 12 or 24-hour clock; default 12-hour.- -l --lang=ITEM Language (currently da, de, el, en, es, fr, nb, nl, pl, se- and tr); default en.+ -l --lang=ITEM Language (currently da, de, el, en, es, fr, it, nb, nl, pl,+ se and tr); default en. -p --prec=INT Precision (1 <= prec <= 60 [minutes]); default 5. -t --time=ITEM Time to fuzzify as HH:MM; default current time. -s --style=INT How the time is told (see the man page); default 1.
fuzzytime.cabal view
@@ -1,5 +1,5 @@ name: fuzzytime-version: 0.7.3+version: 0.7.4 description: A clock and timer that tell the time in a more human way synopsis: A clock and timer that tell the time in a more human way category: Utils@@ -19,7 +19,7 @@ build-depends: base >= 4 && < 5 exposed-modules: FuzzyTime hs-source-dirs: src- ghc-options: -O2+ -- ghc-options: -O2 executable fuzzytime buildable: True@@ -27,4 +27,4 @@ build-depends: base >= 4 && < 5, cmdargs, haskell98, old-time, process hs-source-dirs: src -- ghc-options: -Wall -O2- ghc-options: -O2+ -- ghc-options: -O2
src/FuzzyTime.hs view
@@ -32,6 +32,7 @@ import FuzzyTime.English import FuzzyTime.German import FuzzyTime.Greek+import FuzzyTime.Italian import FuzzyTime.French import FuzzyTime.Norwegian import FuzzyTime.Polish@@ -75,6 +76,7 @@ "el" -> showFuzzyTimeEl ft "en" -> showFuzzyTimeEn ft "es" -> showFuzzyTimeEs ft+ "it" -> showFuzzyTimeIt ft "fr" -> showFuzzyTimeFr ft "nb" -> showFuzzyTimeNb ft "nl" -> showFuzzyTimeNl ft
src/fuzzytime.1 view
@@ -1,4 +1,4 @@-.TH fuzzytime 1 "April 22, 2011" "version 0.7.3" "A fuzzy clock and timer"+.TH fuzzytime 1 "April 26, 2011" "version 0.7.4" "A fuzzy clock and timer" .\" ------------------------------------------------------------------------------------- @@ -130,6 +130,10 @@ Greek – – + + – – – +Italian+ style 1 – – + + – – –+ style 2 + + + + – – [13/19/0/5]+ Norwegian style 1 – – + + – [±10] – style 2 + – + + – [±10] –@@ -145,7 +149,7 @@ Swedish style 1 – – + + – [±7] –- style 2 + – + + – [±7] –+ style 2 + – + + – [±7] – Turkish style 1 – – + + [0, 12:30] – –@@ -214,6 +218,14 @@ Timer: translation needed .TP+Italian (thanks erm67)+Style 1: 11:30 = le undici e mezzo, 23:45 = le dodici meno un quarto+.IP+Style 2: 01:00 = l’una di notte, 05:00 = le cinque del mattino, 12:00 = mezzogiorno, 13:00 = l’una del pomeriggio, 19:00 = le sette di sera+.IP+Timer: translation needed++.TP Norwegian (thanks arnvidr) Style 1: 11:45 = 23:45 = kvart på tolv, 10:20 = ti på halv elleve. .IP@@ -301,6 +313,8 @@ Closey from forums.gentoo.org for Swedish. Daniel Fischer from beginners@haskell.org for Haskell help.++erm67 from forums.gentoo.org for Italian. Gbak from bbs.archlinux.org for Greek.
src/fuzzytime.hs view
@@ -58,7 +58,7 @@ -- | \[config] Languages available. confAvailLangs :: [String]-confAvailLangs = ["da", "de", "el", "en", "es", "fr", "nb", "nl", "pl", "se", "tr"]+confAvailLangs = ["da", "de", "el", "en", "es", "fr", "it", "nb", "nl", "pl", "se", "tr"] -- defaults -----------------------------------------------------------------------------------------------------------------------------------------------------------------------@@ -179,7 +179,7 @@ -- | \[config] Help message for summary confHelpSummary :: String-confHelpSummary = "A clock and timer that tell the time in a more human way.\nv0.7.3, 2011.04.22, kamil.stachowski@gmail.com, GPL3+"+confHelpSummary = "A clock and timer that tell the time in a more human way.\nv0.7.4, 2011.04.26, kamil.stachowski@gmail.com, GPL3+" -- check --------------------------------------------------------------------------------------------------------------------------------------------------------------------------