Commit 52ce0f04 authored by Fernando Verdugo Arias's avatar Fernando Verdugo Arias
Browse files

Add deb packet to install doc, create ca.po, change strings to translate, ...

parent a9890fba
......@@ -30,7 +30,7 @@ Clone the sources:
##Debian
$ sudo apt-get install libmojolicious-perl mysql-server libauthen-passphrase-perl libdbd-mysql-perl libdbi-perl libdbix-connector-perl libipc-run3-perl libnet-ldap-perl libproc-pid-file-perl libvirt-bin libsys-virt-perl libxml-libxml-perl libconfig-yaml-perl libmoose-perl libjson-xs-perl qemu-utils perlmagick libmoosex-types-netaddr-ip-perl libsys-statistics-linux-perl libio-interface-perl libiptables-chainmgr-perl libnet-dns-perl wget liblocale-maketext-lexicon-perl
$ sudo apt-get install libmojolicious-perl mysql-server libauthen-passphrase-perl libdbd-mysql-perl libdbi-perl libdbix-connector-perl libipc-run3-perl libnet-ldap-perl libproc-pid-file-perl libvirt-bin libsys-virt-perl libxml-libxml-perl libconfig-yaml-perl libmoose-perl libjson-xs-perl qemu-utils perlmagick libmoosex-types-netaddr-ip-perl libsys-statistics-linux-perl libio-interface-perl libiptables-chainmgr-perl libnet-dns-perl wget liblocale-maketext-lexicon-perl libmojolicious-plugin-i18n-perl
- libmojolicious-perl
- mysql-server
......@@ -56,6 +56,7 @@ Clone the sources:
- libnet-dns-perl
- wget
- liblocale-maketext-lexicon-perl
- libmojolicious-plugin-i18n-perl
##Old Mojolicious
......
#This is the PO catalan locale
msgid "Ravada broker"
msgstr ""
msgid "Machine Name"
msgstr "Nom de la maquina"
msgid "Tools"
msgstr "Eines"
msgid "Machines List"
msgstr "Llistat de màquines"
msgid "Users"
msgstr "Usuaris"
msgid "Help"
msgstr "Ajuda"
msgid "Available Machines"
msgstr "Maquines disponibles"
#This is the PO english locale
msgid "Ravada broker"
msgstr ""
msgid "Machine Name"
msgstr ""
msgid "Tools"
msgstr ""
msgid "Machines List"
msgstr ""
msgid "Users"
msgstr ""
msgid "Choose a Machine to Start"
msgstr ""
msgid "Start"
msgstr ""
msgid "Stop"
msgstr ""
msgid "View"
msgstr ""
msgid "Prepare Base"
msgstr ""
msgid "Clone"
msgstr ""
msgid "Can't Remove Base and Delete. Machine has 1 Clone/s"
msgstr ""
msgid "NEW Messages"
msgstr ""
msgid "Users List"
msgstr ""
msgid "Name"
msgstr ""
msgid "Log Out"
msgstr ""
......@@ -10,9 +10,9 @@ use Getopt::Long;
use Hash::Util qw(lock_hash);
use Mojolicious::Lite 'Ravada::I18N';
#####
my $self->plugin('I18N');
plugin I18N => {namespace => 'Ravada::I18N', support_url_langs => [qw(en)]};
package Ravada::I18N::en;
#my $self->plugin('I18N');
plugin I18N => {namespace => 'Ravada::I18N', support_url_langs => [qw(en ca)]};
#package Ravada::I18N:en;
#####
use YAML qw(LoadFile);
......
......@@ -12,7 +12,7 @@
<div class="page-header">
<div class="panel panel-default">
<div class="panel-heading">
<h2>Machines List
<h2><%=l 'Machines List' %>
<button type="button" style="float: right; margin: 0 0 0 15px;" class="btn btn-success" data-toggle="modal" data-target="#modalNM">New Machine</button>
<a style="float: right; margin: 0 10px;" class="btn btn-info" href="/machines"><i class="fa fa-refresh" aria-hidden="true"></i></A>
......
......@@ -9,7 +9,7 @@
<ul class="nav navbar-right top-nav">
% if ( !$_anonymous ) {
<li>
<a href="/"><i class="fa fa-fw fa-desktop"></i> Avaiable Machines</a>
<a href="/"><i class="fa fa-fw fa-desktop"></i><%=l 'Available Machines' %></a>
</li>
% if (defined $_user ) {
<li>
......@@ -26,16 +26,16 @@
% }
% if (defined $_user && $_user->is_admin ) {
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-wrench"></i>&nbsp;Tools<span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-wrench"></i>&nbsp;<%=l 'Tools' %><span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/machines"><i class="fa fa-cubes"></i>&nbsp;Machines List</a></li>
<li><a href="/users"><i class="fa fa-users"></i>&nbsp;Users</a></li>
<li><a href="/machines"><i class="fa fa-cubes"></i>&nbsp;<%=l 'Machines List' %></a></li>
<li><a href="/users"><i class="fa fa-users"></i>&nbsp;<%=l 'Users' %></a></li>
</ul>
</li>
% }
% if ( !$_anonymous ) {
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-question"></i>&nbsp;Help<span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-question"></i>&nbsp;<%=l 'Help' %><span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/requirements"><i class="fa fa-gears"></i>&nbsp;Requirements</a></li>
<li role="separator" class="divider"></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment