jobberBase Community

Welcome to jobberBase Developer Community!

You are not logged in.

Announcement

Announcement for new users: in order to combat the ever increasing spam, we no longer allow new users to post links in the message body. This limitation is automatically lifted once a new user has a specific number of 'valid' posts.

You can post links like google.com which will be rendered as text but you will not be able to post messages that contain complete URLs like www.google.com

Thank you for your understanding!

#1 2008-08-30 02:46:15

matteoraggi
Member
From: Italy
Registered: 2008-08-26
Posts: 193
Website

ITALIAN TRANSLATION

here I publish the complete translation of files in italian language:
app\_includes\translations.ini

and then of app\_includes\class.Postman.php

and finally I show only part of_
app\_templates\job-details.tpl
app\_templates\sidebar.tpl



----------------------------------------------------


[header]
name = "Lavoro Hotel"
title = "Lavoro Hotel"
home = "Home"
ideal_job = "il lavoro ideale"
ideal_job_title = "il lavoro ideale"
rss_alt = "RSS"
rss_title = "iscriviti con i feed RSS"
seen_recently = "visti di recente"

[search]
default = "cerca un lavoro"
example = "(esempio. "cuoco", "barista, cameriere", "pizzaiolo, babysitter")"
submit = "Inserisci una nuova offerta di lavoro gratuitamente"
submit_title = "Inserisci una nuova offerta di lavoro"

[footer]
column_use = "Utilita'"
new_job = "Inserisci una nuova offerta di lavoro"
new_job_title = "Inserisci una nuova offerta di lavoro"
rss = "RSS Feeds"
rss_title = "RSS Feeds"
column_find = "Altro"
column_misc = "Vari"
companies = "Aziende"
companies_title = "Aziende"
widgets = "Widgets"
widgets_title = "Widgets"
powered_by = "Powered by"

[jobs]
activated_success = "Proposta di lavoro pubblicataa con successo."
delete_success = "La tua proposta di lavoro e' stata pubblicata."
confirmation_success = "La tua proposta di lavoro  stata pubblicata."
publish_success = "Congratulazioni, la tua offeta di lavoro e' stata pubblicata!"
add_success = "La tua offerta di lavoro e' stata pubblicata!"
name_error = "Per piacere inserisci un nome di azienda."
title_error = "Per piacere inserisci un titolo al lavoro."
description_error = "Per favoe inserisci la descrizione del lavoro."
email_error = "Per piacere inserisci la tua e-mail."
company_error = "Per piacere inserisci il nome azienda."
job_title_error = "Per piacere inserisci il titolo del lavoro."
job_description_error = "Per piacere isnerisci la descrizione del lavoro."
job_email_error = "Per piacere inserisci la tua e-mail."
title_edit = "Modifica il tuo annuncio di lavoro"
title_new = "Inserisci un nuovo lavoro"
report_fake = "Questa proposta di lavoro e' falsa?"
report_it = "Segnalacelo!"
published_at = "Pubblicato il"
viewed = "visto"
times = "volte"
no_job = "Non ci sono al momenti lavori disponibili per"
no_job_found = "Nessun lavoro trovato."
preposition_at = "a"

[apply]
name_error = "Per piacere inserisci il tuo nome."
email_error = "Per piacere inserisci la tua e-mail."
msg_error = "Per piacere inserisci un messaggio."
cv_error = "La dimensione del curriculum vitae puo' essere al massimo 3 MB."
email_invalid = "L'indirizzo e-mail non e' valido"
success = "Congratulazioni, il tuo Curriculum Vitae e' stato spedito! Ti facciamo i migliori auguri!"
failure = "Sfortunatamente la tua richiesta non puo' essere spedita. Per piacere verifica il modulo. Anche non permettiamo piu' di 1 richiesta ogni 10 minuti."
old_ad = "Questo lavoro e' stato inserito oltre 40 giorni fa..."
name_label = "Tuo nome"
email_label = "Tua e-mail"
message_label = "Messaggio<br />o lettera di intenti"
cv_label = "Carica Curriculum Vitae"
cv_info = "Max. 3 MB. formati raccomandati: PDF, RTF, DOC, ODT. "
cancel = "Cancella"
submit = "Spedisci la mia richiesta"
or = "o"

[category]
title_part1 = "Stai cercando"
title_part2 = "lavoro?"
display_only = "Visualizza solo"
jobs_for = "Lavoi per"

[companies]
page_title = "Aziende che hanno pubblicato qui"
title = "Aziende che hanno pubblicato qui"
are_you_looking = "Stai cercando per lavori a"
meta_part1 = "Lavori inseriti da"
meta_part2 = "Pubblica le offete di lavoro gratis!!"
total = "Totale"
companies = "aziende"
jobs_at = "Lavori a"

[contact]
name_error = "Per piacere inserisci il tuo nome"
email_error = "Devi inserire il tuo indirizzo E-mail"
msg_error = "Per piacere riempi il messaggio"
send_error = "Il tuo messagio non e' stato spedito. Provare ancora?"
name_label = "Tuo nome"
email_label = "Tua e-mail"
message_label = "Messaggio"
submit = "spedisci messaggio"

[idealjob]
title = "Quale e' il tuo lavoro ideale per te?"
name_error = "Il tuo nome e' importante."
email_error = "La tua e-mail e' importante."
params_error = "Pper piacere completa il survey."
thankyou_message = "Graie per il tuo tempo!"
title_heading = "configura il tuo lavoro ideale!"
intro = "Facci sapere quale e' il lavoro ideale, dal tuo punto di vista..."
job_label = "Tipo di lavoro"
company_label = "Company stuff"
know_label = "conoscenza"
experience_label = "Livello di esperienza"
your_info = "tue info"
name_label = "Nome"
email_label = "E-mail"
submit = "Salva"

[stats]
last_50_posts = "Richieste di lavoro, le ultime 50 visualizzate"
last_50_searches = "Ricerche, le ultime 50 visualizzate"
average = "media"
maximum = "max"
last_7_days = "ultimi 7 giorni"
total = "totale"

[sitemap]
title = "Mappa del sito"
jobs = "Lavori per"
use = "Usalo"
more = "Trova di piu'"

[notfound]
message = "Ci dispiace, ma la pagina che stai cercando potrebbe non e' stata trovata."
back = "torna alla HomePage"

[homepage]
title = "Trova lavori in hotel a "
recent_jobs = "Le piu' recenti offerte di lavoro"
popular_jobs = "I lavori in hotel piu' richiesti"
at = "a";may be 'company'
in = "in";it can be 'location' too
applicants = "richieste"
applicant = "richiesta"
no_jobs = "Non lavori, ancora"

[recommend]
title = "Consiglia ad un amico"
friend_email_label = "E-mail dell'amico"
your_email_label = "tua e-mail"
submit = "Spedisci"

[publish]
step1 = "Passo 1: Scrivi"
step2 = "Passo 2: Verifica"
step3 = "Passo 3: Conferma"
form_error = "Per piacere rivedi il form..."
job_details = "Dettagli Lavoro"
title_label = "Titolo"
title_info = "esempio. 'Cuoco', 'Barista'"
location_label = "Localita'"
contry = "Italia"
other = "altre"
where = "dove ?"
where_info = "esempio. 'Londra, UK'"
description_label = "Descrizione"
description_info = "Formatta il testo con Textile"
syntax = "Textile syntax"
result = "risultato finale"
company = "Dati Persona o Azienda"
name_label = "Nome"
website_label = "Sito web"
websiter_info = "esempio. 'www.google.it'"
email_label = "E-mail"
email_info1 = "non pubblicato"
email_info2 = "Le richieste di lavoro verranno spedite a questo indirizzo."
step1_submit = "Passo 2: Verifica annuncio"
step2_info = "Se hai cambiato idea, tu puoi"
step2_cancel = "cancellare la pubblicazione di questo annuncio"
save = "Salva modifiche"
publish = "Pubblica questo annuncio"
edit = "Modificalo"
edit_success = "Il tuo annuncio di lavoro e' stato modificato con successo"
view = "guarda il nuovo annuncio di lavoro"
options_title = "Edit or deactivate your ad"
options_info = "If you need to edit or deactivate this ad, use the following links"
deactivate = "Disattiva annuncio"
success_message = "Il tuo annuncio di lavoro e' stato inserito, ma siccome e' la prima volta che pubblichi utilizzando questa e-mail, devi attendere che verifichiamo manualmente.<br />Ti ringraziamo per la pazienza, verificheremo la richiesta di pubblicazione il prima possibile. Ti spediremo una e-mail quando il tuo primo annuncio verra' pubblicato! <br /><br />Dopo la prima pubblicazione, ogni nuova richiesta di lavoro che pubblichi con questa email verra' pubblicata immediatamente.<br />"
congratulations = "Ti ringraziamo per aver utilizzato i nostri servizi!"

[rss]
title = "RSS"
intro = "Scgli  uno dei seguenti feed:"
all_categories = "Feed per tutte le categorie di lavoro"
for = "Feed per"



------------------------------------------------------------------------------------


<?php

class Postman
{
    var $mAdminEmail = ADMIN_EMAIL;
   
    function __construct()
    { }

    // Send a job post to a friend
    public function MailSendToFriend($friend_email, $my_email)
    {
        $subject = 'I\'m recommending you a job ad';
        $msg = $_SERVER['HTTP_REFERER'];
        $msg .= "\n\n---\nYou've received this e-mail from " . $my_email;

        if ($friend_email != '' && $my_email != '' && validate_email($friend_email) && validate_email($my_email))
        {
            if (mail($friend_email, $subject, $msg, 'From: ' . $my_email))
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
   
    // Send email to company when applying online
    public function MailApplyOnline($data)
    {
        $extra = '\n\n---\nQuesta e-mail e\' una richiesta di lavoro proveniente da ' . $_SERVER['HTTP_REFERER'];
   
        $mail = new PHPMailer();

        $mail->From     = stripslashes($data['apply_email']);
        $mail->FromName = stripslashes($data['apply_name']);

    $mail->Body    = str_replace(array('\r\n', '\r', '\n'), '<br />', stripslashes($data['apply_msg']) . $extra);
    $mail->AltBody = $data['apply_msg'] . $extra;
        $mail->Subject = "[" . SITE_NAME . "] Hai ricevuto una richiesta di lavoro per'" . $data['job_title'] . "'";
    $mail->AddAddress($data['company_email'], $data['company_name']);
        if ($data['attachment_path'])
        {
        $mail->AddAttachment($data['attachment_path'], $data['attachment_filename']);
        }

        if ($mail->Send())
        {
            return true;
        }
        else
        {
            return false;
        }
    }
   
    // Send mail to admin when a job is posted
    public function MailPublishToAdmin($data)
    {
        $msg = '';
        $job_title = BASE_URL . 'job/' . $data['id'] . '/' . $data['url_title'] . '/';
        $subject = "[" . SITE_NAME . "]" . $job_title;
       
        if ($data['check_poster_email'] == 0)
        {
            $msg .= "Attiva questo annuncio: " . BASE_URL . "activate/" . $data['id'] . "/" . $data['auth'] . "/";
            $msg .= "\n\n\n";
        }
        $msg .= $job_title;
        $msg .= "\n\n" . $data['title'] . " at " . $data['company'];
        $msg .= "\n\n" . $data['description'];
        $msg .= "\n\nURL: " . $data['url'];
        $msg .= "\n\n---\Pubbliato da: " . $data['poster_email'];
        $msg .= "\n---\nModifica: " . BASE_URL . "post/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\nDisattiva: " . BASE_URL . "deactivate/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\n\n---\nIP: " . $_SERVER['REMOTE_ADDR'];
        $msg .= "\nDate: " . $data['created_on'];
        mail(NOTIFY_EMAIL, $subject, $msg, "From: " . SITE_NAME . " <" . NOTIFY_EMAIL . ">");
    }
   
    // Send mail to user when posting first time (thus the post needs to be moderated)
    public function MailPublishPendingToUser($poster_email)
    {
        $subject = 'Il tuo annuncio su ' . SITE_NAME;
        $msg = "Buongiorno! smile\n\n";
        $msg .= "Il tuo annuncio di lavoro e\' stato inserito, ma siccome e' la prima volta che pubblichi utilizzando questa e-mail, devi attendere che verifichiamo manualmente.";
        $msg .= "\nTi ringraziamo per la pazienza, verificheremo la richiesta di pubblicazione il prima possibile. Ti spediremo una e-mail quando il tuo primo annuncio verra\' pubblicato!";
        $msg .= "\n\nDopo la prima pubblicazione, ogni nuova richiesta di lavoro che pubblichi con questa email verra\' pubblicata immediatamente.";
        $msg .= "\n\n---\n\nTi ringraziamo per aver utilizzato i nostri servizi!\nLavoro Hotel";
       
        if ($poster_email != '' && validate_email($poster_email))
        {
            mail($poster_email, $subject, $msg, "From: " . SITE_NAME . " <" . NOTIFY_EMAIL . ">");   
        }
    }
   
    // Send mail to user when a post is published
    public function MailPublishToUser($data)
    {
        $subject = 'Il tuo annuncio di lavoro su ' . SITE_NAME . ' e\' stato pubblicato';
        $msg = "Buongiorno! smile\n\n";
        $msg .= "Il tuo annuncio di lavoro e\' stato pubblicato ed e\' visibile qui: " . BASE_URL . "job/" . $data['id'] . "/" . $data['url_title'] . "/";
        $msg .= "\n\n---\nEdit it: " . BASE_URL . "post/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\nDeactivate it: " . BASE_URL . "deactivate/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\n\n---\n\nGrazie per aver utilizzato i nostri servizi!\nThe " . SITE_NAME . " Team";
       
        if ($data['poster_email'] != '' && validate_email($data['poster_email']))
        {
            mail($data['poster_email'], $subject, $msg, "From: " . SITE_NAME . " <" . NOTIFY_EMAIL . ">");   
        }
    }
   
    // Send mail to user when a post is activated (after first-time post)
    public function MailPostActivatedToUser($data)
    {
        $this->MailPublishToUser($data);
    }
   
    // Send mail to admin when someone posts a new spam word
    public function MailReportSpam($data)
    {
        $job_title = BASE_URL . 'job/' . $data['id'] . '/' . $data['url_title'] . '/';
        $subject = '[SPAM on ' . SITE_NAME . '] ' . $job_title;
        $msg .= "Following ad was reported as false/spam:\n--\n\n";
        $msg .= $job_title;
        $msg .= "\n\n" . $data['title'] . " at " . $data['company'];
        $msg .= "\n\n" . $data['description'];
        $msg .= "\n\n--- \n Published by: " . $data['poster_email'];
        $msg .= "\n---\nEdit: " . BASE_URL . "post/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\nDeactivate: " . BASE_URL . "deactivate/" . $data['id'] . "/" . $data['auth'] . "/";
        $msg .= "\n---\nIP: " . $_SERVER['REMOTE_ADDR'];
        $msg .= "\nDate: " . $data['created_on'];
       
        mail(NOTIFY_EMAIL, $subject, $msg, "From: " . SITE_NAME . " <" . NOTIFY_EMAIL . ">");
    }
   
    public function MailContact($name, $email, $msg)
    {
        $msg .= "\n\n---\nIP: " . $_SERVER['REMOTE_ADDR'];
        $msg .= "\nDate: " . date('Y-m-d H:i');

        $subject = "[" . SITE_NAME . "] contact";

        if (mail(NOTIFY_EMAIL, $subject, $msg, "From: $name <$email>"))
        {
            return true;
        }
        else
        {
            return false;
        }   
    }   
}
?>



------------------------------------------------------------------------


<div id="apply_online_now"><a href="#" onclick="$('#apply-online').SwitchVertically(10); document.getElementById('apply_name').focus(); window.location.href = '#apply'; return false;">&raquo; Spedisci il tuo Curriculum Vitae</a><a href="#" name="apply">&nbsp;</a></div>
                    {if $smarty.session.apply_mail_sent AND $smarty.session.apply_mail_sent eq -1}
                    <div class="validation-failure">
                        <img src="{$BASE_URL}img/icon-delete.png" alt="" />
                        {$translations.apply.failure}
                    </div>


---------------------
  <strong>{$jobs_count_all} annunci di lavoro in tutto</strong>
                <br />
                {foreach item=job from=$jobs_count_all_categs}
                <strong>{$job.categ_count}</strong> per <a href="{$BASE_URL}jobs/{$job.categ_varname}/">{$job.categ_name}</a><br />
---------------------

Last edited by matteoraggi (2008-08-30 18:40:23)

Offline

#2 2008-08-31 23:00:50

matteoraggi
Member
From: Italy
Registered: 2008-08-26
Posts: 193
Website

Re: ITALIAN TRANSLATION

I don't find where go to translate the word: "Contact" in top right corner of the web site: http://www.lavorohotel.net this word isn't into .inc file and is used into 68 different files..

Offline

#3 2008-09-01 00:29:32

matteoraggi
Member
From: Italy
Registered: 2008-08-26
Posts: 193
Website

Re: ITALIAN TRANSLATION

the sentence:
We really appreciate your time! Thanks!
that appear atfer insert the ideal job
http://www.lavorohotel.net/ideal-job/
is not in .inc file, where it is?
http://www.lavorohotel.net/ideal-job/saved/

Offline

#4 2008-09-04 20:19:54

matteoraggi
Member
From: Italy
Registered: 2008-08-26
Posts: 193
Website

Re: ITALIAN TRANSLATION

also in result search it appear again a nottranslate sentence that I don't know where it is:
Search results for

Offline

#5 2008-09-04 21:27:27

matteoraggi
Member
From: Italy
Registered: 2008-08-26
Posts: 193
Website

Re: ITALIAN TRANSLATION

instead of the word: Apply now
the italian vesion is:
Proponi il tuo Curriculum Gratis

Last edited by matteoraggi (2008-09-04 23:00:29)

Offline

Board footer

Powered by FluxBB