Skip to content

Commit

Permalink
added pt and zh language files
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/phpscheduleit/code/development@1720 12d54735-0ee2-4768-9b18-c71e5e561e4c
  • Loading branch information
lqqkout13 committed Oct 22, 2012
1 parent 30c61ea commit 41f6471
Show file tree
Hide file tree
Showing 9 changed files with 2,484 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lang/AvailableLanguages.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php
/**
Copyright 2012 Nick Korbel
Expand Down Expand Up @@ -42,6 +42,8 @@ public static function GetAvailableLanguages()
'pl' => new AvailableLanguage('pl', 'pl.php', 'Polski'),
'pt_br' => new AvailableLanguage('pt_br', 'pt_br.php', 'Portugu&ecirc;s Brasileiro'),
'sv_sv' => new AvailableLanguage('sv_sv', 'sv_sv.php', 'Swedish'),
'zh_cn' => new AvailableLanguage('zh_cn', 'zh_cn.php', '简体中文'),
'zh_tw' => new AvailableLanguage('zh_tw', 'zh_tw.php', '繁體中文'),
);
}
}
Expand Down
559 changes: 559 additions & 0 deletions lang/pt_pt.php

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions lang/pt_pt/ReservationCreated.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{*
Copyright 2011-2012 Nick Korbel
This file is part of phpScheduleIt.
phpScheduleIt is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phpScheduleIt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with phpScheduleIt. If not, see <http://www.gnu.org/licenses/>.
*}
{include file='..\..\tpl\Email\emailheader.tpl'}

Detalhes da Reserva:
<br/>
<br/>

Início: {formatdate date=$StartDate key=reservation_email}<br/>
Fim: {formatdate date=$EndDate key=reservation_email}<br/>
Recurso: {$ResourceName}<br/>
Título: {$Title}<br/>
Descrição: {$Description|nl2br}<br/>

{if count($RepeatDates) gt 0}
<br/>
A reserva ocorre nas seguintes datas:
<br/>
{/if}

{foreach from=$RepeatDates item=date name=dates}
{formatdate date=$date}<br/>
{/foreach}

{if $RequiresApproval}
<br/>
Um ou mais recursos reservados requerem aprovação antes do uso. Esta reserva será pendente até que seja aprovada.
{/if}

<br/>
<a href="{$ScriptUrl}/{$ReservationUrl}">Ver esta reserva</a> |
<a href="{$ScriptUrl}/{$ICalUrl}">Adicionar ao Outlook</a> |
<a href="{$ScriptUrl}">Entrar no phpScheduleIt</a>

{include file='..\..\tpl\Email\emailfooter.tpl'}
50 changes: 50 additions & 0 deletions lang/pt_pt/ReservationCreatedAdmin.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{*
Copyright 2011-2012 Nick Korbel
This file is part of phpScheduleIt.
phpScheduleIt is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phpScheduleIt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with phpScheduleIt. If not, see <http://www.gnu.org/licenses/>.
*}
{include file='..\..\tpl\Email\emailheader.tpl'}

Detalhes da Reserva:
<br/>
<br/>

Utilizador: {$UserName}
Início: {formatdate date=$StartDate key=reservation_email}<br/>
Fim: {formatdate date=$EndDate key=reservation_email}<br/>
Recurso: {$ResourceName}<br/>
Título: {$Title}<br/>
Descrição: {$Description}<br/>

{if count($RepeatDates) gt 0}
<br/>
A reserva ocorre nas seguintes datas:
<br/>
{/if}

{foreach from=$RepeatDates item=date name=dates}
{formatdate date=$date}<br/>
{/foreach}

{if $RequiresApproval}
<br/>
Um ou mais recursos reservados requerem aprovação antes do uso. Certifique-se que este pedido de reserva é aprovado ou rejeitado.
{/if}

<br/>
<a href="{$ScriptUrl}{$ReservationUrl}">Ver esta reserva</a> | <a href="{$ScriptUrl}">Entrar no phpScheduleIt</a>

{include file='..\..\tpl\Email\emailfooter.tpl'}
54 changes: 54 additions & 0 deletions lang/pt_pt/ReservationInvitation.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{*
Copyright 2011-2012 Nick Korbel
This file is part of phpScheduleIt.
phpScheduleIt is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phpScheduleIt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with phpScheduleIt. If not, see <http://www.gnu.org/licenses/>.
*}
{include file='..\..\tpl\Email\emailheader.tpl'}

Detalhes da Reserva:
<br/>
<br/>

Início: {formatdate date=$StartDate key=reservation_email}<br/>
Fim: {formatdate date=$EndDate key=reservation_email}<br/>
Recurso: {$ResourceName}<br/>
Título: {$Title}<br/>
Descrição: {$Description|nl2br}<br/>

{if count($RepeatDates) gt 0}
<br/>
A reserva ocorre nas seguintes datas:
<br/>
{/if}

{foreach from=$RepeatDates item=date name=dates}
{formatdate date=$date}<br/>
{/foreach}

{if $RequiresApproval}
<br/>
Um ou mais recursos reservados requerem aprovação antes do uso. Esta reserva estará pendente até que seja aprovada.
{/if}

<br/>
Aceitar? <a href="{$ScriptUrl}/{$AcceptUrl}">Sim</a> <a href="{$ScriptUrl}/{$DeclineUrl}">Não</a>
<br/>

<a href="{$ScriptUrl}/{$ReservationUrl}">Ver esta reserva</a> |
<a href="{$ScriptUrl}/{$ICalUrl}">Adicionar ao Outlook</a> |
<a href="{$ScriptUrl}">Entrar no phpScheduleIt</a>

{include file='..\..\tpl\Email\emailfooter.tpl'}
29 changes: 29 additions & 0 deletions lang/pt_pt/ResetPassword.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{*
Copyright 2011-2012 Nick Korbel
This file is part of phpScheduleIt.
phpScheduleIt is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phpScheduleIt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with phpScheduleIt. If not, see <http://www.gnu.org/licenses/>.
*}
{include file='..\..\tpl\Email\emailheader.tpl'}

Esta é a sua senha temporária do phpScheduleIt: {$TemporaryPassword}

<br/>

A sua senha antiga já não funciona.

Por favor, <a href="{$ScriptUrl}">Entre no phpScheduleIt</a> e altere a sua senha o mais rapidamente possível.

{include file='..\..\tpl\Email\emailfooter.tpl'}
Loading

0 comments on commit 41f6471

Please sign in to comment.