Commit Graph

571 Commits

Author SHA1 Message Date
Flavio Copes
bf4f728232 Fix redirect for new pages 2015-08-20 16:03:54 +02:00
Flavio Copes
f409799ce8 On a new page, don't show "save as [language]". And, just show the current language 2015-08-20 16:03:43 +02:00
Flavio Copes
6dc5d5be06 Fix for single-language pages 2015-08-20 15:43:20 +02:00
Flavio Copes
d727b6c9d9 Correct behavior of the lang switcher buttons 2015-08-20 15:18:15 +02:00
Flavio Copes
16fe926e5d Make sure that saving a page just saves it in its own language 2015-08-20 15:17:45 +02:00
Flavio Copes
c4127be37d Re-added language checks in the controller redirect function. Ensures Grav admin always has the correct language set in the links (otherwise it's not happening). Bring back some lines removed in 8e814e30ad 2015-08-20 15:17:11 +02:00
Matias Griese
c6b1f1d2eb Fix blueprints to be loaded by using blueprints:// stream (#38) 2015-08-20 11:58:14 +03:00
Djamil Legato
0d6124a525 Ensuring a form element exists in the DOM, otherwise discard it from cache. (fixes #79) 2015-08-19 21:01:17 -07:00
Djamil Legato
f7da16241a Loading sortables from base 2015-08-19 21:00:17 -07:00
Andy Miller
a495fd0924 preview **should** use route, not rawRoute 2015-08-19 17:02:59 -06:00
Andy Miller
dc24c93b50 simplified the page macro a little more 2015-08-19 16:55:15 -06:00
Andy Miller
8e814e30ad simplified redirect that was causing some issues 2015-08-19 16:54:48 -06:00
Andy Miller
7fcf239132 removed some double slash situations 2015-08-19 16:54:30 -06:00
Andy Miller
7cd4e5b0a6 added missing uninstall strings 2015-08-19 16:53:21 -06:00
Andy Miller
f8d47edbbd refactored the page loop a bit to use _context 2015-08-19 14:58:18 -06:00
Andy Miller
366b2a05a6 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-08-19 12:52:23 -06:00
Andy Miller
9698c3b34c toolbar tightening 2015-08-19 12:52:18 -06:00
Andy Miller
d773a878de Fix for #54 issue - Call to a member function path() on a non-object 2015-08-19 12:51:55 -06:00
Andy Miller
954940755c Merge pull request #81 from Sommerregen/bugfix/minor-param-sep-fixes
Bugfix/minor param sep fixes
2015-08-19 12:22:45 -06:00
Sommerregen
59f9c75e2a Some more fixes 2015-08-19 20:04:25 +02:00
Sommerregen
8f57adde65 Minor param_sep fixes 2015-08-19 20:03:05 +02:00
Flavio Copes
2d3ef8bedd More italian strings 2015-08-19 17:33:26 +02:00
Flavio Copes
d8dec31864 Language file 2015-08-19 17:31:03 +02:00
Flavio Copes
fab0d61ab0 Allow to save the currently edited page as a new language 2015-08-19 17:30:25 +02:00
Flavio Copes
06173decfb Fix URL issue in copy 2015-08-19 17:29:38 +02:00
Flavio Copes
616b896cfd Add taskSaveas() to save a page in a new language 2015-08-19 17:28:39 +02:00
Flavio Copes
8d2440d238 Make sure we always have the language code in the URL 2015-08-19 17:27:57 +02:00
Flavio Copes
a27ee216dd Add the correct task from the button clicked. Not be the best solution but solved the problem. Looking for a more correct solution later. 2015-08-19 17:27:34 +02:00
Flavio Copes
c2a54b3770 Add a button to switch to a different language version of a page. Uses the switchlanguage task to which I added a redirect parameter to correctly switch the language 2015-08-19 14:32:06 +02:00
Flavio Copes
c64432af15 Use default routes if set 2015-08-19 11:33:51 +02:00
Flavio Copes
b4212847f4 Avoid losing the language code when switching normal/expert mode in "edit page" 2015-08-19 10:23:48 +02:00
Flavio Copes
79bafcd6ab Correctly set the default language when not set in the user yaml (fixes language not changing problem) 2015-08-19 10:17:50 +02:00
Andy Miller
ecef4a19f2 Updated with rawRoute() again 2015-08-18 22:33:11 -06:00
Andy Miller
7ebd32cdb2 back to using local names 2015-08-18 19:07:03 -06:00
Andy Miller
6fba96b0b0 refactored the lang dropdown a little 2015-08-18 19:05:33 -06:00
Andy Miller
b27bf51e79 more translation in fields 2015-08-18 18:51:44 -06:00
Andy Miller
cd0038bd5e Revert "use raw route for page link"
This reverts commit 607f017632.
2015-08-18 18:47:45 -06:00
Flavio Copes
8cba4cd03a Fix help translation 2015-08-18 22:08:01 +02:00
Flavio Copes
1efd31df5c Merge pull request #77 from kevinkub/patch-2
Added German Language
2015-08-18 21:57:56 +02:00
Andy Miller
607f017632 use raw route for page link 2015-08-18 13:53:42 -06:00
Kevin Kub
78cd8614fa Added German Language
I have added all the german translations to the current version. However I have not been able to test some strings. I am willing to fix this in the next few days, when I have been able to check out all the texts in my installation and not only in editor.
2015-08-18 21:35:41 +02:00
Flavio Copes
29a6af26f3 Fix untranslated string 2015-08-18 21:13:04 +02:00
Flavio Copes
84bd5605f0 Fix session variable if not set before 2015-08-18 21:07:11 +02:00
Flavio Copes
762fd30ab7 Merge pull request #74 from getgrav/feature/translate-admin
Merge the feature/translate branch.
- Adds translation of the whole admin interface, blueprints included.
- Adds editing of content in multiple languages.
2015-08-18 20:37:09 +02:00
Flavio Copes
468d79530a Gray label 2015-08-18 20:27:10 +02:00
Flavio Copes
6347f21ed8 Change 'en' with the real site front default language 2015-08-18 20:26:01 +02:00
Flavio Copes
210a2f6032 Gray out pages not currently available in the language selected for the content. Add the page language flag 2015-08-18 20:18:43 +02:00
Flavio Copes
f0f796e51d Capitalize 2015-08-18 19:48:19 +02:00
Flavio Copes
4f3ef359c8 Fix getting the site languages 2015-08-18 19:44:07 +02:00
Flavio Copes
cb347ee30f Use language names from LanguageCodes 2015-08-18 19:31:43 +02:00