Commit Graph

1457 Commits

Author SHA1 Message Date
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
Flavio Copes
0cd5c60e5d Defaults to english 2015-08-18 19:27:10 +02:00
Flavio Copes
38016fa5af Independent admin-side translate functionality 2015-08-18 18:48:15 +02:00
Flavio Copes
0d7706d088 Prepare strings to be used by javascript 2015-08-18 17:24:13 +02:00
Flavio Copes
4584589a42 Translate system config 2015-08-18 16:59:28 +02:00
Flavio Copes
c450988f05 All pages blueprints translated 2015-08-18 16:18:11 +02:00
Flavio Copes
9976e2c72d Fix language change requiring a logout to be applied (still requires a second page reload) 2015-08-18 16:04:00 +02:00
Flavio Copes
9a0a0f7f9d Go on with translations 2015-08-18 15:51:40 +02:00
Flavio Copes
b23e12b3f5 Go on with blueprints translations 2015-08-18 15:16:37 +02:00
Flavio Copes
2c325b7bbd Forgot string 2015-08-18 14:42:06 +02:00
Flavio Copes
3b4fc80adb Start translation of blueprints strings. 2015-08-18 14:41:55 +02:00
Flavio Copes
3ec0cf22d2 Merge develop 2015-08-18 14:37:56 +02:00
Flavio Copes
f458d34c9b Allow translating admin form fields 2015-08-18 14:36:17 +02:00
Andy Miller
df11f9ee45 adminLanguages function 2015-08-17 18:22:15 -06:00
Flavio Copes
ec6e017fef Fix opacity issue when clicking the text label beside the checkbox 2015-08-17 20:41:09 +02:00