diff --git a/.gitignore b/.gitignore index e69de29b..df2e9d35 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,18 @@ +# User specific & automatically generated files # +################################################# +*.mo + +# IDE and editor specific files # +################################# +.idea + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +Icon? +ehthumbs.db +Thumbs.db \ No newline at end of file diff --git a/Console/Command/MigrationShell.php b/Console/Command/MigrationShell.php index 985c28ad..ce212d56 100644 --- a/Console/Command/MigrationShell.php +++ b/Console/Command/MigrationShell.php @@ -105,15 +105,15 @@ public function startup() { $this->Version = new MigrationVersion($options); $this->_messages = array( - 'create_table' => __d('migrations', 'Creating table :table.'), - 'drop_table' => __d('migrations', 'Dropping table :table.'), - 'rename_table' => __d('migrations', 'Renaming table :old_name to :new_name.'), - 'add_field' => __d('migrations', 'Adding field :field to :table.'), - 'drop_field' => __d('migrations', 'Dropping field :field from :table.'), - 'change_field' => __d('migrations', 'Changing field :field from :table.'), - 'rename_field' => __d('migrations', 'Renaming field :old_name to :new_name on :table.'), - 'add_index' => __d('migrations', 'Adding index :index to :table.'), - 'drop_index' => __d('migrations', 'Dropping index :index from :table.'), + 'create_table' => __d('migrations', 'Creating table ":table".'), + 'drop_table' => __d('migrations', 'Dropping table ":table".'), + 'rename_table' => __d('migrations', 'Renaming table ":old_name" to ":new_name".'), + 'add_field' => __d('migrations', 'Adding field ":field" to table ":table".'), + 'drop_field' => __d('migrations', 'Dropping field ":field" from table ":table".'), + 'change_field' => __d('migrations', 'Changing field ":field" from table ":table".'), + 'rename_field' => __d('migrations', 'Renaming field ":old_name" to ":new_name" on table ":table".'), + 'add_index' => __d('migrations', 'Adding index ":index" to table ":table".'), + 'drop_index' => __d('migrations', 'Dropping index ":index" from table ":table".'), ); } diff --git a/Lib/CakeMigration.php b/Lib/CakeMigration.php index b1200ce5..26493315 100644 --- a/Lib/CakeMigration.php +++ b/Lib/CakeMigration.php @@ -299,7 +299,7 @@ protected function _run() { try { $result = $this->{$methodName}($type, $info); } catch (Exception $e) { - throw new MigrationException($this, sprintf(__d('migrations', '%s'), $e->getMessage())); + throw new MigrationException($this, $e->getMessage()); } } return $result; diff --git a/Locale/deu/LC_MESSAGES/migrations.po b/Locale/deu/LC_MESSAGES/migrations.po index cdf48a53..f2e3d05b 100644 --- a/Locale/deu/LC_MESSAGES/migrations.po +++ b/Locale/deu/LC_MESSAGES/migrations.po @@ -1,205 +1,281 @@ # LANGUAGE translation of the CakePHP Migrations plugin # -# Copyright 2010, Cake Development Corporation (http://cakedc.com) +# Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # # Licensed under The MIT License # Redistributions of files must retain the above copyright notice. # -# @copyright Copyright 2010, Cake Development Corporation (http://cakedc.com) +# @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # @license MIT License (http://www.opensource.org/licenses/mit-license.php) # +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" -"PO-Revision-Date: 2010-09-23 13:12+0100\n" +"Project-Id-Version: CakePHP Migrations Plugin\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" +"PO-Revision-Date: 2014-07-18 18:28+0100\n" "Last-Translator: Florian Krämer \n" "Language-Team: Cake Development Corporation \n" +"Language: de_DE\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Poedit-Language: GERMAN\n" "X-Poedit-Country: GERMANY\n" "X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." -msgstr "Klasse `%1$s` nicht gefunden in Datei `%2$s` für %3$s." - -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." -msgstr "Datei `%1$s` nicht gefunden in %2$s." - -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." -msgstr "%2$s enthält keine ordentliche map.php Datei." - -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." -msgstr "Die Migrationsrichtung (%s) ist keine gültige Richtung." - -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." -msgstr "Der Aktionstyp (%s) der Migration ist kein gültiger Aktionstyp." - -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." -msgstr "Die Tabelle \"%s\" existiert bereits in der Datenbank." +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" +msgstr "Leider kann ich nicht downgraden. Warum wollen Sie dies überhaupt tun?" -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" -msgstr "SQL Error: %s" - -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." -msgstr "Die Tabelle \"%s\" existiert nicht in der Datenbank." - -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." -msgstr "Das Feld \"%s\" existiert nicht in der Tabelle \"%s\" ." - -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." -msgstr "Das Feld \"%s\" existiert bereits in der Tabelle \"%s\" ." - -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." -msgstr "Unterbrechung" - -#: /vendors/shells/migration.php:76 +#: Console/Command/MigrationShell.php:75 msgid "Cake Migration Shell" msgstr "Cake Migrations Shell" -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." -msgstr "Erstelle Tabelle :table." - -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." -msgstr "Verwerfe Tabelle :table." - -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." -msgstr "Benenne tabelle :old_name um zu :new_name" - -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." -msgstr "Füge Feld :field zu :table hinzu." - -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." -msgstr "Verwerfe Feld :field in Tabelle :table." - -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." -msgstr "Ändere Feld :field in Tabelle :table." - -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." -msgstr "Benenne Feld :old_name um zu :new_name in Tabelle :table." - -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." -msgstr "Füge index :index zu :table hinzu." - -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." -msgstr "Verwerfe index :index von :table" - -#: /vendors/shells/migration.php:129 +#: Console/Command/MigrationShell.php:108 +#, fuzzy +msgid "Creating table \":table\"." +msgstr "Erstelle Tabelle \":table\"." + +#: Console/Command/MigrationShell.php:109 +#, fuzzy +msgid "Dropping table \":table\"." +msgstr "Verwerfe Tabelle \":table\"." + +#: Console/Command/MigrationShell.php:110 +#, fuzzy +msgid "Renaming table \":old_name\" to \":new_name\"." +msgstr "Benenne tabelle \":old_name\" um zu \":new_name\"." + +#: Console/Command/MigrationShell.php:111 +#, fuzzy +msgid "Adding field \":field\" to table \":table\"." +msgstr "Füge Feld \":field\" zu \":table hinzu\"." + +#: Console/Command/MigrationShell.php:112 +#, fuzzy +msgid "Dropping field \":field\" from table \":table\"." +msgstr "Verwerfe Feld \":field\" in Tabelle \":table\"." + +#: Console/Command/MigrationShell.php:113 +#, fuzzy +msgid "Changing field \":field\" from table \":table\"." +msgstr "Ändere Feld \":field\" in Tabelle \":table\"." + +#: Console/Command/MigrationShell.php:114 +#, fuzzy +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." +msgstr "Benenne Feld \":old_name\" um zu \":new_name\" in Tabelle \":table\"." + +#: Console/Command/MigrationShell.php:115 +#, fuzzy +msgid "Adding index \":index\" to table \":table\"." +msgstr "Füge index \":index\" zu \":table\" hinzu." + +#: Console/Command/MigrationShell.php:116 +#, fuzzy +msgid "Dropping index \":index\" from table \":table\"." +msgstr "Verwerfe index \":index\" von \":table\"." + +#: Console/Command/MigrationShell.php:190 msgid "No migrations available." msgstr "Keine Migrationen verfügbar." -#: /vendors/shells/migration.php:145;159;181 -msgid "Not a valid migration version." -msgstr "Dies ist keine gültige Migrationsversion" - -#: /vendors/shells/migration.php:167 -msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." -msgstr "Bitte wählen Sie zu welcher Version sie migrieren wollen. [q] um zu beenden oder [c] zum aufräumen." - -#: /vendors/shells/migration.php:188 +#: Console/Command/MigrationShell.php:220 msgid "Running migrations:" msgstr "Führe Migrationen aus:" -#: /vendors/shells/migration.php:192 +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" +msgstr "Migration führt einen Trockentest durch. Es werden keine Änderungen an der Datenbank vorgenommen." + +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." +msgstr "Alle Migrationen wurden durchgeführt." + +#: Console/Command/MigrationShell.php:252 msgid "An error occurred when processing the migration:" msgstr "Es trat ein Fehler während der Durchführung der Migration auf:" -#: /vendors/shells/migration.php:193 +#: Console/Command/MigrationShell.php:253 msgid "Migration: %s" msgstr "Migration: %s" -#: /vendors/shells/migration.php:194 +#: Console/Command/MigrationShell.php:254 msgid "Error: %s" msgstr "Error: %s" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." -msgstr "Alle Migrationen wurden durchgeführt." +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." +msgstr "Wollen Sie die Migration als erfolgreich markieren? [y]Ja oder [a]bbrechen" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" -msgstr "Bitte geben Sie einen deskriptiven Namen für die zu generierende Migration ein." +#: Console/Command/MigrationShell.php:306;319;346 +msgid "Not a valid migration version." +msgstr "Dies ist keine gültige Migrationsversion" -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." -msgstr "Der Migrations Name (%s) is ungültig. Er darf nur alphanumerische Zeichen enthalten." +#: Console/Command/MigrationShell.php:327 +msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." +msgstr "Bitte wählen Sie zu welcher Version sie migrieren wollen. [q] um zu beenden " +"oder [c] zum aufräumen." -#: /vendors/shells/migration.php:229 +#: Console/Command/MigrationShell.php:373 msgid "Do you want compare the schema.php file to the database?" msgstr "Möchten Sie die schema.php Datei mit der Datenbank vergleichen?" -#: /vendors/shells/migration.php:232 +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" +msgstr "Möchten Sie einen Dump von der aktuellen Datenbank generieren?" + +#: Console/Command/MigrationShell.php:390 +#, fuzzy +msgid "Do you want update the schema.php file?" +msgstr "Möchten Sie die schema.php Datei mit der Datenbank vergleichen?" + +#: Console/Command/MigrationShell.php:406 msgid "Comparing schema.php to the database..." msgstr "Vergleiche schema.php mit der Datenbank..." -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" -msgstr "Möchten Sie einen Dump von der aktuellen Datenbank generieren?" +#: Console/Command/MigrationShell.php:425 +#, fuzzy +msgid "Generating migration from commandline arguments..." +msgstr "Generiere Migration anhand der Kommandozeilenparameter..." + +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" +msgstr "Üngültiger Parameter" + +#: Console/Command/MigrationShell.php:453 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be used to generate a migration " +"from the CLI." +msgstr "" +"Der Migrations Name (%s) is ungültig. Er darf nur alphanumerische Zeichen " +"enthalten." -#: /vendors/shells/migration.php:246 +#: Console/Command/MigrationShell.php:474 msgid "Generating dump from current database..." msgstr "Generiere Dump von aktueller Datenbank..." -#: /vendors/shells/migration.php:260 +#: Console/Command/MigrationShell.php:495 +#, fuzzy +msgid "Do you want to preview the file before generation?" +msgstr "Möchten Sie die schema.php Datei mit der Datenbank vergleichen?" + +#: Console/Command/MigrationShell.php:506 msgid "Generating Migration..." msgstr "Generiere Migration..." -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." -msgstr "Weise Migrationen zu..." - -#: /vendors/shells/migration.php:284 +#: Console/Command/MigrationShell.php:515 msgid "Done." msgstr "Fertig." -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" +msgstr "" +"Bitte geben Sie einen deskriptiven Namen für die zu generierende Migration " +"ein." + +#: Console/Command/MigrationShell.php:527 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It must only contain alphanumeric characters " +"and start with a letter." +msgstr "" +"Der Migrations Name (%s) is ungültig. Er darf nur alphanumerische Zeichen " +"enthalten." + +#: Console/Command/MigrationShell.php:530 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be longer than 255 characters." +msgstr "" +"Der Migrations Name (%s) is ungültig. Er darf nur alphanumerische Zeichen " +"enthalten." + +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "Aktuelle Version:" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "Nicht angewandt." -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "Letzte Version:" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "Aktuelle Migrations Version:" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "Verfügbare Migrationen:" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "angewandt" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "nicht angewandt" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +#, fuzzy +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "Die Migrationsrichtung (%s) ist keine gültige Richtung." + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "Die Migrationsrichtung (%s) ist keine gültige Richtung." + +#: Lib/CakeMigration.php:294 Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "Der Aktionstyp (%s) der Migration ist kein gültiger Aktionstyp." + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "SQL Error: %s" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "Unterbrechung" + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "Klasse `%1$s` nicht gefunden in Datei `%2$s` für %3$s." + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "Datei `%1$s` nicht gefunden in %2$s." + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "Die Tabelle \"%s\" existiert nicht in der Datenbank." + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "Die Tabelle \"%s\" existiert bereits in der Datenbank." + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "Das Feld \"%s\" existiert nicht in der Tabelle \"%s\" ." + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "Das Feld \"%s\" existiert bereits in der Tabelle \"%s\" ." + +#: View/Elements/migrations_panel.ctp:12 +#, fuzzy +msgid "Migration Status" +msgstr "Migrationsstatus" diff --git a/Locale/fre/LC_MESSAGES/migrations.po b/Locale/fre/LC_MESSAGES/migrations.po index cd0912b7..93700983 100644 --- a/Locale/fre/LC_MESSAGES/migrations.po +++ b/Locale/fre/LC_MESSAGES/migrations.po @@ -1,192 +1,284 @@ +# LANGUAGE translation of the CakePHP Migrations plugin +# +# Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) +# +# Licensed under The MIT License +# Redistributions of files must retain the above copyright notice. +# +# @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) +# @license MIT License (http://www.opensource.org/licenses/mit-license.php) +# +#, fuzzy msgid "" msgstr "" "Project-Id-Version: CakePHP Migrations Plugin\n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" "PO-Revision-Date: \n" "Last-Translator: Pierre MARTIN \n" -"Language-Team: CakeDC \n" +"Language-Team: Cake Development Corporation \n" +"Language: fr\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: French\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"X-Poedit-Language: FRENCH\n" +"X-Poedit-Country: FRANCE\n" +"X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." -msgstr "Classe `%1$s` introuvable dans le fichier `%2$s` pour %3$s." - -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." -msgstr "Fichier `%1$s` introuvable dans %2$s." - -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." -msgstr "%2$s ne contient pas de fichier map.php propre." - -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." -msgstr "La direction de la Migration (%s) ne fait pas partie des directions valides." - -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." -msgstr "Le type d'action de la Migration (%s) ne fait pas partie des type d'actions valides." - -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." -msgstr "La table \"%s\" existe déjà dans la base de données." - -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" -msgstr "Erreur SQL : %s" - -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." -msgstr "La table \"%s\" n'existe pas dans la base de données." - -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." -msgstr "Le champ \"%s\" n'existe pas dans \"%s\"." - -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." -msgstr "Le champ \"%s\" existe déjà dans \"%s\"." - -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." -msgstr "Interrompu lors de l'exécution du callback \"%s\"." +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" +msgstr "" -#: /vendors/shells/migration.php:76 +#: Console/Command/MigrationShell.php:75 msgid "Cake Migration Shell" msgstr "Cake Migration Shell" -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." +#: Console/Command/MigrationShell.php:108 +#, fuzzy +msgid "Creating table \":table\"." msgstr "Création de la table :table." -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." +#: Console/Command/MigrationShell.php:109 +#, fuzzy +msgid "Dropping table \":table\"." msgstr "Suppression de la table :table." -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." +#: Console/Command/MigrationShell.php:110 +#, fuzzy +msgid "Renaming table \":old_name\" to \":new_name\"." msgstr "Renommage de la table :old_name en :new_name." -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." +#: Console/Command/MigrationShell.php:111 +#, fuzzy +msgid "Adding field \":field\" to table \":table\"." msgstr "Ajout du champ :field à :table." -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." +#: Console/Command/MigrationShell.php:112 +#, fuzzy +msgid "Dropping field \":field\" from table \":table\"." msgstr "Suppression du champ :field de :table." -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." +#: Console/Command/MigrationShell.php:113 +#, fuzzy +msgid "Changing field \":field\" from table \":table\"." msgstr "Modification du champ :field de :table." -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." +#: Console/Command/MigrationShell.php:114 +#, fuzzy +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." msgstr "Renommage du champ :old_name en :new_name dans :table." -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." +#: Console/Command/MigrationShell.php:115 +#, fuzzy +msgid "Adding index \":index\" to table \":table\"." msgstr "Ajout de l'index :index à :table." -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." +#: Console/Command/MigrationShell.php:116 +#, fuzzy +msgid "Dropping index \":index\" from table \":table\"." msgstr "Suppression de l'index :index de :table." -#: /vendors/shells/migration.php:129 +#: Console/Command/MigrationShell.php:190 msgid "No migrations available." msgstr "Aucune migration disponible." -#: /vendors/shells/migration.php:145;159;181 -msgid "Not a valid migration version." -msgstr "Version de migration invalide." - -#: /vendors/shells/migration.php:167 -msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." -msgstr "Veuillez choisir la version vers laquelle vous souhaitez migrer. [q]uitter ou [c] pour nettoyer" - -#: /vendors/shells/migration.php:188 +#: Console/Command/MigrationShell.php:220 msgid "Running migrations:" msgstr "Exécution des migrations :" -#: /vendors/shells/migration.php:192 +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" +msgstr "" + +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." +msgstr "Toutes les migrations ont été exécutées." + +#: Console/Command/MigrationShell.php:252 msgid "An error occurred when processing the migration:" msgstr "Une erreur est apparue lors de l'exécution de la migration :" -#: /vendors/shells/migration.php:193 +#: Console/Command/MigrationShell.php:253 msgid "Migration: %s" msgstr "Migration : %s" -#: /vendors/shells/migration.php:194 +#: Console/Command/MigrationShell.php:254 msgid "Error: %s" msgstr "Erreur : %s" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." -msgstr "Toutes les migrations ont été exécutées." +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." +msgstr "" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" -msgstr "Veuillez entrer le nom décrivant la migration à générer :" +#: Console/Command/MigrationShell.php:306;319;346 +msgid "Not a valid migration version." +msgstr "Version de migration invalide." -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." -msgstr "Le nom de la Migration (%s) est invalide. Il ne doit contenir que des caractères alphanumériques." +#: Console/Command/MigrationShell.php:327 +msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." +msgstr "" +"Veuillez choisir la version vers laquelle vous souhaitez migrer. [q]uitter " +"ou [c] pour nettoyer" -#: /vendors/shells/migration.php:229 +#: Console/Command/MigrationShell.php:373 msgid "Do you want compare the schema.php file to the database?" msgstr "Voulez vous comparer le fichier schema.php à la base de données ?" -#: /vendors/shells/migration.php:232 +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" +msgstr "Voulez vous générer un dump de votre base de données actuelle ?" + +#: Console/Command/MigrationShell.php:390 +#, fuzzy +msgid "Do you want update the schema.php file?" +msgstr "Voulez vous comparer le fichier schema.php à la base de données ?" + +#: Console/Command/MigrationShell.php:406 msgid "Comparing schema.php to the database..." msgstr "Comparaison de schema.php à la base de données ..." -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" -msgstr "Voulez vous générer un dump de votre base de données actuelle ?" +#: Console/Command/MigrationShell.php:425 +#, fuzzy +msgid "Generating migration from commandline arguments..." +msgstr "Génération de la Migration ..." + +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" +msgstr "" -#: /vendors/shells/migration.php:246 +#: Console/Command/MigrationShell.php:453 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be used to generate a migration " +"from the CLI." +msgstr "" +"Le nom de la Migration (%s) est invalide. Il ne doit contenir que des " +"caractères alphanumériques." + +#: Console/Command/MigrationShell.php:474 msgid "Generating dump from current database..." msgstr "Génération d'un dump de la base de données actuelle ..." -#: /vendors/shells/migration.php:260 +#: Console/Command/MigrationShell.php:495 +#, fuzzy +msgid "Do you want to preview the file before generation?" +msgstr "Voulez vous comparer le fichier schema.php à la base de données ?" + +#: Console/Command/MigrationShell.php:506 msgid "Generating Migration..." msgstr "Génération de la Migration ..." -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." -msgstr "Mapping des Migrations ..." - -#: /vendors/shells/migration.php:284 +#: Console/Command/MigrationShell.php:515 msgid "Done." msgstr "Exécuté." -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" +msgstr "Veuillez entrer le nom décrivant la migration à générer :" + +#: Console/Command/MigrationShell.php:527 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It must only contain alphanumeric characters " +"and start with a letter." +msgstr "" +"Le nom de la Migration (%s) est invalide. Il ne doit contenir que des " +"caractères alphanumériques." + +#: Console/Command/MigrationShell.php:530 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be longer than 255 characters." +msgstr "" +"Le nom de la Migration (%s) est invalide. Il ne doit contenir que des " +"caractères alphanumériques." + +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "Version actuelle :" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "Aucune appliquée." -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "Dernière version :" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "Version actuelle de la Migration :" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "Migrations disponibles :" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "appliquée" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "non appliquée" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +#, fuzzy +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "" +"La direction de la Migration (%s) ne fait pas partie des directions valides." + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "" +"La direction de la Migration (%s) ne fait pas partie des directions valides." + +#: Lib/CakeMigration.php:294 Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "" +"Le type d'action de la Migration (%s) ne fait pas partie des type d'actions " +"valides." + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "Erreur SQL : %s" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "Interrompu lors de l'exécution du callback \"%s\"." + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "Classe `%1$s` introuvable dans le fichier `%2$s` pour %3$s." + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "Fichier `%1$s` introuvable dans %2$s." + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "La table \"%s\" n'existe pas dans la base de données." + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "La table \"%s\" existe déjà dans la base de données." + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "Le champ \"%s\" n'existe pas dans \"%s\"." + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "Le champ \"%s\" existe déjà dans \"%s\"." + +#: View/Elements/migrations_panel.ctp:12 +#, fuzzy +msgid "Migration Status" +msgstr "Migration : %s" diff --git a/Locale/ita/LC_MESSAGES/migrations.po b/Locale/ita/LC_MESSAGES/migrations.po index deaaa836..1c907d40 100644 --- a/Locale/ita/LC_MESSAGES/migrations.po +++ b/Locale/ita/LC_MESSAGES/migrations.po @@ -1,205 +1,280 @@ # LANGUAGE translation of the CakePHP Migrations plugin # -# Copyright 2010, Cake Development Corporation (http://cakedc.com) +# Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # # Licensed under The MIT License # Redistributions of files must retain the above copyright notice. # -# @copyright Copyright 2010, Cake Development Corporation (http://cakedc.com) +# @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # @license MIT License (http://www.opensource.org/licenses/mit-license.php) # +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: CakePHP Migrations Plugin 1.2\n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" -"PO-Revision-Date: 2012-01-21 20:50+0100\n" +"Project-Id-Version: CakePHP Migrations Plugin\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" +"PO-Revision-Date: 2014-07-18 18:42+0100\n" "Last-Translator: Donald \"Lanodd\" Gagliano \n" -"Language-Team: CakeDC \n" +"Language-Team: Cake Development Corporation \n" +"Language: it\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Poedit-Language: Italian\n" "X-Poedit-Country: ITALY\n" "X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." -msgstr "Classe `%1$s` non trovata nel file `%2$s` per %3$s." - -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." -msgstr "File `%1$s` non trovato in %2$s." - -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." -msgstr "%2$s non contiene il file map.php corretto." - -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." -msgstr "La direzione di migrazione (%s) non è una delle direzioni valide." - -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." -msgstr "Il tipo di azione (%s) non è un tipo di azione valido." - -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." -msgstr "La tabella \"%s\" esiste già nel database." - -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" -msgstr "Errore SQL: %s" - -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." -msgstr "La tabella \"%s\" non esiste nel database." - -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." -msgstr "il campo \"%s\" non esiste in \"%s\"." - -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." -msgstr "il campo \"%s\" esiste già in \"%s\"." - -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." -msgstr "Interrotto durante l'esecuzione della callback \"%s\"." +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" +msgstr "" -#: /vendors/shells/migration.php:76 +#: Console/Command/MigrationShell.php:75 msgid "Cake Migration Shell" msgstr "Cake Migration Shell" -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." +#: Console/Command/MigrationShell.php:108 +#, fuzzy +msgid "Creating table \":table\"." msgstr "Creazione della tabella :table." -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." +#: Console/Command/MigrationShell.php:109 +#, fuzzy +msgid "Dropping table \":table\"." msgstr "Rimozione tabella :table." -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." +#: Console/Command/MigrationShell.php:110 +#, fuzzy +msgid "Renaming table \":old_name\" to \":new_name\"." msgstr "Rinomina della tabella :old_name in :new_name." -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." +#: Console/Command/MigrationShell.php:111 +#, fuzzy +msgid "Adding field \":field\" to table \":table\"." msgstr "Aggiunta del campo :field a :table." -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." +#: Console/Command/MigrationShell.php:112 +#, fuzzy +msgid "Dropping field \":field\" from table \":table\"." msgstr "Rimozione del campo :field da :table." -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." +#: Console/Command/MigrationShell.php:113 +#, fuzzy +msgid "Changing field \":field\" from table \":table\"." msgstr "Cambiamento campo :field da :table." -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." +#: Console/Command/MigrationShell.php:114 +#, fuzzy +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." msgstr "Rinomina del campo :old_name a :new_name su :table." -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." +#: Console/Command/MigrationShell.php:115 +#, fuzzy +msgid "Adding index \":index\" to table \":table\"." msgstr "Aggiunta indice :index a :table." -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." +#: Console/Command/MigrationShell.php:116 +#, fuzzy +msgid "Dropping index \":index\" from table \":table\"." msgstr "Rimozione indice :index da :table." -#: /vendors/shells/migration.php:129 +#: Console/Command/MigrationShell.php:190 msgid "No migrations available." msgstr "Nessuna migrazione disponibile." -#: /vendors/shells/migration.php:145;159;181 -msgid "Not a valid migration version." -msgstr "Versione di migrazione non valida." - -#: /vendors/shells/migration.php:167 -msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." -msgstr "Per favore, scegliere la versione alla quale si desidera migrare. [q] per uscire o [c] per pulire." - -#: /vendors/shells/migration.php:188 +#: Console/Command/MigrationShell.php:220 msgid "Running migrations:" msgstr "Esecuzione delle migrazioni:" -#: /vendors/shells/migration.php:192 +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" +msgstr "" + +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." +msgstr "Tutte le migrazioni sono state completate." + +#: Console/Command/MigrationShell.php:252 msgid "An error occurred when processing the migration:" msgstr "Si è verificato un errore nell'esecuzione della migrazione:" -#: /vendors/shells/migration.php:193 +#: Console/Command/MigrationShell.php:253 msgid "Migration: %s" msgstr "Migrazione: %s" -#: /vendors/shells/migration.php:194 +#: Console/Command/MigrationShell.php:254 msgid "Error: %s" msgstr "Errore: %s" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." -msgstr "Tutte le migrazioni sono state completate." +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." +msgstr "" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" -msgstr "Per favore inserire il nome descrittivo della migrazione da generare:" +#: Console/Command/MigrationShell.php:306;319;346 +msgid "Not a valid migration version." +msgstr "Versione di migrazione non valida." -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." -msgstr "Il nome (%s) per la migrazione non è valido. Deve contenere solo caratteri alfanumerici." +#: Console/Command/MigrationShell.php:327 +msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." +msgstr "" +"Per favore, scegliere la versione alla quale si desidera migrare. [q] per " +"uscire o [c] per pulire." -#: /vendors/shells/migration.php:229 +#: Console/Command/MigrationShell.php:373 msgid "Do you want compare the schema.php file to the database?" msgstr "Vuoi comparare il file schema.php col database?" -#: /vendors/shells/migration.php:232 +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" +msgstr "Vuoi generare un dump del database corrente?" + +#: Console/Command/MigrationShell.php:390 +#, fuzzy +msgid "Do you want update the schema.php file?" +msgstr "Vuoi comparare il file schema.php col database?" + +#: Console/Command/MigrationShell.php:406 msgid "Comparing schema.php to the database..." msgstr "Comparazione di schema.php col database..." -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" -msgstr "Vuoi generare un dump del database corrente?" +#: Console/Command/MigrationShell.php:425 +#, fuzzy +msgid "Generating migration from commandline arguments..." +msgstr "Generazione delle Migrazioni..." + +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" +msgstr "" + +#: Console/Command/MigrationShell.php:453 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be used to generate a migration " +"from the CLI." +msgstr "" +"Il nome (%s) per la migrazione non è valido. Deve contenere solo caratteri " +"alfanumerici." -#: /vendors/shells/migration.php:246 +#: Console/Command/MigrationShell.php:474 msgid "Generating dump from current database..." msgstr "Generazione dump del database corrente..." -#: /vendors/shells/migration.php:260 +#: Console/Command/MigrationShell.php:495 +#, fuzzy +msgid "Do you want to preview the file before generation?" +msgstr "Vuoi comparare il file schema.php col database?" + +#: Console/Command/MigrationShell.php:506 msgid "Generating Migration..." msgstr "Generazione delle Migrazioni..." -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." -msgstr "Mappatura delle Migrazioni..." - -#: /vendors/shells/migration.php:284 +#: Console/Command/MigrationShell.php:515 msgid "Done." msgstr "Fatto." -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" +msgstr "Per favore inserire il nome descrittivo della migrazione da generare:" + +#: Console/Command/MigrationShell.php:527 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It must only contain alphanumeric characters " +"and start with a letter." +msgstr "" +"Il nome (%s) per la migrazione non è valido. Deve contenere solo caratteri " +"alfanumerici." + +#: Console/Command/MigrationShell.php:530 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be longer than 255 characters." +msgstr "" +"Il nome (%s) per la migrazione non è valido. Deve contenere solo caratteri " +"alfanumerici." + +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "Versione corrente:" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "Nessuna applicata." -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "Versione più recente:" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "Versione della migrazione corrente:" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "Migrazioni disponibili:" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "applicato" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "non applicato" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +#, fuzzy +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "La direzione di migrazione (%s) non è una delle direzioni valide." + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "La direzione di migrazione (%s) non è una delle direzioni valide." + +#: Lib/CakeMigration.php:294 Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "Il tipo di azione (%s) non è un tipo di azione valido." + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "Errore SQL: %s" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "Interrotto durante l'esecuzione della callback \"%s\"." + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "Classe `%1$s` non trovata nel file `%2$s` per %3$s." + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "File `%1$s` non trovato in %2$s." + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "La tabella \"%s\" non esiste nel database." + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "La tabella \"%s\" esiste già nel database." + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "il campo \"%s\" non esiste in \"%s\"." + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "il campo \"%s\" esiste già in \"%s\"." + +#: View/Elements/migrations_panel.ctp:12 +#, fuzzy +msgid "Migration Status" +msgstr "Migrazione: %s" diff --git a/Locale/migrations.pot b/Locale/migrations.pot index 083058d8..169b6664 100644 --- a/Locale/migrations.pot +++ b/Locale/migrations.pot @@ -11,193 +11,238 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" +"Project-Id-Version: CakePHP Migrations Plugin\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" "Last-Translator: NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: Cake Development Corporation \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" msgstr "" -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." +#: Console/Command/MigrationShell.php:75 +msgid "Cake Migration Shell" msgstr "" -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." +#: Console/Command/MigrationShell.php:108 +msgid "Creating table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." +#: Console/Command/MigrationShell.php:109 +msgid "Dropping table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." +#: Console/Command/MigrationShell.php:110 +msgid "Renaming table \":old_name\" to \":new_name\"." msgstr "" -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." +#: Console/Command/MigrationShell.php:111 +msgid "Adding field \":field\" to table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" +#: Console/Command/MigrationShell.php:112 +msgid "Dropping field \":field\" from table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." +#: Console/Command/MigrationShell.php:113 +msgid "Changing field \":field\" from table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." +#: Console/Command/MigrationShell.php:114 +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." +#: Console/Command/MigrationShell.php:115 +msgid "Adding index \":index\" to table \":table\"." msgstr "" -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." +#: Console/Command/MigrationShell.php:116 +msgid "Dropping index \":index\" from table \":table\"." msgstr "" -#: /vendors/shells/migration.php:76 -msgid "Cake Migration Shell" -msgstr "" - -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." -msgstr "" - -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." -msgstr "" - -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." +#: Console/Command/MigrationShell.php:190 +msgid "No migrations available." msgstr "" -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." +#: Console/Command/MigrationShell.php:220 +msgid "Running migrations:" msgstr "" -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" msgstr "" -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." msgstr "" -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." +#: Console/Command/MigrationShell.php:252 +msgid "An error occurred when processing the migration:" msgstr "" -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." +#: Console/Command/MigrationShell.php:253 +msgid "Migration: %s" msgstr "" -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." +#: Console/Command/MigrationShell.php:254 +msgid "Error: %s" msgstr "" -#: /vendors/shells/migration.php:129 -msgid "No migrations available." +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." msgstr "" -#: /vendors/shells/migration.php:145;159;181 +#: Console/Command/MigrationShell.php:306;319;346 msgid "Not a valid migration version." msgstr "" -#: /vendors/shells/migration.php:167 +#: Console/Command/MigrationShell.php:327 msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." msgstr "" -#: /vendors/shells/migration.php:188 -msgid "Running migrations:" +#: Console/Command/MigrationShell.php:373 +msgid "Do you want compare the schema.php file to the database?" msgstr "" -#: /vendors/shells/migration.php:192 -msgid "An error occurred when processing the migration:" +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" msgstr "" -#: /vendors/shells/migration.php:193 -msgid "Migration: %s" +#: Console/Command/MigrationShell.php:390 +msgid "Do you want update the schema.php file?" msgstr "" -#: /vendors/shells/migration.php:194 -msgid "Error: %s" +#: Console/Command/MigrationShell.php:406 +msgid "Comparing schema.php to the database..." msgstr "" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." +#: Console/Command/MigrationShell.php:425 +msgid "Generating migration from commandline arguments..." msgstr "" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" msgstr "" -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." +#: Console/Command/MigrationShell.php:453 +msgid "Migration name (%s) is invalid. It cannot be used to generate a migration from the CLI." msgstr "" -#: /vendors/shells/migration.php:229 -msgid "Do you want compare the schema.php file to the database?" +#: Console/Command/MigrationShell.php:474 +msgid "Generating dump from current database..." msgstr "" -#: /vendors/shells/migration.php:232 -msgid "Comparing schema.php to the database..." +#: Console/Command/MigrationShell.php:495 +msgid "Do you want to preview the file before generation?" msgstr "" -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" +#: Console/Command/MigrationShell.php:506 +msgid "Generating Migration..." msgstr "" -#: /vendors/shells/migration.php:246 -msgid "Generating dump from current database..." +#: Console/Command/MigrationShell.php:515 +msgid "Done." msgstr "" -#: /vendors/shells/migration.php:260 -msgid "Generating Migration..." +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" msgstr "" -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." +#: Console/Command/MigrationShell.php:527 +msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters and start with a letter." msgstr "" -#: /vendors/shells/migration.php:284 -msgid "Done." +#: Console/Command/MigrationShell.php:530 +msgid "Migration name (%s) is invalid. It cannot be longer than 255 characters." msgstr "" -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "" -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "" + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "" + +#: Lib/CakeMigration.php:294 +#: Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "" + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "" + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "" + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "" + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "" + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "" + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "" + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "" + +#: View/Elements/migrations_panel.ctp:12 +msgid "Migration Status" +msgstr "" diff --git a/Locale/por/LC_MESSAGES/migrations.po b/Locale/por/LC_MESSAGES/migrations.po index 4d2af881..d5c9b80e 100644 --- a/Locale/por/LC_MESSAGES/migrations.po +++ b/Locale/por/LC_MESSAGES/migrations.po @@ -1,204 +1,279 @@ # LANGUAGE translation of the CakePHP Migrations plugin # -# Copyright 2010, Cake Development Corporation (http://cakedc.com) +# Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # # Licensed under The MIT License # Redistributions of files must retain the above copyright notice. # -# @copyright Copyright 2010, Cake Development Corporation (http://cakedc.com) +# @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # @license MIT License (http://www.opensource.org/licenses/mit-license.php) # +#, fuzzy msgid "" msgstr "" "Project-Id-Version: CakePHP Migrations Plugin\n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" -"PO-Revision-Date: 2010-09-23 16:49-0300\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" +"PO-Revision-Date: 2014-07-18 18:42+0100\n" "Last-Translator: Renan Gonçalves \n" -"Language-Team: CakeDC \n" +"Language-Team: Cake Development Corporation \n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2;plural=n>1;\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" +"X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." -msgstr "Classe `%1$s` não encontrado no arquivo `%2$s` para %3$s." - -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." -msgstr "Arquivo `%1$s` não encontrada no %2$s." - -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." -msgstr "%2$s não contém um arquivo map.php apropriado." - -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." -msgstr "Direção da Migração (%s) não é uma das direções válidas." - -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." -msgstr "Tipo de ação (%s) da Migração não é um dos tipos de ações válidos." - -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." -msgstr "Tabela \"%s\" já existe no banco de dados." - -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" -msgstr "Erro SQL: %s" - -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." -msgstr "Table \"%s\" não existe no banco de dados." - -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." -msgstr "Coluna \"%s\" não existe em \"%s\"." - -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." -msgstr "Coluna \"%s\" já existe em \"%s\"." - -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." -msgstr "Interrompido enquanto rodava o callback \"%s\"." +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" +msgstr "" -#: /vendors/shells/migration.php:76 +#: Console/Command/MigrationShell.php:75 msgid "Cake Migration Shell" msgstr "Cake Migration Shell" -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." +#: Console/Command/MigrationShell.php:108 +#, fuzzy +msgid "Creating table \":table\"." msgstr "Criando tabela :table." -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." +#: Console/Command/MigrationShell.php:109 +#, fuzzy +msgid "Dropping table \":table\"." msgstr "Removindo tabela :table." -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." +#: Console/Command/MigrationShell.php:110 +#, fuzzy +msgid "Renaming table \":old_name\" to \":new_name\"." msgstr "Renomeando tabela :old_name para :new_name." -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." +#: Console/Command/MigrationShell.php:111 +#, fuzzy +msgid "Adding field \":field\" to table \":table\"." msgstr "Adicionando coluna :field para :table." -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." +#: Console/Command/MigrationShell.php:112 +#, fuzzy +msgid "Dropping field \":field\" from table \":table\"." msgstr "Removendo coluna :field de :table." -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." +#: Console/Command/MigrationShell.php:113 +#, fuzzy +msgid "Changing field \":field\" from table \":table\"." msgstr "Alterando coluna :field de :table." -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." +#: Console/Command/MigrationShell.php:114 +#, fuzzy +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." msgstr "Renomeando coluna :old_name para :new_name em :table." -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." +#: Console/Command/MigrationShell.php:115 +#, fuzzy +msgid "Adding index \":index\" to table \":table\"." msgstr "Adicionar chave :index para :table." -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." +#: Console/Command/MigrationShell.php:116 +#, fuzzy +msgid "Dropping index \":index\" from table \":table\"." msgstr "Removendo chave :index de :table." -#: /vendors/shells/migration.php:129 +#: Console/Command/MigrationShell.php:190 msgid "No migrations available." msgstr "Nenhuma migração disponível." -#: /vendors/shells/migration.php:145;159;181 -msgid "Not a valid migration version." -msgstr "Não é uma versão de migração válida," - -#: /vendors/shells/migration.php:167 -msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." -msgstr "Por favor, escolha para qual versão você deseja migrar. [q]uit ou [c]lean." - -#: /vendors/shells/migration.php:188 +#: Console/Command/MigrationShell.php:220 msgid "Running migrations:" msgstr "Rodando migrações:" -#: /vendors/shells/migration.php:192 +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" +msgstr "" + +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." +msgstr "Todas as migrações foram completas." + +#: Console/Command/MigrationShell.php:252 msgid "An error occurred when processing the migration:" msgstr "Aconteceu um erro enquanto processava a migração:" -#: /vendors/shells/migration.php:193 +#: Console/Command/MigrationShell.php:253 msgid "Migration: %s" msgstr "Migração: %s" -#: /vendors/shells/migration.php:194 +#: Console/Command/MigrationShell.php:254 msgid "Error: %s" msgstr "Erro: %s" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." -msgstr "Todas as migrações foram completas." +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." +msgstr "" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" -msgstr "Por favor entre com um nome descritivo para a migração a ser gerada:" +#: Console/Command/MigrationShell.php:306;319;346 +msgid "Not a valid migration version." +msgstr "Não é uma versão de migração válida," -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." -msgstr "Nome de Migração (%s) inválida. Ele deve conter apenas caracteres alfanuméricos." +#: Console/Command/MigrationShell.php:327 +msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." +msgstr "" +"Por favor, escolha para qual versão você deseja migrar. [q]uit ou [c]lean." -#: /vendors/shells/migration.php:229 +#: Console/Command/MigrationShell.php:373 msgid "Do you want compare the schema.php file to the database?" msgstr "Você deseja comparar o arquivo schema.php com o banco de dados?" -#: /vendors/shells/migration.php:232 +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" +msgstr "Você deseja gerar um dump do banco de dados atual?" + +#: Console/Command/MigrationShell.php:390 +#, fuzzy +msgid "Do you want update the schema.php file?" +msgstr "Você deseja comparar o arquivo schema.php com o banco de dados?" + +#: Console/Command/MigrationShell.php:406 msgid "Comparing schema.php to the database..." msgstr "Comparando schema.php com o banco de dados..." -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" -msgstr "Você deseja gerar um dump do banco de dados atual?" +#: Console/Command/MigrationShell.php:425 +#, fuzzy +msgid "Generating migration from commandline arguments..." +msgstr "Gerando Migração..." + +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" +msgstr "" + +#: Console/Command/MigrationShell.php:453 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be used to generate a migration " +"from the CLI." +msgstr "" +"Nome de Migração (%s) inválida. Ele deve conter apenas caracteres " +"alfanuméricos." -#: /vendors/shells/migration.php:246 +#: Console/Command/MigrationShell.php:474 msgid "Generating dump from current database..." msgstr "Gerando dump do banco de dados atual..." -#: /vendors/shells/migration.php:260 +#: Console/Command/MigrationShell.php:495 +#, fuzzy +msgid "Do you want to preview the file before generation?" +msgstr "Você deseja comparar o arquivo schema.php com o banco de dados?" + +#: Console/Command/MigrationShell.php:506 msgid "Generating Migration..." msgstr "Gerando Migração..." -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." -msgstr "Mapeando Migrações..." - -#: /vendors/shells/migration.php:284 +#: Console/Command/MigrationShell.php:515 msgid "Done." msgstr "Feito." -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" +msgstr "Por favor entre com um nome descritivo para a migração a ser gerada:" + +#: Console/Command/MigrationShell.php:527 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It must only contain alphanumeric characters " +"and start with a letter." +msgstr "" +"Nome de Migração (%s) inválida. Ele deve conter apenas caracteres " +"alfanuméricos." + +#: Console/Command/MigrationShell.php:530 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be longer than 255 characters." +msgstr "" +"Nome de Migração (%s) inválida. Ele deve conter apenas caracteres " +"alfanuméricos." + +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "Versão atual:" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "Nenhuma aplicada." -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "Última versão:" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "Versão de Migração atual:" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "Migrações disponíveis:" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "aplicada" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "não aplicada" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +#, fuzzy +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "Direção da Migração (%s) não é uma das direções válidas." + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "Direção da Migração (%s) não é uma das direções válidas." + +#: Lib/CakeMigration.php:294 Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "Tipo de ação (%s) da Migração não é um dos tipos de ações válidos." + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "Erro SQL: %s" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "Interrompido enquanto rodava o callback \"%s\"." + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "Classe `%1$s` não encontrado no arquivo `%2$s` para %3$s." + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "Arquivo `%1$s` não encontrada no %2$s." + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "Table \"%s\" não existe no banco de dados." + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "Tabela \"%s\" já existe no banco de dados." + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "Coluna \"%s\" não existe em \"%s\"." + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "Coluna \"%s\" já existe em \"%s\"." + +#: View/Elements/migrations_panel.ctp:12 +#, fuzzy +msgid "Migration Status" +msgstr "Migração: %s" diff --git a/Locale/spa/LC_MESSAGES/migrations.po b/Locale/spa/LC_MESSAGES/migrations.po index b1f0a181..70eb0930 100644 --- a/Locale/spa/LC_MESSAGES/migrations.po +++ b/Locale/spa/LC_MESSAGES/migrations.po @@ -1,203 +1,279 @@ # LANGUAGE translation of the CakePHP Migrations plugin # -# Copyright 2010, Cake Development Corporation (http://cakedc.com) +# Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # # Licensed under The MIT License # Redistributions of files must retain the above copyright notice. # -# @copyright Copyright 2010, Cake Development Corporation (http://cakedc.com) +# @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com) # @license MIT License (http://www.opensource.org/licenses/mit-license.php) # +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: Migrations CakePHP plugin\n" -"POT-Creation-Date: 2010-09-15 15:20+0200\n" -"PO-Revision-Date: 2010-09-24 18:15-0400\n" +"Project-Id-Version: CakePHP Migrations Plugin\n" +"POT-Creation-Date: 2014-07-18 18:10+0200\n" +"PO-Revision-Date: 2014-07-18 18:42+0100\n" "Last-Translator: José Lorenzo Rodríguez \n" -"Language-Team: CakeDC \n" +"Language-Team: Cake Development Corporation \n" +"Language: es\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Poedit-Language: Spanish\n" +"X-Poedit-SourceCharset: utf-8\n" -#: /libs/migration_version.php:162 -msgid "Class `%1$s` not found on file `%2$s` for %3$s." -msgstr "Clase`%1$s` no encontrada en archivo `%2$s` para %3$s." - -#: /libs/migration_version.php:271 -msgid "File `%1$s` not found in the %2$s." -msgstr "Archivo`%1$s` no encontrado en %2$s." - -#: /libs/migration_version.php:281 -msgid "%2$s does not contain a proper map.php file." -msgstr "%2$s no contiene un archivo map.php adecuado" - -#: /libs/model/cake_migration.php:156 -msgid "Migration direction (%s) is not one of valid directions." -msgstr "Dirección (%s) de migración no es válida" - -#: /libs/model/cake_migration.php:216 -msgid "Migration action type (%s) is not one of valid actions type." -msgstr "Acción de tipo %s no es una acción válida" - -#: /libs/model/cake_migration.php:236;293 -msgid "Table \"%s\" already exists in database." -msgstr "La tabla \"%s\" ya existe en la base de datos." - -#: /libs/model/cake_migration.php:243;269;300;372;388 -msgid "SQL Error: %s" -msgstr "Error SQL: %s" - -#: /libs/model/cake_migration.php:262;289 -msgid "Table \"%s\" does not exists in database." -msgstr "La tabla \"%s\" no existe en la base de datos." - -#: /libs/model/cake_migration.php:332 -msgid "Field \"%s\" does not exists in \"%s\"." -msgstr "El campo \"%s\" no existe en \"%s\"." - -#: /libs/model/cake_migration.php:340 -msgid "Field \"%s\" already exists in \"%s\"." -msgstr "El campo \"%s\" ya existe en \"%s\"." - -#: /libs/model/cake_migration.php:423 -msgid "Interrupted when running \"%s\" callback." -msgstr "Iterrumpido al llamar la función \"%s\"" +#: Config/Migration/002_convert_version_to_class_names.php:56 +msgid "Sorry, I can't downgrade. Why would you want that anyways?" +msgstr "" -#: /vendors/shells/migration.php:76 +#: Console/Command/MigrationShell.php:75 msgid "Cake Migration Shell" msgstr "Consola de Migración Cake" -#: /vendors/shells/migration.php:92 -msgid "Creating table :table." +#: Console/Command/MigrationShell.php:108 +#, fuzzy +msgid "Creating table \":table\"." msgstr "Creando tabla :table" -#: /vendors/shells/migration.php:93 -msgid "Dropping table :table." +#: Console/Command/MigrationShell.php:109 +#, fuzzy +msgid "Dropping table \":table\"." msgstr "Eliminando tabla :table" -#: /vendors/shells/migration.php:94 -msgid "Renaming table :old_name to :new_name." +#: Console/Command/MigrationShell.php:110 +#, fuzzy +msgid "Renaming table \":old_name\" to \":new_name\"." msgstr "Renombrando tabla :table" -#: /vendors/shells/migration.php:95 -msgid "Adding field :field to :table." +#: Console/Command/MigrationShell.php:111 +#, fuzzy +msgid "Adding field \":field\" to table \":table\"." msgstr "Agregando campo :field a :table" -#: /vendors/shells/migration.php:96 -msgid "Dropping field :field from :table." +#: Console/Command/MigrationShell.php:112 +#, fuzzy +msgid "Dropping field \":field\" from table \":table\"." msgstr "Eliminando campo :field de :table" -#: /vendors/shells/migration.php:97 -msgid "Changing field :field from :table." +#: Console/Command/MigrationShell.php:113 +#, fuzzy +msgid "Changing field \":field\" from table \":table\"." msgstr "Cambiando campo :field de :table" -#: /vendors/shells/migration.php:98 -msgid "Renaming field :old_name to :new_name on :table." +#: Console/Command/MigrationShell.php:114 +#, fuzzy +msgid "Renaming field \":old_name\" to \":new_name\" on table \":table\"." msgstr "Renombrando campo :old_name a :new_name en :table" -#: /vendors/shells/migration.php:99 -msgid "Adding index :index to :table." +#: Console/Command/MigrationShell.php:115 +#, fuzzy +msgid "Adding index \":index\" to table \":table\"." msgstr "Agregando índice :index a :table" -#: /vendors/shells/migration.php:100 -msgid "Dropping index :index from :table." +#: Console/Command/MigrationShell.php:116 +#, fuzzy +msgid "Dropping index \":index\" from table \":table\"." msgstr "Eliminando índice :index de :table" -#: /vendors/shells/migration.php:129 +#: Console/Command/MigrationShell.php:190 msgid "No migrations available." msgstr "No hay migraciones disponibles" -#: /vendors/shells/migration.php:145;159;181 -msgid "Not a valid migration version." -msgstr "No es una versión de migración válida" - -#: /vendors/shells/migration.php:167 -msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." -msgstr "Por favor, escoge la versión a lo cual deseas migrar. [q] salir o [c] limpiar" - -#: /vendors/shells/migration.php:188 +#: Console/Command/MigrationShell.php:220 msgid "Running migrations:" msgstr "Ejecutando migraciones:" -#: /vendors/shells/migration.php:192 +#: Console/Command/MigrationShell.php:232 +msgid "Migration will run dry, no database changes will be made" +msgstr "" + +#: Console/Command/MigrationShell.php:241 +msgid "All migrations have completed." +msgstr "Todas las migraciones han sido completadas" + +#: Console/Command/MigrationShell.php:252 msgid "An error occurred when processing the migration:" msgstr "Un error ha ocurrido al procesar la migración:" -#: /vendors/shells/migration.php:193 +#: Console/Command/MigrationShell.php:253 msgid "Migration: %s" msgstr "Migración: %s" -#: /vendors/shells/migration.php:194 +#: Console/Command/MigrationShell.php:254 msgid "Error: %s" msgstr "Error: %s" -#: /vendors/shells/migration.php:200 -msgid "All migrations have completed." -msgstr "Todas las migraciones han sido completadas" +#: Console/Command/MigrationShell.php:258 +msgid "Do you want to mark the migration as successful?. [y]es or [a]bort." +msgstr "" -#: /vendors/shells/migration.php:213 -msgid "Please enter the descriptive name of the migration to generate:" -msgstr "Por favor ingrese el nombre descriptivo de la migración a generar:" +#: Console/Command/MigrationShell.php:306;319;346 +msgid "Not a valid migration version." +msgstr "No es una versión de migración válida" -#: /vendors/shells/migration.php:216 -msgid "Migration name (%s) is invalid. It must only contain alphanumeric characters." -msgstr "El nombre de migración (%s) no es válido. SOlo puede contenter carateres alfanuméricos" +#: Console/Command/MigrationShell.php:327 +msgid "Please, choose what version you want to migrate to. [q]uit or [c]lean." +msgstr "" +"Por favor, escoge la versión a lo cual deseas migrar. [q] salir o [c] limpiar" -#: /vendors/shells/migration.php:229 +#: Console/Command/MigrationShell.php:373 msgid "Do you want compare the schema.php file to the database?" msgstr "¿Desea comparar el archivo schema.php a la base de datos?" -#: /vendors/shells/migration.php:232 +#: Console/Command/MigrationShell.php:379 +msgid "Do you want generate a dump from current database?" +msgstr "" +"¿Desea generar un volcado completo de la estructura de su base de datos?" + +#: Console/Command/MigrationShell.php:390 +#, fuzzy +msgid "Do you want update the schema.php file?" +msgstr "¿Desea comparar el archivo schema.php a la base de datos?" + +#: Console/Command/MigrationShell.php:406 msgid "Comparing schema.php to the database..." msgstr "Comparando schema.php con la base de datos..." -#: /vendors/shells/migration.php:243 -msgid "Do you want generate a dump from current database?" -msgstr "¿Desea generar un volcado completo de la estructura de su base de datos?" +#: Console/Command/MigrationShell.php:425 +#, fuzzy +msgid "Generating migration from commandline arguments..." +msgstr "Generando migración" + +#: Console/Command/MigrationShell.php:453;775 +msgid "Invalid argument" +msgstr "" -#: /vendors/shells/migration.php:246 +#: Console/Command/MigrationShell.php:453 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be used to generate a migration " +"from the CLI." +msgstr "" +"El nombre de migración (%s) no es válido. SOlo puede contenter carateres " +"alfanuméricos" + +#: Console/Command/MigrationShell.php:474 msgid "Generating dump from current database..." msgstr "Generando volcado de la base de datos actual" -#: /vendors/shells/migration.php:260 +#: Console/Command/MigrationShell.php:495 +#, fuzzy +msgid "Do you want to preview the file before generation?" +msgstr "¿Desea comparar el archivo schema.php a la base de datos?" + +#: Console/Command/MigrationShell.php:506 msgid "Generating Migration..." msgstr "Generando migración" -#: /vendors/shells/migration.php:276 -msgid "Mapping Migrations..." -msgstr "Asociando migraciones..." - -#: /vendors/shells/migration.php:284 +#: Console/Command/MigrationShell.php:515 msgid "Done." msgstr "Listo." -#: /vendors/shells/migration.php:321 +#: Console/Command/MigrationShell.php:524 +msgid "Please enter the descriptive name of the migration to generate:" +msgstr "Por favor ingrese el nombre descriptivo de la migración a generar:" + +#: Console/Command/MigrationShell.php:527 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It must only contain alphanumeric characters " +"and start with a letter." +msgstr "" +"El nombre de migración (%s) no es válido. SOlo puede contenter carateres " +"alfanuméricos" + +#: Console/Command/MigrationShell.php:530 +#, fuzzy +msgid "" +"Migration name (%s) is invalid. It cannot be longer than 255 characters." +msgstr "" +"El nombre de migración (%s) no es válido. SOlo puede contenter carateres " +"alfanuméricos" + +#: Console/Command/MigrationShell.php:566 msgid "Current version:" msgstr "Versión Actual:" -#: /vendors/shells/migration.php:326 +#: Console/Command/MigrationShell.php:571 msgid "None applied." msgstr "Ninguna aplicada." -#: /vendors/shells/migration.php:329 +#: Console/Command/MigrationShell.php:574 msgid "Latest version:" msgstr "Última versión:" -#: /vendors/shells/migration.php:397 +#: Console/Command/MigrationShell.php:598 msgid "Current migration version:" msgstr "Versión de migración actual:" -#: /vendors/shells/migration.php:402 +#: Console/Command/MigrationShell.php:603 msgid "Available migrations:" msgstr "Migraciones disponibles:" -#: /vendors/shells/migration.php:408 +#: Console/Command/MigrationShell.php:609 msgid "applied" msgstr "applicada" -#: /vendors/shells/migration.php:410 +#: Console/Command/MigrationShell.php:611 msgid "not applied" msgstr "no aplicada" +#: Console/Command/MigrationShell.php:775 +msgid "Missing required argument 'name' for migration" +msgstr "" + +#: Lib/CakeMigration.php:204 +msgid "Migration precheck class (%s) could not be loaded." +msgstr "" + +#: Lib/CakeMigration.php:212 +#, fuzzy +msgid "Migration precheck class (%s) is not a valid precheck class." +msgstr "Dirección (%s) de migración no es válida" + +#: Lib/CakeMigration.php:228 +msgid "Migration direction (%s) is not one of valid directions." +msgstr "Dirección (%s) de migración no es válida" + +#: Lib/CakeMigration.php:294 Lib/Migration/PrecheckBase.php:111 +msgid "Migration action type (%s) is not one of valid actions type." +msgstr "Acción de tipo %s no es una acción válida" + +#: Lib/CakeMigration.php:343;373;401;488;528 +msgid "SQL Error: %s" +msgstr "Error SQL: %s" + +#: Lib/CakeMigration.php:566 +msgid "Interrupted when running \"%s\" callback." +msgstr "Iterrumpido al llamar la función \"%s\"" + +#: Lib/MigrationVersion.php:273 +msgid "Class `%1$s` not found on file `%2$s` for %3$s." +msgstr "Clase`%1$s` no encontrada en archivo `%2$s` para %3$s." + +#: Lib/MigrationVersion.php:408 +msgid "File `%1$s` not found in the %2$s." +msgstr "Archivo`%1$s` no encontrado en %2$s." + +#: Lib/Migration/PrecheckException.php:26 +msgid "Table \"%s\" does not exists in database." +msgstr "La tabla \"%s\" no existe en la base de datos." + +#: Lib/Migration/PrecheckException.php:42 +msgid "Table \"%s\" already exists in database." +msgstr "La tabla \"%s\" ya existe en la base de datos." + +#: Lib/Migration/PrecheckException.php:59 +msgid "Field \"%s\" does not exists in \"%s\"." +msgstr "El campo \"%s\" no existe en \"%s\"." + +#: Lib/Migration/PrecheckException.php:76 +msgid "Field \"%s\" already exists in \"%s\"." +msgstr "El campo \"%s\" ya existe en \"%s\"." + +#: View/Elements/migrations_panel.ctp:12 +#, fuzzy +msgid "Migration Status" +msgstr "Migración: %s"