change language text of notification of filedownload

Phoca Download - download manager
mentil
Phoca Member
Phoca Member
Posts: 14
Joined: 30 Jul 2013, 22:49

change language text of notification of filedownload

Post by mentil »

hello communitiy,

i would like to change the text of notification of ile download:

File downloaded

Website: Blue Danube Chapter Austria H.O.G. #9977 - Join The Chosen Few - BDCA
Date: Sonntag, 18. Januar 2015 00:49
IP: 91.113.97.102

Nachricht:


File "nachruf-karl_schagerl.pdf" was downloaded by Anonymous.

Regards,
Blue Danube Chapter Austria H.O.G. #9977 - Join The Chosen Few - BDCA

thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: change language text of notification of filedownload

Post by Jan »

Hi, you can change the strings in string ini file - in your case - the german files:

administrator/language/de-DE/de-DE.com_phocadownload.ini
language/de-DE/de-DE.com_phocadownload.ini

Jan
If you find Phoca extensions useful, please support the project
mentil
Phoca Member
Phoca Member
Posts: 14
Joined: 30 Jul 2013, 22:49

Re: change language text of notification of filedownload

Post by mentil »

sorry - no such string in my file:

; @package Joomla.Framework
; @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
; @license GNU General Public License version 2 or later; see LICENSE.txt
;
; @component Phoca Component
; @copyright Copyright (C) Jan Pavelka www.phoca.cz
; @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
;
; @test utf-8 ä, ö, ü
;

;[3.0.3]
COM_PHOCADOWNLOAD_BROWSER_DOES_NOT_SUPPORT_AUDIO_VIDEO_TAG="Ihr Browser unterstützt das Audio/Video Tag nicht"
COM_PHOCADOWNLOAD_FIELD_HTML5_AUDIO_VIDEO_LABEL="HTML5 Audio/Video"
COM_PHOCADOWNLOAD_FIELD_HTML5_AUDIO_VIDEO_DESC="Wählen Sie 'Ja', um den HTML 5 Player für Audio and Video zu aktivieren"
;[3.0.2]
COM_PHOCADOWNLOAD_FIELD_ENABLE_TOKEN_DOWNLOAD_LABEL="'eindeutiger Downloadlink' aktivieren"
COM_PHOCADOWNLOAD_FIELD_ENABLE_TOKEN_DOWNLOAD_DESC="ein- oder ausschalten der 'eindeutiger Downloadlink' Funktion (Download mit Sicherheitspassphrase)"
COM_PHOCADOWNLOAD_MAX_LIMIT_DOWNLOAD_TOKEN_REACHED="Datei kann nicht heruntergeladen werden. Das maximale Downloadlimit für diese Datei wurde erreicht."
COM_PHOCADOWNLOAD_FIELD_MAX_COUNT_TOKEN_DOWNLOADS_DESC="Legen Sie fest, maximal wieviel Mal eine Datei per 'eindeutiger Downloadlink' heruntergeladen werden darf. Beachten Sie, 0 (Null) bedeutet, es gibt kein Limit. Dieses Limit betrifft nur die 'eindeutiger Downloadlink' Funktion."
COM_PHOCADOWNLOAD_FIELD_MAX_COUNT_TOKEN_DOWNLOADS_LABEL="Maximale Anzahl an Downloads pro Datei (eindeutiger Downloadlink)"
COM_PHOCADOWNLOAD_URL_FORMAT_DEPENDS_ON_SEF="Der Link kann, abhängig von den von Ihnen verwendeten SEF Einstellungen, unterschiedlich aussehen"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: change language text of notification of filedownload

Post by Jan »

Hi, can you paste a screenshot (e.g. per imgur) which message you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
mentil
Phoca Member
Phoca Member
Posts: 14
Joined: 30 Jul 2013, 22:49

Re: change language text of notification of filedownload

Post by mentil »

i woul dlike to have this text in german

see attachment


http://imgur.com/KROwYnO

thank you

text of e-mail:

File downloaded

Website: Blue Danube Chapter Austria H.O.G. #9977 - Join The Chosen Few - BDCA
Date: Samstag, 24. Januar 2015 14:11
IP: 188.22.244.96

Nachricht:

File "BDCA-Info_2015.pdf" was downloaded by Anonymous.

Regards,
Blue Danube Chapter Austria H.O.G. #9977 - Join The Chosen Few - BDCA
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: change language text of notification of filedownload

Post by Jan »

Hi, now I understand, the text in email. For now you can change it in:
administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php

Anyway, thank you for this question, I discovered, the language strings do not have the right format, so I will change it for the next version and since this, the strings will be in language file and the changed should be then done in the language file only.

Thank you, Jan
If you find Phoca extensions useful, please support the project
mentil
Phoca Member
Phoca Member
Posts: 14
Joined: 30 Jul 2013, 22:49

Re: change language text of notification of filedownload

Post by mentil »

Thank you - I love you ;-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: change language text of notification of filedownload

Post by Jan »

Hi, will be fixed in version 3.1.0
If you find Phoca extensions useful, please support the project
mentil
Phoca Member
Phoca Member
Posts: 14
Joined: 30 Jul 2013, 22:49

Re: change language text of notification of filedownload

Post by mentil »

Thank you.
Post Reply