Commit Graph

40 Commits

Author SHA1 Message Date
ShtHappens796
634f2bdfa0 Nicetime fix: 0 seconds from now -> just now (#1509)
* Update TwigExtension.php

Check if date matches, which means the post / comment was posted just now. 

Will return proper value to whatever function uses it.
The file /system/languages/en.yaml and basically all language files need to include the JUST_NOW text value which should be "just now", of course correctly translated in each language.

This fix has been created in order to fix the "0 seconds from now" message as it sounds weird.

* Update en.yaml - Add JUST_NOW variable

Should be translated to other languages and included in all translation files.
2017-06-02 06:32:15 -06:00
Andy Miller
2282d2c69c Fixed up the languages 2016-07-13 17:07:08 -06:00
Djamil Legato
693568b509 Updated languages, removed frontmatter delimiter 2016-04-20 13:00:49 -07:00
Andy Miller
bf2b3bff9a Updated languages 2016-04-20 13:48:02 -06:00
Vaios Karampinis
bfd48218ab fix some greek translations 2016-03-22 11:47:00 +02:00
Flavio Copes
028554dbf8 Fix languages in Grav 2016-02-11 16:27:34 +01:00
Takefumi Ota
39b1eed912 Add Ja language file. 2016-02-09 10:27:57 +09:00
Andy Miller
b6c289067f Translations from crowdin 2016-02-04 16:22:32 -07:00
v3d
0d33a1d479 Update hr.yaml
Update MONTHS_OF_THE_YEAR and DAYS_OF_THE_WEEK
2016-01-15 12:40:58 +01:00
Flavio Copes
d827228dc2 Add new languages to Grav 2015-12-24 19:11:24 +01:00
Flavio Copes
84073a53cb Add MONTHS_OF_THE_YEAR and DAYS_OF_THE_WEEK to the Grav language file,
Took translations from
https://github.com/getgrav/grav-theme-twentyfifteen/blob/develop/languag
es.yaml
2015-12-24 19:05:13 +01:00
François
2f2adaaee8 Update fr.yaml 2015-12-19 18:17:07 +01:00
Tamas Csizmadia
b86aa6d473 Updated Hungarian translation with new string. 2015-12-01 21:57:31 +01:00
Marc-Antoine Thevenet
1170f2f58d Update fr.yaml
Update following the /en file
Thanks
2015-11-30 15:30:22 -04:00
Flavio Copes
5b0f905ae3 Update italian lang file 2015-11-30 19:20:20 +01:00
Hugo Avila
b33ab43ff9 Update en.yaml 2015-11-29 21:39:51 -08:00
Hugo Avila
c580399db6 Update es.yaml 2015-11-29 21:33:08 -08:00
Hugo Avila
00d8717d7c Create es.yaml 2015-11-29 21:26:21 -08:00
Kruno H
500c548af4 Update hr.yaml
added PLURAL_MORE_THAN_TWO translations
2015-11-26 22:48:02 +01:00
Flavio Copes
17f3ca6eba Merge pull request #466 from tcsizmadia/develop
Updated system/languages/hu.yaml
2015-11-22 16:32:57 +01:00
Tamas Csizmadia
b29d79738b Updated system/languages/hu.yaml
Tweaked translation for 'ago' - sounds less weird.
2015-11-22 12:34:44 +01:00
Andy Miller
020cdd7324 Merge pull request #464 from tcsizmadia/develop
Hungarian translation in system/languages/hu.yaml
2015-11-21 22:04:51 -07:00
Marc-Antoine Thevenet
745b418cd7 Update fr.yaml
update based on the version: en
Nov 17, 2015
2015-11-21 21:47:21 -04:00
Tamas Csizmadia
2a02c8bc4f Hungarian translation in system/languages/hu.yaml 2015-11-21 21:53:03 +01:00
Kruno H
7c4fd3858c Croatian translation 2015-11-18 20:35:23 +01:00
Paul Bovis
280377985f Added form validation translations
These will need to be translated into other languages.
2015-11-17 11:57:15 -07:00
Barış ÇELİK
050512536a added "Turkish" language 2015-11-05 08:42:24 +03:00
Thomas Breuss
293dfad87e Use of capital and small initial letters 2015-10-26 19:35:08 +01:00
Mark de Raaf
667ad5c580 add dutch language file 2015-10-20 16:50:45 +02:00
Mark de Raaf
2e4866f5fa Add dutch language file nl (nederland) 2015-10-20 16:07:57 +02:00
joomline
5857882417 Update ru.yaml
Fix languages
2015-10-16 21:33:07 +02:00
joomline
373130d8ac ru.yaml
Russian language for grav cms
2015-10-16 14:43:37 +02:00
Andy Miller
c614d27f3e Merge pull request #338 from maelsoucaze/french-translation
Add French translation
2015-09-28 16:39:21 -06:00
Maël Soucaze
538dff16a6 Add French translation 2015-09-29 00:36:19 +02:00
Miroslav Abrahám
a35aad61ee Adding the Czech translation. 2015-09-28 23:56:42 +02:00
Tom Bohacek
3f701f8c55 Update de.yaml 2015-09-17 14:09:55 +02:00
Tom Bohacek
cff36d7cde Create de.yaml 2015-09-17 14:04:27 +02:00
Flavio Copes
4153dbb8e5 Allow translations for the twig nicetime filter. Provide italian translation. Refs #324 2015-09-17 13:51:56 +02:00
Andy Miller
0e28dc835e Added translation for frontmatter error 2015-08-16 13:51:04 -06:00
Andy Miller
16f779c8f5 changed Inflector from static to class + added multilang support 2015-07-24 10:26:54 -06:00