Commit 3f40e08441f2e89ad63fd3ea9d9cf6be573a25b1
1 parent
05025a11
Exists in
master
and in
1 other branch
adds translation to gov_user model
Showing
3 changed files
with
25 additions
and
16 deletions
Show diff stats
src/noosfero-spb/gov_user/lib/institution.rb
src/noosfero-spb/gov_user/po/gov_user.pot
| ... | ... | @@ -8,8 +8,8 @@ msgid "" |
| 8 | 8 | msgstr "" |
| 9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" |
| 11 | -"POT-Creation-Date: 2016-05-10 17:07-0300\n" | |
| 12 | -"PO-Revision-Date: 2016-05-10 17:07-0300\n" | |
| 11 | +"POT-Creation-Date: 2016-05-30 11:46-0300\n" | |
| 12 | +"PO-Revision-Date: 2016-05-30 11:46-0300\n" | |
| 13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| 15 | 15 | "Language: \n" |
| ... | ... | @@ -18,31 +18,31 @@ msgstr "" |
| 18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
| 19 | 19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" |
| 20 | 20 | |
| 21 | -#: ../controllers/gov_user_plugin_controller.rb:142 | |
| 21 | +#: ../controllers/gov_user_plugin_controller.rb:140 | |
| 22 | 22 | #: ../views/gov_user_plugin_myprofile/edit_institution.html.erb:87 |
| 23 | 23 | msgid "Select a Governmental Sphere" |
| 24 | 24 | msgstr "" |
| 25 | 25 | |
| 26 | -#: ../controllers/gov_user_plugin_controller.rb:147 | |
| 26 | +#: ../controllers/gov_user_plugin_controller.rb:145 | |
| 27 | 27 | #: ../views/gov_user_plugin_myprofile/edit_institution.html.erb:98 |
| 28 | 28 | msgid "Select a Governmental Power" |
| 29 | 29 | msgstr "" |
| 30 | 30 | |
| 31 | -#: ../controllers/gov_user_plugin_controller.rb:152 | |
| 31 | +#: ../controllers/gov_user_plugin_controller.rb:150 | |
| 32 | 32 | #: ../views/gov_user_plugin_myprofile/edit_institution.html.erb:109 |
| 33 | 33 | msgid "Select a Juridical Nature" |
| 34 | 34 | msgstr "" |
| 35 | 35 | |
| 36 | -#: ../controllers/gov_user_plugin_controller.rb:186 | |
| 36 | +#: ../controllers/gov_user_plugin_controller.rb:184 | |
| 37 | 37 | #: ../controllers/gov_user_plugin_myprofile_controller.rb:30 |
| 38 | 38 | msgid "Could not find Governmental Power or Governmental Sphere" |
| 39 | 39 | msgstr "" |
| 40 | 40 | |
| 41 | -#: ../controllers/gov_user_plugin_controller.rb:232 | |
| 41 | +#: ../controllers/gov_user_plugin_controller.rb:230 | |
| 42 | 42 | msgid "Institution successful created!" |
| 43 | 43 | msgstr "" |
| 44 | 44 | |
| 45 | -#: ../controllers/gov_user_plugin_controller.rb:237 | |
| 45 | +#: ../controllers/gov_user_plugin_controller.rb:235 | |
| 46 | 46 | msgid "Institution could not be created!" |
| 47 | 47 | msgstr "" |
| 48 | 48 | |
| ... | ... | @@ -80,15 +80,19 @@ msgstr "" |
| 80 | 80 | msgid "Institution" |
| 81 | 81 | msgstr "" |
| 82 | 82 | |
| 83 | -#: ../lib/institution.rb:66 | |
| 83 | +#: ../lib/institution.rb:6 | |
| 84 | +msgid "institution" | |
| 85 | +msgstr "" | |
| 86 | + | |
| 87 | +#: ../lib/institution.rb:68 | |
| 84 | 88 | msgid "invalid, only public and private institutions are allowed." |
| 85 | 89 | msgstr "" |
| 86 | 90 | |
| 87 | -#: ../lib/institution.rb:78 ../lib/institution.rb:89 ../lib/institution.rb:105 | |
| 91 | +#: ../lib/institution.rb:80 ../lib/institution.rb:91 ../lib/institution.rb:107 | |
| 88 | 92 | msgid "can't be blank" |
| 89 | 93 | msgstr "" |
| 90 | 94 | |
| 91 | -#: ../lib/institution.rb:92 | |
| 95 | +#: ../lib/institution.rb:94 | |
| 92 | 96 | msgid "invalid state" |
| 93 | 97 | msgstr "" |
| 94 | 98 | |
| ... | ... | @@ -305,19 +309,19 @@ msgstr "" |
| 305 | 309 | msgid "No institution found" |
| 306 | 310 | msgstr "" |
| 307 | 311 | |
| 308 | -#: ../views/person_editor_extras.html.erb:32 | |
| 312 | +#: ../views/person_editor_extras.html.erb:30 | |
| 309 | 313 | msgid "Should begin with a capital letter and no special characters" |
| 310 | 314 | msgstr "" |
| 311 | 315 | |
| 312 | -#: ../views/person_editor_extras.html.erb:33 | |
| 316 | +#: ../views/person_editor_extras.html.erb:31 | |
| 313 | 317 | msgid "Email should have the following format: name@host.br" |
| 314 | 318 | msgstr "" |
| 315 | 319 | |
| 316 | -#: ../views/person_editor_extras.html.erb:34 | |
| 320 | +#: ../views/person_editor_extras.html.erb:32 | |
| 317 | 321 | msgid "Site should have a valid format: http://name.hosts" |
| 318 | 322 | msgstr "" |
| 319 | 323 | |
| 320 | -#: ../views/person_editor_extras.html.erb:35 | |
| 324 | +#: ../views/person_editor_extras.html.erb:33 | |
| 321 | 325 | msgid "If you work in a public agency use your government e-Mail" |
| 322 | 326 | msgstr "" |
| 323 | 327 | |
| ... | ... | @@ -369,7 +373,7 @@ msgstr "" |
| 369 | 373 | msgid "No organization or company found" |
| 370 | 374 | msgstr "" |
| 371 | 375 | |
| 372 | -#: ../views/ratings_extra_field.html.erb:9 | |
| 376 | +#: ../views/ratings_extra_field.html.erb:8 | |
| 373 | 377 | msgid "Add" |
| 374 | 378 | msgstr "" |
| 375 | 379 | ... | ... |
src/noosfero-spb/gov_user/po/pt/gov_user.po
| ... | ... | @@ -57,6 +57,9 @@ msgstr "Informações da Instituição" |
| 57 | 57 | msgid "Institution" |
| 58 | 58 | msgstr "Instituição" |
| 59 | 59 | |
| 60 | +msgid "institution" | |
| 61 | +msgstr "instituição" | |
| 62 | + | |
| 60 | 63 | msgid "invalid, only public and private institutions are allowed." |
| 61 | 64 | msgstr "Inválido, somente instituições públicas e privadas são permitidas." |
| 62 | 65 | ... | ... |