Oct. 30th, 2009

denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise
If you accidentally leave a single invisible control character on a blank line in en.dat, you will get horrible errors, like so:

[Error: /dreamhack/home/8083-rahaeli/dw/bin/upgrading/en.dat:3195: Bogus format. at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Lang.pm line 565 ]
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
[personal profile] ninetydegrees
So I know how to change a user's capabilities with admin/capedit but how do you create a paid or a seed account or upgrade a free one? I'm asking because some things don't display as a permanent user would see them (in my particular case if was the links on http://www.dreamwidth.org/shop).

A: Go to Admin/Payments.
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise
I've caught myself typing this out to people several times, so, into [site community profile] dw_dev_training it goes:

In general, if you're updating the value of a text string in a .text file or in en.dat, you need to change the name of the string.

The reason for this is -- in order to not undo the site copy team's hard work -- we don't allow updates from cvs to overwrite the existing text on the site, because then the 'old' values would overwrite the values that had been changed on the site. (This is because the translation system is horrible, horrible, horrible.)

So, if you've got:

.string.foo=Bar!

and you want to change it to:

.string.foo=Baz!

you would instead change it to:

.string.foo2=Baz!

and update the BML::ml calls to use the new string name.

Profile

dw_dev_training: The stylised 'd', with the word 'dev' above, and the word 'training' at the side, representing the dw_dev_training comm. (Default)
Dreamwidth Development Training

September 2022

S M T W T F S
    123
45678910
1112131415 1617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 05:15 am
Powered by Dreamwidth Studios