Jump to content

About Collections - ES 4790


Go to solution Solved by Happy2Play,

Recommended Posts

Posted (edited)

Hi,
I tried to locate in the Strings folder the file to translate the term Coletâneas but I couldn't find it.
Is it possible to get a code that allows translating, change the text "Collections"?
I would like to be able to edit the "Live TV" text as well.
Thanks

Screenshot.png

Edited by CarlosLima
Happy2Play
Posted

Looks like it is \system\dashboard-ui\modules\common\strings

"Collections": "Colet\u00e2neas",

Happy2Play
Posted

Otherwise we would have to target specific data-id.

Posted
7 minutes ago, Happy2Play said:

Looks like it is \system\dashboard-ui\modules\common\strings

"Collections": "Colet\u00e2neas",

Hi thanks.
Yes I found this and in my case it is
It looks like \system\dashboard-ui\modules\common\strings\pt-BR.json
But when changing nothing happens.
I got the live tv but it only translates in Latest and does not translate in the My Media (Small)

Happy2Play
Posted (edited)

Doesn't really apply to the library translations

Settings-Library

image.png.3e7d42770ebb46e884b83e80de38bd58.png

  "Collections": "Collections TEST 123",

But will assume if you wanted this you would have target 4 different locataions for css.  My Media normal and Small, inside the library (page title) and Settings-Library.

But I just shut down Emby edited the library option.xml, started Emby and did a Library scan as this library does not have a Rename option and 

image.png.b7053ce318d6fa483c39e60b0cd67172.png

Settings-Library

image.png.47be6254fabc791938b6cf381070bd36.png

image.png.c781f6b0234e9e12168d335f35840db8.png

 

 

Edited by Happy2Play
Posted

Its efficiency is incredible.
Yes, I got it.
I will apply. Thank you very much.

Happy2Play
Posted

Pretty sure this is related to Name is written at the time of creation but guess it should have Rename option like other libraries.  @Luke

Posted

I followed your tips. It worked, that is, it changed the title in the library, however it did not change the title in My Media (Small)
The system should allow editing of both.

Thanks for listening.

Screenshot.png

  • Solution
Happy2Play
Posted
1 hour ago, CarlosLima said:

I would like to be able to edit the "Live TV" text as well.

Looks like everything but Name can be edited via Strings.  But don't see anywhere this can be edited so far.

A quick name change in the database or CSS targeting the data-id (Need to find your data-id), but limited to that view.

/*Change text*/
div.homeSectionsContainer .section0 [data-id="5"] .cardText-first {
	text-indent: -9999px;
	line-height: 0;
}

div.homeSectionsContainer .section0 [data-id="5"] .cardText-first:after {
	content: "My LIVE TV";
	text-indent: 0;
	display: block;
	line-height: initial;
}

image.png.07aada5c3c4c6e8943c969b492d90c72.png

Posted

(Need to find your data-id)

 

I can't find it on the console.

Happy2Play
Posted (edited)

Testing to many different things at once.

Shutdown Emby renamed Collection Folder and Name in options.xml, started Emby and library scan.  Some reason didn't have to do folder the first time.

image.png.6c491949a1846a62f8cad5f2a35c39df.png

image.png.3017083f069c2ed3f973d95a5a53bd23.png

image.png.8e199cbff56b4d01c18bc12941e2d60c.png

7 minutes ago, CarlosLima said:

(Need to find your data-id)

 

I can't find it on the console.

Looks like data-id=4 for LiveTV and data-id=16215 for Collections.

image.png.941fe89bc5d526fa96168ff2fc44836d.png

Edited by Happy2Play
Happy2Play
Posted
7 minutes ago, CarlosLima said:

Id: 4

image.png.aca782ac24b623258dc9ef691fa9a6ae.png

Posted

I managed to make Live TV work in My Media Small, mine has different parameters.


section1 [data-id="4"]

Screenshot.png

Posted

Now everything is beautiful and perfect.
Thank you very much for all your dedicated time.

Screenshot.png

Screenshot2.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...