Permalink
Browse files

Merge pull request #2178 from ArnauAregall/aaregall-catalan-translation

Catalan Translation
  • Loading branch information...
2 parents 5f52743 + de69f13 commit 52da9b7fedbfdb62b00a46da2a70897668d1230b @samdark samdark committed Mar 8, 2013
View
@@ -34,6 +34,7 @@ Version 1.1.14 work in progress
- Chg #2069: Upgraded jQuery BBQ Plugin to 1.4pre to fix jQuery compatibility problems (samdark)
- New #575: Yii registering at Packagist, added composer info file (schmunk42)
- New #1785: Added CPasswordHelper (tom--)
+- New #2178: Added Catalan Translation (ArnauAregall)
Version 1.1.13 December 30, 2012
--------------------------------

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,41 @@
+<?php
+/**
+ * Message translations.
+ *
+ * This file is automatically generated by 'yiic message' command.
+ * It contains the localizable messages extracted from source code.
+ * You may modify this file by translating the extracted messages.
+ *
+ * Each array element represents the translation (value) of a message (key).
+ * If the value is empty, the message is considered as not translated.
+ * Messages that no longer need translation will have their translations
+ * enclosed between a pair of '@@' marks.
+ *
+ * Message string can be used with plural forms format. Check i18n section
+ * of the guide for details.
+ *
+ * NOTE, this file must be saved in UTF-8 encoding.
+ */
+return array (
+ 'Home' => 'Home',
+ 'The button type "{type}" is not supported.' => 'El tipus de botó "{type}" no és suportat.',
+ 'The property filterSelector should be defined.' => 'La propietat filterSelector hauría d\'estar definida.',
+ 'The property updateSelector should be defined.' => 'La propietat updateSelector hauría d\'estar definida.',
+ 'Are you sure you want to delete this item?' => 'De debò que vol eliminar aquest element?',
+ 'Delete' => 'Eliminar',
+ 'Displaying {start}-{end} of 1 result.|Displaying {start}-{end} of {count} results.' => 'Desplegant {start}-{end} de 1 resultat.|Desplegant {start}-{end} de {count} resultats.',
+ 'Either "name" or "value" must be specified for CDataColumn.' => '"name" o "value" s\'han d\'especificar per a CDataColumn.',
+ 'No results found.' => 'No s\'han trobat resultats.',
+ 'Not set' => 'No assignat.',
+ 'Please specify the "attributes" property.' => 'Si us plau, especifiqui la propietat d\'atributs "attributes".',
+ 'Please specify the "data" property.' => 'Si us plau, especifiqui la propietat "data".',
+ 'Sort by: ' => 'Ordenat per: ',
+ 'The "dataProvider" property cannot be empty.' => 'La propietat "dataProvider" no pot ser buida.',
+ 'The attribute must be specified in the format of "Name:Type:Label", where "Type" and "Label" are optional.' => 'L\'atribut ha d\'especificar-se en el format "Nom:Tipus:Etiqueta", en què "Tipus" i "Etiqueta" són opcionals.',
+ 'The column must be specified in the format of "Name:Type:Label", where "Type" and "Label" are optional.' => 'La columna ha d\'especificar-se en el format "Nom:Tipus:Etiqueta", en què "Tipus" i "Etiqueta" són opcionals.',
+ 'The property "itemView" cannot be empty.' => 'La propietat "itemView" no pot ser buida.',
+ 'Total 1 result.|Total {count} results.' => 'Total de 1 resultat.|Total de {count} resultats.',
+ 'Update' => 'Actualitzar',
+ 'View' => 'Mostrar',
+ '{class} must specify "model" and "attribute" or "name" property values.' => '{class} ha d\'especificar valor/s per a "model" i "atributte" o per a "name".',
+);
@@ -6,7 +6,7 @@
return array(
'sourcePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'messagePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'messages',
- 'languages'=>array('fi','zh_cn','zh_tw','de','el','es','sv','he','nl','pt','pt_br','ru','it','fr','ja','pl','hu','ro','id','vi','bg','lv','sk','uk','ko_kr','kk','cs'),
+ 'languages'=>array('fi','zh_cn','zh_tw','ca','de','el','es','sv','he','nl','pt','pt_br','ru','it','fr','ja','pl','hu','ro','id','vi','bg','lv','sk','uk','ko_kr','kk','cs'),
'fileTypes'=>array('php'),
'overwrite'=>true,
'exclude'=>array(
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Error <?php echo $data['code']; ?></title>
+
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+
+<body>
+<h1>Error <?php echo $data['code']; ?></h1>
+<h2><?php echo nl2br(CHtml::encode($data['message'])); ?></h2>
+<p>
+Un error intern ha ocorregut mentre el Servidor Web processava la vostra solcitiud.
+</p>
+<p>
+Si creu que aquest error és del servidor, si us plau contacti amb <?php echo $data['admin']; ?>.
+</p>
+<p>
+Gràcies.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Sol·licitud Incorrecta</title>
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+<body>
+<h1>Sol·licitud incorrecta</h1>
+<h2><?php echo nl2br(CHtml::encode($data['message'])); ?></h2>
+<p>
+El servidor no ha pogut entendre la sol·licitud per un error de sintaxis.
+Si us plau, no intenti realitzar aquesta sol·licitud sense realitzar modificacions.
+</p>
+<p>
+Si creu que aquest error és del servidor, si us plau contacti amb <?php echo $data['admin']; ?>.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>No Autoritzat</title>
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+<body>
+<h1>No No Autoritzat</h1>
+<h2><?php echo nl2br(CHtml::encode($data['message'])); ?></h2>
+<p>
+No té els permisos necessàris per accedir a aquesta pàgina.
+</p>
+<p>
+Si creu que aquest error és del servidor, si us plau contacti amb <?php echo $data['admin']; ?>.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Pàgina no trobada</title>
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+<body>
+<h1>Pàgina no trobada</h1>
+<h2><?php echo nl2br(CHtml::encode($data['message'])); ?></h2>
+<p>
+La URL sol·licitada no s'ha trobat en aquest servidor.
+Si ha ingressat la direcció manualment, si us plau asseguris que hagi set ben digitada i intenti-ho de nou.
+</p>
+<p>
+Si creu que aquest error és del servidor, si us plau contacti amb <?php echo $data['admin']; ?>.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Error Intern de Servidor</title>
+
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+
+<body>
+<h1>Error Intern de Servidor</h1>
+<h2><?php echo nl2br(CHtml::encode($data['message'])); ?></h2>
+<p>
+Un error intern ha ocorregut mentre el Servidor Web processava la vostra solcitiud.
+Si creu que aquest error és del servidor, si us plau contacti amb <?php echo $data['admin']; ?>.
+</p>
+<p>
+Gràcies.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>Servei No Disponible</title>
+<style type="text/css">
+/*<![CDATA[*/
+body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+/*]]>*/
+</style>
+</head>
+<body>
+<h1>Servei No Disponible</h1>
+<p>
+Actualment, el nostre sistema actualment es troba en manteniment. Si us plau, provi-ho més tard.
+</p>
+<p>
+Gràcies.
+</p>
+<div class="version">
+<?php echo date('Y-m-d H:i:s',$data['time']) .' '. $data['version']; ?>
+</div>
+</body>
+</html>
@@ -0,0 +1,23 @@
+<script type="text/javascript">
+/*<![CDATA[*/
+if(typeof(console)=='object')
+{
+ console.<?php echo $this->collapsedInFireBug?'groupCollapsed':'group'; ?>("Registro de Aplicación");
+<?php
+foreach($data as $index=>$log)
+{
+ $time=date('H:i:s.',$log[3]).(int)(($log[3]-(int)$log[3])*1000);
+ if($log[1]===CLogger::LEVEL_WARNING)
+ $func='warn';
+ elseif($log[1]===CLogger::LEVEL_ERROR)
+ $func='error';
+ else
+ $func='log';
+ $content=CJavaScript::quote("[$time][$log[1]][$log[2]] $log[0]");
+ echo "\tconsole.{$func}(\"{$content}\");\n";
+}
+?>
+ console.groupEnd();
+}
+/*]]>*/
+</script>
View
@@ -0,0 +1,40 @@
+<!-- start log messages -->
+<table class="yiiLog" width="100%" cellpadding="2" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;">
+ <tr>
+ <th style="background:black;color:white;" colspan="5">
+ Log d'Aplicació
+ </th>
+ </tr>
+ <tr style="background-color: #ccc;">
+ <th style="width:120px">Estampa de temps (Timestamp)</th>
+ <th>Nivell</th>
+ <th>Categoria</th>
+ <th>Missatge</th>
+ </tr>
+<?php
+$colors=array(
+ CLogger::LEVEL_PROFILE=>'#DFFFE0',
+ CLogger::LEVEL_INFO=>'#FFFFDF',
+ CLogger::LEVEL_WARNING=>'#FFDFE5',
+ CLogger::LEVEL_ERROR=>'#FFC0CB',
+);
+foreach($data as $index=>$log)
+{
+ $color=($index%2)?'#F5F5F5':'#FFFFFF';
+ if(isset($colors[$log[1]]))
+ $color=$colors[$log[1]];
+ $message='<pre>'.CHtml::encode(wordwrap($log[0])).'</pre>';
+ $time=date('H:i:s.',$log[3]).(int)(($log[3]-(int)$log[3])*1000000);
+
+ echo <<<EOD
+ <tr style="background:{$color}">
+ <td align="center">{$time}</td>
+ <td>{$log[1]}</td>
+ <td>{$log[2]}</td>
+ <td>{$message}</td>
+ </tr>
+EOD;
+}
+?>
+</table>
+<!-- end of log messages -->
@@ -0,0 +1,19 @@
+<script type="text/javascript">
+/*<![CDATA[*/
+if(typeof(console)=='object')
+{
+ console.group("Profiling Callstack Report");
+<?php
+foreach($data as $index=>$entry)
+{
+ list($proc,$time,$level)=$entry;
+ $proc=CJavaScript::quote($proc);
+ $time=sprintf('%0.5f',$time);
+ $spaces=str_repeat(' ',$level*8);
+ echo "\tconsole.log(\"[$time]{$spaces}{$proc}\");\n";
+}
+?>
+ console.groupEnd();
+}
+/*]]>*/
+</script>
@@ -0,0 +1,30 @@
+<!-- start profiling callstack -->
+<table class="yiiLog" width="100%" cellpadding="2" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;">
+ <tr>
+ <th style="background:black;color:white;" colspan="2">
+ Reportatge Perfilat de la Pila de Crides al Servidor (Profiling Callstack Report)
+ </th>
+ </tr>
+ <tr style="background-color: #ccc;">
+ <th>Procediment</th>
+ <th>Temps (s)</th>
+ </tr>
+<?php
+foreach($data as $index=>$entry)
+{
+ $color=($index%2)?'#F5F5F5':'#FFFFFF';
+ list($proc,$time,$level)=$entry;
+ $proc=CHtml::encode($proc);
+ $time=sprintf('%0.5f',$time);
+ $spaces=str_repeat('&nbsp;',$level*8);
+
+ echo <<<EOD
+ <tr style="background:{$color}">
+ <td>{$spaces}{$proc}</td>
+ <td align="center">{$time}</td>
+ </tr>
+EOD;
+}
+?>
+</table>
+<!-- end of profiling callstack -->
Oops, something went wrong.

0 comments on commit 52da9b7

Please sign in to comment.