Modify ↓
Opened 14 years ago
Closed 14 years ago
#8005 closed defect (fixed)
[patch] get_htdocs_dirs() method should return a unique prefix
Reported by: | Jun Omae | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | low | Component: | DataSaverPlugin |
Severity: | normal | Keywords: | i18n |
Cc: | Trac Release: | 0.12 |
Description
DataSaverModule.get_htdocs_dirs returns 'htdocs'
as prefix. The 'htdocs'
is a very common word.
I think that DataSaverPlugin
should use datasaver
. datasaver-prefix.diff
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | datasaver-prefix.diff added |
---|
comment:1 Changed 14 years ago by
Keywords: | i18n added |
---|---|
Status: | new → assigned |
Summary: | DataSaverModule.get_htdocs_dirs should return a unique prefix → [patch] get_htdocs_dirs() method should return a unique prefix |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [9406]) DataSaverPlugin: Correct indesired i18n namespace, closes #8005.
Thanks to Jun Omae for finding this and suggesting the solution right away.
Note: See
TracTickets for help on using
tickets.
Replying to jun66j5:
I think this too, as this is a universal rule, not only for DataSaverPlugin.
Thanks for catching this as is was certainly done by me by mistake. Must have been to busy looking for the special JS i18n implementation details for this plugin, so overlooked this.
No harm done by now, but if more plugins would resort to the unintended «htdocs» namespace, this could cause nasty effects. I'll fix it right away, before someone else copies this for his/her own plugin.