pungpoo / giix

Automatically exported from code.google.com/p/giix
0 stars 0 forks source link

giix doesnt detects App.php #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Add es language to messages folder
2.Create a giix model
3.Crear a giix CRUD

What is the expected output?
A view in Spanish

What do you see instead?
A view in English

What version of giix are you using?
1.9.1

What is your stack (operating system, web server, DBMS, PHP version)?
OpenSUSE 12.1,Apache2,Mysql5,PHP5
What version of the Yii Framework are you using?
1.1.10

This problem is relates to linux being case sensitive, giix's view is trying to 
translate from app.php

Yii::t('app', 'are required')

but the file is named App.php so yii doesnt find the file. i just changes 
app->App and i got my Spanish view.

btw nice extension, it helped me a lot with MANY_MANY relationships

Original issue reported on code.google.com by josebern...@gmail.com on 26 Jul 2012 at 3:21