RefugeRestrooms / refugerestrooms

REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
http://www.refugerestrooms.org
GNU Affero General Public License v3.0
894 stars 261 forks source link

Weird nesting for locale folder? #437

Closed Intimaria closed 6 years ago

Intimaria commented 6 years ago

Hi, I noticed this just now as I was looking through the code, the en folder is oddly nested withing the locales folder (image attached). I did notice it in the Spanish-1 branch when I was looking to merge the reviewed translations but I thought it was an error. It's a minor issue, but wondering is this an error or is it the correct setup?

weirdlocalefolder

mi-wood commented 6 years ago

@Intimaria are you referring to the fact that the en appears on this page rather then once locales is clicked? This is the default behavior for GitHub when only one subfolder exists

DeeDeeG commented 6 years ago

Yes, GitHub is just trying to save you the effort of clicking into locales only to find there is nothing there but another folder, en.

If you imagine this long set of folders with nothing in them but other folders:

Folder -> subfolder-1 -> subfolder2 -> subfolder3 -> subfolder4 / some file.txt

GitHub would just show this as Folder/subfolder1/subfolder2/subfolder3/subfolder4, and when you clicked on it you could view some file.txt without having to click 5 times to get there.

Intimaria commented 6 years ago

Oops, my bad. Sorry. I think I’m a bit burnt out! I’ll close this now.

DeeDeeG commented 6 years ago

No worries, and I hope you can have a rest if you need it!