Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Invoice title does not translate
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Invoice Osclass Plugin
Invoice title does not translate
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
piter
104 posts
Invoice title does not translate
«
on:
March 07, 2019, 08:22:54 PM »
Invoice title translation in .po file does not have effect on generated pdf (always says Invoice).
Something not right here:
./plugins/invoice/form/invoice.php on line 79
Code:
[Select]
<?php
echo (
$inv
[
's_title'
] <>
''
?
$inv
[
's_title'
] :
__
(
'Invoice'
,
'invoice'
));
?>
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Invoice title does not translate
«
Reply #1 on:
March 08, 2019, 02:20:51 AM »
Invoice is just default string, once you save it it is stored.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
piter
104 posts
Re: Invoice title does not translate
«
Reply #2 on:
March 08, 2019, 03:01:31 PM »
I am sorry but I am confused.
'INVOICE' lang phrase printed in top right corner of the invoice is in messages.po and there is a hook to the code I quoted.
But translation doesnt work because code form line 79 does not read properly this phrase translation from .po file.
I am not sure what you mean saying
once you save it it is stored
?
«
Last Edit: March 08, 2019, 03:14:10 PM by piter
»
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Invoice title does not translate
«
Reply #3 on:
March 08, 2019, 03:13:34 PM »
@piter
Once you save it, it saves what you put there no matter what language will be used.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
piter
104 posts
Re: Invoice title does not translate
«
Reply #4 on:
March 08, 2019, 03:17:22 PM »
@MBT, please check my previous message because I just edited it when you posted your reply.
Still, not sure what you meant
Once you save it, it saves
what you put there
. Yes 'there' - you mean where?? It is in .po file :-)
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Invoice title does not translate
«
Reply #5 on:
March 08, 2019, 03:24:43 PM »
@piter
Into invoice.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
piter
104 posts
Re: Invoice title does not translate
«
Reply #6 on:
March 08, 2019, 11:55:06 PM »
Oh I found it now but purely by random,
Please add some frame around this textarea as with other editable elements.
Otherwise it's not so obvious that this phrase can be edited ... :-)
Thanks
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Invoice title does not translate
«
Reply #7 on:
March 09, 2019, 10:35:06 AM »
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]