Skip to main content
Topic: German language files (informal) for 1.1.9 (Read 559 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: German language files (informal) for 1.1.9

Reply #30

That is a php 8 :bug:  that you found :cry:

There are two bugs
line 2035 reads $js_rules = ''; and needs to be $js_rules = [];
line 2043 reads $js_labels = ''; and needs to be $js_labels = [];

 

Re: German language files (informal) for 1.1.9

Reply #31

Don't cry, Spuds

Noone is using this for sure....at least my members don't....

There is the entire part missing for creating rules on the new server....i just compared it with my "old forum"

Re: German language files (informal) for 1.1.9

Reply #32

@Spuds

I dared to try this changings now. This section for creating rules is there now  and it seems to work.
But I cannot complete this action with rules and labels completly.
The name of the rule has to be now in such [NAME] if i create a new one? (see screenshot)

rules.jpg





There is another error now in the log in PersonalMessage.controller.php on line 2186
it says: Warning: A non-numeric value encountered
Code: [Select]
if ($type === 'lab' && (!isset($this->_req->post->labdef[$ind]) || !isset($context['labels'][$this->_req->post->labdef[$ind] - 1])))


Re: German language files (informal) for 1.1.9

Reply #33

[NAME] can be whatever the user chooses, perhaps Enter a name  or Enter a name for the rule would be more useful.  That default is stored in $txt['pm_rule_name_default']  in the PersonalMessage language file.

Quote from: Ruth – There is another error now in the log in PersonalMessage.controller.php on line 2186
Try the attached version and see if that fixes that error.

Re: German language files (informal) for 1.1.9

Reply #34

Thank you very much, Spuds!

There are no more errors in the log now.
I can create new rules unlimited and also without this [ ] "brackets" surrounding their names. (This i meant before)

But I can only create one Label. I can change the name of it, but there will be just one Label?

Re: German language files (informal) for 1.1.9

Reply #35

You should be able to

- enter a name in the box that says label name (in the lower section)
- then click the add new label button.

Re: German language files (informal) for 1.1.9

Reply #36

I cannot type there in this lower section - no cursor, no reaction.

Re: German language files (informal) for 1.1.9

Reply #37

Oh sorry, Spuds.... :embarrassed:

I just saw it on the screenshot here, that there is a small field in the middle of this lower section.

I have very bad eyes and did not see it on forum first
I tried to type more left first. :rolleyes:

PM_Labels.jpg

Creating of more labels is working and I can use them for the rules.
No more errors in the log. :smiley:  Thank you very much!



This field for new labels is a lot easier to see here for me.  I uploaded your file there now as well.
Last Edit: March 20, 2023, 04:48:36 pm by Ruth

Re: German language files (informal) for 1.1.9

Reply #38

I agree its not a great layout.

In 2.0 I'll at least move the button next to the text/label input box, that should help.

Re: German language files (informal) for 1.1.9

Reply #39

Yes... :smiley:

I changed this string for new rules in PersonalMessage.german.php right now:

Code: [Select]
$txt['pm_rule_name_default'] = '[hier den neuen Regel-Namen eingeben]';

Re: German language files (informal) for 1.1.9

Reply #40

I hope, that this is not another bug....

I am working on the permission file at the moment. While controlling everything on test forum I noticed,
that this button "edit all" on the top and the bottom in this list of all boards does not react anymore?

Re: German language files (informal) for 1.1.9

Reply #41

Its another bug:bug:

Introduced in 1.1 Beta 2  :huh:

Replace your admin.js (in themes/default/scripts) with the attached one