diff options
Diffstat (limited to 'view/sv')
-rw-r--r-- | view/sv/follow_notify_eml.tpl | 16 | ||||
-rw-r--r-- | view/sv/friend_complete_eml.tpl | 27 | ||||
-rw-r--r-- | view/sv/htconfig.tpl | 70 | ||||
-rw-r--r-- | view/sv/intro_complete_eml.tpl | 29 | ||||
-rw-r--r-- | view/sv/lostpass_eml.tpl | 39 | ||||
-rw-r--r-- | view/sv/passchanged_eml.tpl | 24 | ||||
-rw-r--r-- | view/sv/register_open_eml.tpl | 24 | ||||
-rw-r--r-- | view/sv/register_verify_eml.tpl | 28 | ||||
-rw-r--r-- | view/sv/request_notify_eml.tpl | 20 | ||||
-rw-r--r-- | view/sv/update_fail_eml.tpl | 13 |
10 files changed, 201 insertions, 89 deletions
diff --git a/view/sv/follow_notify_eml.tpl b/view/sv/follow_notify_eml.tpl index fee08bdca..ba07b19da 100644 --- a/view/sv/follow_notify_eml.tpl +++ b/view/sv/follow_notify_eml.tpl @@ -1,12 +1,14 @@ -$myname, -'$requestor' på $sitename vill följa dina uppdateringar här på Friendika. +Dear {{$myname}}, -Besök dennes profil på $url. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Logga in för att godkänna eller avslå förfrågan. +You may visit their profile at {{$url}}. -$siteurl +Please login to your site to approve or ignore/cancel the request. -Hälsningar, -$sitename admin +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/sv/friend_complete_eml.tpl b/view/sv/friend_complete_eml.tpl index 2b8b0238e..1c647b994 100644 --- a/view/sv/friend_complete_eml.tpl +++ b/view/sv/friend_complete_eml.tpl @@ -1,17 +1,22 @@ -$username, -Goda nyheter... '$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. +Dear {{$username}}, -Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden -utan begränsningar. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Gå in på din sida 'Kontakter' på $sitename om du vill göra några -ändringar när det gäller denna kontakt. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -$siteurl +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -[Du kan exempelvis skapa en separat profil med information som inte -är tillgänglig för vem som helst, och ge visningsrättigheter till '$fn']. +{{$siteurl}} -Hälsningar, -$sitename admin +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. + +Sincerely, + + {{$sitename}} Administrator + + diff --git a/view/sv/htconfig.tpl b/view/sv/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/sv/htconfig.tpl @@ -0,0 +1,70 @@ +<?php + +// Set the following for your MySQL installation +// Copy or rename this file to .htconfig.php + +$db_host = '{{$dbhost}}'; +$db_port = '{{$dbport}}'; +$db_user = '{{$dbuser}}'; +$db_pass = '{{$dbpass}}'; +$db_data = '{{$dbdata}}'; + +/* + * Notice: Many of the following settings will be available in the admin panel + * after a successful site install. Once they are set in the admin panel, they + * are stored in the DB - and the DB setting will over-ride any corresponding + * setting in this file + * + * The command-line tool util/config is able to query and set the DB items + * directly if for some reason the admin panel is not available and a system + * setting requires modification. + * + */ + + +// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". +// It can be changed later and only applies to timestamps for anonymous viewers. + +$default_timezone = '{{$timezone}}'; + +// What is your site name? + +$a->config['system']['baseurl'] = '{{$siteurl}}'; +$a->config['system']['sitename'] = "Red Matrix"; +$a->config['system']['location_hash'] = '{{$site_id}}'; + +// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED. +// Be certain to create your own personal account before setting +// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on +// the registration page. REGISTER_APPROVE requires you set 'admin_email' +// to the email address of an already registered person who can authorise +// and/or approve/deny the request. + +$a->config['system']['register_policy'] = REGISTER_OPEN; +$a->config['system']['register_text'] = ''; +$a->config['system']['admin_email'] = '{{$adminmail}}'; + +// Maximum size of an imported message, 0 is unlimited + +$a->config['system']['max_import_size'] = 200000; + +// maximum size of uploaded photos + +$a->config['system']['maximagesize'] = 800000; + +// Location of PHP command line processor + +$a->config['system']['php_path'] = '{{$phpath}}'; + +// Configure how we communicate with directory servers. +// DIRECTORY_MODE_NORMAL = directory client, we will find a directory +// DIRECTORY_MODE_SECONDARY = caching directory or mirror +// DIRECTORY_MODE_PRIMARY = main directory server +// DIRECTORY_MODE_STANDALONE = "off the grid" or private directory services + +$a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; + +// default system theme + +$a->config['system']['theme'] = 'redbasic'; + diff --git a/view/sv/intro_complete_eml.tpl b/view/sv/intro_complete_eml.tpl index 1f24af25f..2c2428d68 100644 --- a/view/sv/intro_complete_eml.tpl +++ b/view/sv/intro_complete_eml.tpl @@ -1,19 +1,22 @@ -$username, -'$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. +Dear {{$username}}, -'$fn' har valt att acceptera dig som ett "fan" vilket innebär vissa begränsningar -i kommunikationen mellan er - som till exempel personliga meddelanden och viss interaktion -mellan profiler. Om detta är en kändis eller en gemenskap så har dessa inställningar gjorts -per automatik. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -'$fn' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer -tillåtande kommunikationsform i framtiden. + '{{$fn}}' has chosen to accept you a "fan", which restricts +some forms of communication - such as private messaging and some profile +interactions. If this is a celebrity or community page, these settings were +applied automatically. -Du kommer hädanefter att få statusuppdateringar från '$fn', -vilka kommer att synas på din Nätverk-sida på + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. -$siteurl + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -Hälsningar, -$sitename admin +{{$siteurl}} + +Sincerely, + + {{$sitename}} Administrator diff --git a/view/sv/lostpass_eml.tpl b/view/sv/lostpass_eml.tpl index df338fa69..3b79d2791 100644 --- a/view/sv/lostpass_eml.tpl +++ b/view/sv/lostpass_eml.tpl @@ -1,29 +1,32 @@ -$username, -En begäran om återställning av lösenord på $sitename har mottagits. -Gå till adressen nedan för att bekräfta denna begäran. Du kan också -klistra in länken i adressfältet i din webbläsare. +Dear {{$username}}, + A request was recently received at {{$sitename}} to reset your account +password. In order to confirm this request, please select the verification link +below or paste it into your web browser address bar. -Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning. -Då kan du ignorera det här meddelandet. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du -initierat detta. +Your password will not be changed unless we can verify that you +issued this request. -Med den här länken kan du bekräfta din identitet: +Follow this link to verify your identity: -$reset_link +{{$reset_link}} -Sedan kommer du att få ett meddelande med ett nytt lösenord. +You will then receive a follow-up message containing the new password. -Lösenordet kan sedan ändras i dina inställningar efter att du loggat in. +You may change that password from your account settings page after logging in. -Detaljerna ser ut så här: +The login details are as follows: -Webbplats: $siteurl -Inloggningsnamn: $email +Site Location: {{$siteurl}} +Login Name: {{$email}} -Hälsningar, -$sitename admin -
\ No newline at end of file + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/sv/passchanged_eml.tpl b/view/sv/passchanged_eml.tpl index 590462468..0d94be3c2 100644 --- a/view/sv/passchanged_eml.tpl +++ b/view/sv/passchanged_eml.tpl @@ -1,18 +1,20 @@ -$username, +Dear {{$username}}, + Your password has been changed as requested. Please retain this +information for your records (or change your password immediately to +something that you will remember). -Lösenordet har ändrats enligt din begäran. Behåll den här -informationen om den skulle behövas i framtiden. (eller ändra lösenord -på en gång till något som du kommer ihåg). +Your login details are as follows: -Här är dina inloggningsuppgifter: +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Webbplats: $siteurl -Användarnamn: $email -Lösenord: $new_password +You may change that password from your account settings page after logging in. -När du loggat in kan du byta lösenord bland inställningarna. -Hälsningar, -$sitename admin +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/sv/register_open_eml.tpl b/view/sv/register_open_eml.tpl index 1471c9b98..4b397201c 100644 --- a/view/sv/register_open_eml.tpl +++ b/view/sv/register_open_eml.tpl @@ -1,17 +1,19 @@ -$username, -Tack för att du registrerat dig på $sitename. Kontot har skapats. -Här är dina inloggningsuppgifter: -Webbplats: $siteurl -Användarnamn: $email -Lösenord: $password +An account has been created at {{$sitename}} for this email address. +The login details are as follows: -Lösenordet kan ändras på sidan Inställningar efter att du loggat in. +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Ägna en liten stund åt att gå igenom alla kontoinställningar där. +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Välkommen till $sitename. +Thank you and welcome to {{$sitename}}. -Hälsningar, -$sitename admin +Sincerely, + {{$sitename}} Administrator + diff --git a/view/sv/register_verify_eml.tpl b/view/sv/register_verify_eml.tpl index aa72bc9aa..85d9a12d3 100644 --- a/view/sv/register_verify_eml.tpl +++ b/view/sv/register_verify_eml.tpl @@ -1,17 +1,25 @@ -En registreringsförfrågan som kräver svar har mottagits -på $sitename +A new user registration request was received at {{$sitename}} which requires +your approval. -Här är inloggningsuppgifterna: -Fullständigt namn: $username -Webbplats: $siteurl -Användarnamn: $email +The login details are as follows: +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} -Gå till denna adress om du vill godkänna: -$siteurl/regmod/allow/$hash +To approve this request please visit the following link: -Gå till denna adress om du vill avslå förfrågan och ta bort kontot: -$siteurl/regmod/deny/$hash + +{{$siteurl}}/regmod/allow/{{$hash}} + + +To deny the request and remove the account, please visit: + + +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. diff --git a/view/sv/request_notify_eml.tpl b/view/sv/request_notify_eml.tpl index 893bce17c..d01b8ff27 100644 --- a/view/sv/request_notify_eml.tpl +++ b/view/sv/request_notify_eml.tpl @@ -1,13 +1,17 @@ -$myname, -Du har just fått en kontaktförfrågan på $sitename från '$requestor' +Dear {{$myname}}, -Profilen finns på $url. +You have just received a connection request at {{$sitename}} -Logga in för att se hela förfrågan och godkänna eller -avslå den. +from '{{$requestor}}'. -$siteurl +You may visit their profile at {{$url}}. -Hälsningar, -$sitename admin +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/sv/update_fail_eml.tpl b/view/sv/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/sv/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file |