raingart / Nova-YouTube-extension

Apache License 2.0
198 stars 9 forks source link

Error warnings in "chrome://extensions/?errors=" / Broken UI for German lang #110

Closed big-cat-loaf closed 8 months ago

big-cat-loaf commented 8 months ago

www.youtube.com-1698313189213.log www.youtube.com-1698313157394.log (could be from outher extensions) Screenshot 2023-10-26 115023 6872a89) Screenshot 2023-10-26 115009 Screenshot 2023-10-26 114952 Screenshot 2023-10-26 115050

raingart commented 8 months ago

Uncaught Error: Extension context invalidated. - occurs when the connection between context scripts (those that are loaded on the current page of the site) and background (which loads them) is lost. For example, you reloaded the extension without reloading the page

Unrecognized manifest key 'browser_specific_settings'. - indicates unrecognized Chromium parameters that are used exclusively in Firefox

setVideoCount channelld: empty undefined - exception in plugin [channel-videos-count]. indicating that the plugin did not find channel_id on the page. A mistake I know. I don't want to fix it. So the only solution is to specify the delay in ms. For example, wait 1sec and hope that the channel_id parameter appears. There is no reliable way other than constantly monitoring the presence of this parameter.

Pattern attribute value ^(AlzaSy)[\d\w-]+ is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /^(AlzaSy)[\d\w-]+/v: Invalid character class - The key you entered does not match the mask I know. Can you send it to me? For example, by email or here

big-cat-loaf commented 8 months ago

thanks for your response I can't reproduce my bug but it could be cause because I use ÖÜÄ or my keyboard is German keyboardlayout.

raingart commented 8 months ago

If there are errors or any suggestions please write here p.s. is the translation into German at least a little clear? Or is it better to remove it?

big-cat-loaf commented 8 months ago

I normaly use the English version and well the German version is bit weard, like somethimes the the translation doesn't make sense and english is in the middle and the explantions are in English. Screenshot 2023-10-26 145006

big-cat-loaf commented 8 months ago

For the App please make wenn you view the parts of the app from a other page it shouldn't look like half cut of. Screenshot 2023-10-26 145416

raingart commented 8 months ago

I haven't found a better way to fix the localization problem than simply replacing the "long words" in German with English. In these lines: https://github.com/raingart/Nova-YouTube-extension/blob/master/_locales/de/messages.json#L27-L33

It was possible to reduce the number of characters and add "..." at the end. But I'm not sure about the readability of this option.

@big-cat-loaf you don’t know how you can briefly shorten the words above in German. Perhaps there are synonyms or abbreviations?

p.s. you can temporarily use the extension version. There, due to implementation problems, only plugins are localized. The basic interface remains in English

big-cat-loaf commented 8 months ago

There is not really, to my knowledge, a good way to shorten long words, it is in the Nature of German to have long Words, since the we compained with 2 words to one that can only bypassed by making a santance out of it and for other Grammatical reason. But Im not an Expert in my language, so I could be wrong.

raingart commented 8 months ago

I left the English localization of the "SAVE" button