x00Don't PM about development, I'm not currently taking on clientsMVP
normally you rename the skeleton file. it is called skeleton because it is an example.
There actually another two places, where translations can happen. Best leave anything in the applications folder. that is basically part of the core defaults. It gets replaced.
Where you put it depend on what you want. You don't have to pick one necessarily.
/conf/locale.php is totally global I prefer not use this personally.
/locales/ I use this, you can have several locales, perhaps your site is multinational and has a switcher. This is what you enable through the dashboard.
themes/theme_name/locale/ this is if you want terms to be linked to your theme, it might be that your theme has extra terminology that you want to be portable.
plugin/plugin_name/locale/ much like above, but for plugins
Don't PM about development, I'm not currently taking on clients.
I simply want to get rid of those pesky brakes around the forum name and discussion title.
At first glance I would say: Install firefox and the firebug plugin of firefox. Right click on for example your discussion title and click on "Inspect element" You will see in which CSS file your element is styled. Most likely it's the line-height that is the problem in this case.
Answers
I wouldnt change them there though, there are 3 other places to try (not sure which is best)
/applications/vanilla/locale/en-CA/definitions.php
/locales/skeleton/other_definitions.php
/conf/locale.php
all my translations are at /conf/locale.php. Good luck mate.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •There actually another two places, where translations can happen. Best leave anything in the applications folder. that is basically part of the core defaults. It gets replaced.
Where you put it depend on what you want. You don't have to pick one necessarily.
/conf/locale.php is totally global I prefer not use this personally.
/locales/ I use this, you can have several locales, perhaps your site is multinational and has a switcher. This is what you enable through the dashboard.
themes/theme_name/locale/ this is if you want terms to be linked to your theme, it might be that your theme has extra terminology that you want to be portable.
plugin/plugin_name/locale/ much like above, but for plugins
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •grep -R --include="*.php" "T('[^']*\[" for clues.
To override:
$Definition['[%1$s] %2$s']='%1$s %2$s';
$Definition['[%s] Invitation']='%s Invitation';
$Definition['[%1$s] Membership Approved']='%1$s Membership Approved';
$Definition['[%s] Welcome Aboard!']='%s Welcome Aboard!';
$Definition['[%s] Password Reset']='%s Password Reset';
$Definition['[%s] Password Reset Request']='%s Password Reset Request';
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •By default, when a user gets an email, the subject reads:
[My Forum Name] Change password blablablabla
Where "My Forum Name" is the correct name of my forum.
I simply want to remove the two brackets [ ] around my forum's name.
Would you know the exact file/line that I should edit to accomplish this? I can't find it for the life of me :)
Thanks!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I can't find anything like that are you sure you are not using a specific translation or plugin?
The only reference to Change Password is in profile.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •* Here's the subject:
[GM Authority Forum] WBodyFan commented on your discussion.
* And here's the body:
WBodyFan commented on your discussion.
[Do we really need the Trailblazer?]
This is where the comment text would go -- I've replaced it here to save space.
---
Follow the link below to check it out:
http://gmauthority.com/forum/discussion/comment/39#Comment_39
Have a great day!
* And that's the end of the email. I simply want to get rid of those pesky brakes around the forum name and discussion title.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Install firefox and the firebug plugin of firefox. Right click on for example your discussion title and click on "Inspect element"
You will see in which CSS file your element is styled.
Most likely it's the line-height that is the problem in this case.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@UnderDog this is email not styling.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •$Configuration['Garden']['Title']
and other plugin that you are suing.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Look for:
$Email->Subject(sprintf(T('[%1$s] %2$s'), Gdn::Config('Garden.Title'), $ActivityHeadline));
in aplications\dashboard\models\class.activitymodel.php
Or just search for [%1$s] , and replace the [ ] with your delimiter of choice.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •