Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
c3976b0f
Commit
c3976b0f
authored
Jan 17, 2014
by
Digimon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added possibility to save messages to be translated
parent
9b723baa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
MessageController.php
framework/console/controllers/MessageController.php
+0
-0
DbMessageSource.php
framework/i18n/DbMessageSource.php
+1
-1
config.php
framework/messages/config.php
+1
-1
No files found.
framework/console/controllers/MessageController.php
View file @
c3976b0f
This diff is collapsed.
Click to expand it.
framework/i18n/DbMessageSource.php
View file @
c3976b0f
...
@@ -22,7 +22,7 @@ use yii\db\Query;
...
@@ -22,7 +22,7 @@ use yii\db\Query;
*
*
* ~~~
* ~~~
* CREATE TABLE tbl_source_message (
* CREATE TABLE tbl_source_message (
* id INTEGER PRIMARY KEY,
* id INTEGER PRIMARY KEY
AUTO_INCREMENT
,
* category VARCHAR(32),
* category VARCHAR(32),
* message TEXT
* message TEXT
* );
* );
...
...
framework/messages/config.php
View file @
c3976b0f
...
@@ -42,6 +42,6 @@ return [
...
@@ -42,6 +42,6 @@ return [
'.hgkeep'
,
'.hgkeep'
,
'/messages'
,
'/messages'
,
],
],
// Generated file format. Can be either "php" or "po".
// Generated file format. Can be either "
db", "
php" or "po".
'format'
=>
'php'
,
'format'
=>
'php'
,
];
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment