Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Errors in the German files (Read 3874 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Errors in the German files
Jul 23rd, 2014 at 10:57am
Mark & QuoteQuote  
If you want to mark topics read, it does not work in the German files. I must have missed something somewhere. Where can I find the files in the language? In English it works.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Errors in the German files
Reply #1 - Jul 23rd, 2014 at 1:08pm
Mark & QuoteQuote  
That's in Menu.lng
'300' => 'Mark Topics as Read', (doesn't change)
'452' => 'Mark All Posts as Read',
'627' => 'Mark as Unread',

In German
'300' => 'Themen als gelesen markieren',
'452' => 'ALLE Beiträge als gelesen markieren',
'627' => 'Thema als ungelesen markieren',

I'll check and see if I can see what else might be happening there.

Edited:
MSIE 11 indicates an issue with the 'brd_new' call in Micon.def - looking into it.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Errors in the German files
Reply #2 - Jul 23rd, 2014 at 1:56pm
Mark & QuoteQuote  
Okay - it's not a problem with the German files. I think it's another problem with Subboards.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Errors in the German files
Reply #3 - Jul 23rd, 2014 at 2:01pm
Mark & QuoteQuote  
I think I've been misunderstood. In English it works. So the fault must lie in the German language files somewhere. When I click on a button, yes I solve some of something. So there must be a link somewhere in the language files is wrong. But where?
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Errors in the German files
Reply #4 - Jul 23rd, 2014 at 3:06pm
Mark & QuoteQuote  
'Mark all Topics Read' isn't working here in English either - the rotating gif in the pop-up comes up but the new button doesn't disappear until you reload the page. I know what the problem is, but it may take a bit to fix it - there's a 'disconnect' between the 'new' new button and the javascript that turns it off.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Errors in the German files
Reply #5 - Jul 23rd, 2014 at 3:52pm
Mark & QuoteQuote  
Now I understand why it worked in English. Okay. Is it not a problem in the language files. And I thought .....!!
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Errors in the German files
Reply #6 - Jul 23rd, 2014 at 4:03pm
Mark & QuoteQuote  
Dandello wrote on Jul 23rd, 2014 at 3:06pm:
'Mark all Topics Read' isn't working here in English either - the rotating gif in the pop-up comes up but the new button doesn't disappear until you reload the page. I know what the problem is, but it may take a bit to fix it - there's a 'disconnect' between the 'new' new button and the javascript that turns it off.


You need to edit both MarkFinished in ajax.js and Micon.def ... MarkFinished only looks for <img> tags, which won't work with css buttons.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Errors in the German files
Reply #7 - Jul 23rd, 2014 at 4:38pm
Mark & QuoteQuote  
Code
Select All
 Index: cgi-bin/yabb2/Templates/default/Micon.def
 ===================================================================
 --- cgi-bin/yabb2/Templates/default/Micon.def	(revision 1514)
 +++ cgi-bin/yabb2/Templates/default/Micon.def	(working copy)
 @@ -59,7 +59,7 @@
  'tabdel' => qq~<img src="$imagesdir/tabdelete.gif" alt="$tabmenu_txt_m{'tabdel'}" title="$tabmenu_txt_m{'tabdel'}" />~,
  'tabadd' => qq~<img src="$imagesdir/tabadd.gif" alt="$tabmenu_txt_m{'newtab'}" title="$tabmenu_txt_m{'newtab'}" />~,
  'tabedit' => qq~<img src="$imagesdir/tabedit.gif" alt="$tabmenu_txt_m{'edittab'}" title="$tabmenu_txt_m{'edittab'}" />~,
 -'new' => qq~<span style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
 +'new' => qq~<span class="NewLinks" style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
      background-repeat: no-repeat;">
      <span style="background-image: url($imagesdir/new-r.png); height:11px; display: inline-block; vertical-align:baseline; padding: 0 2px 0 0; background-position: right top;
      background-repeat: no-repeat;">
 @@ -66,7 +66,6 @@
          <span style="background-image: url($imagesdir/new-c.png); background-color:#0895d7; color:#fff; font-size:8px; height:11px; display: inline-block; vertical-align:top; padding: 0 2px" title="$messageindex_txt_m{'302'}"><b><i>$messageindex_txt_m{'302'}</i></b></spa
n>
          </span>
      </span>~,
 -'new2' => qq~<img src="$imagesdir/new.gif" alt="$messageindex_txt_m{'302'}" title="$messageindex_txt_m{'302'}" />~,
  'sort_first' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_first'}" title="$messageindex_sort_m{'sort_first'}" />~,
  'sort_up' => qq~<img src="$imagesdir/sort_up.gif" alt="$messageindex_sort_m{'sort_za'}" title="$messageindex_sort_m{'sort_za'}" />~,
  'sort_down' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_az'}" title="$messageindex_sort_m{'sort_az'}" />~,
 @@ -149,9 +148,9 @@
  'eventprivate' => qq~<img src="$imagesdir/eventprivate.gif" alt="$var_cal_m{'calprivate'}" />~,
  'modify' => qq~<img src="$imagesdir/modify.png" alt="$var_cal_m{'caledit'}" title="$var_cal_m{'caledit'}" />~,
  'delete' => qq~<img src="$imagesdir/delete.gif" alt="$var_cal_m{'caldel'}" title="$var_cal_m{'caldel'}" />~,
 -'eventmore' => qq~<img  src="$imagesdir/eventmore.gif" alt="" />~,
 -'eventmorebd' => qq~<img  src="$imagesdir/eventmore.gif" alt="$var_cal_m{'calbirthdays'}" />~,
 -'eventmoreadd' => qq~<img  src="$imagesdir/eventmore.gif" alt="$var_cal_m{'getaddevent'}" />~,
 +'eventmore' => qq~<img src="$imagesdir/eventmore.gif" alt="" />~,
 +'eventmorebd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'calbirthdays'}" />~,
 +'eventmoreadd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'getaddevent'}" />~,
  'eventinfo' => qq~<img src="$imagesdir/eventinfo.gif" alt="$var_cal_m{'eventinfo'}" />~,
  'eventinfobd' => qq~<img src="$imagesdir/eventinfobd.gif" alt="" />~,
  'eventannounce' => qq~<img src="$yyhtml_root/EventIcons/eventannounce.gif" alt="$var_cal_m{'eventannounce'}" />~,
 @@ -223,7 +222,7 @@
  );

  %newload = (
 -'new_mess' => qq~<span style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
 +'new_mess' => qq~<span class="NewLinks" style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
      background-repeat: no-repeat;">
      <span style="background-image: url($imagesdir/new-r.png); height:11px; display: inline-block; vertical-align:baseline; padding: 0 2px 0 0; background-position: right top;
      background-repeat: no-repeat;">
 @@ -244,7 +243,6 @@

  $newload = qq~
          <script type="text/javascript">
 -        var new_mess = "$newload{'new_mess'}";
          var brd_new = "$newload{'brd_new'}";
          var brd_old = "$newload{'brd_old'}";
          var sub_brd_new = "$newload{'sub_brd_new'}";
 Index: public_html/yabbfiles/ajax.js
 ===================================================================
 --- public_html/yabbfiles/ajax.js	(revision 1514)
 +++ public_html/yabbfiles/ajax.js	(working copy)
 @@ -165,9 +165,6 @@
              else if (src.match(imclose2)) {
                  images[i].setAttribute("src",src.replace(imclose2,imopen2));
              }
 -            else if (src.match(new_mess)) {
 -                images[i].style.display = "none";
 -            }
          }
          var newlinks = document.getElementsByTagName("span");
          for (var e=0; e<newlinks.length; e++) {
 @@ -777,4 +774,4 @@
              xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
          }
      } catch (e) { }
 -}
 +}
  

  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Errors in the German files
Reply #8 - Jul 23rd, 2014 at 5:27pm
Mark & QuoteQuote  
Yeah - I realized what the problem was while out to breakfast.  Grin
Thanks to Pyragony for noticing and Monni for coming up with a fix.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Errors in the German files
Reply #9 - Jul 23rd, 2014 at 5:31pm
Mark & QuoteQuote  
Dandello wrote on Jul 23rd, 2014 at 5:27pm:
Yeah - I realized what the problem was while out to breakfast.  Grin
Thanks to Pyragony for noticing and Monni for coming up with a fix.


This time I wasn't listening to Céline Dion  Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Errors in the German files

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry