Skip to content

Update sm_map behavior to better reflect FindMap/GetMapDisplayName results#588

Merged
KyleSanderson merged 2 commits intoalliedmodders:masterfrom
FlaminSarge:fuzzyMap
Mar 13, 2017
Merged

Update sm_map behavior to better reflect FindMap/GetMapDisplayName results#588
KyleSanderson merged 2 commits intoalliedmodders:masterfrom
FlaminSarge:fuzzyMap

Conversation

@FlaminSarge
Copy link
Contributor

@FlaminSarge FlaminSarge commented Feb 17, 2017

sm_map now makes use of GetMapDisplayName in the same way that sm_setnextmap did in #354

sm_map and its menu now use PLATFORM_MAX_PATH for map name buffer size instead of 64

nominations has a new message for when a map is found, but not available in the nominations pool (to differentiate it from the map not being found at all)

sm_setnextmap now uses ShowActivity2

@psychonic
Copy link
Member

Looks okay to me. My only hesitation is adding a new translation phrase. We've not had any new ones since switching to a rolling release model, and I'm not sure that we have a great way at the moment to ask for updated phrases.

Regardless, I suppose an accurate English phrase is better than a incorrect localized one here, so not a huge deal as-is.

@asherkin ?

@FlaminSarge
Copy link
Contributor Author

Any concerns with the actual language of the phrase?

@psychonic
Copy link
Member

Nope.

@FlaminSarge
Copy link
Contributor Author

Do any further changes need to be made to this?

@KyleSanderson
Copy link
Member

It's just the translation phrase that has a hang-up as we haven't added one to my knowledge since switching to the rolling model (and atleast a year prior to that, iirc). If these were split into two separate PRs, only one would be pending.

@FlaminSarge
Copy link
Contributor Author

I can pull out the changes to nominations.sp and its i18n, then, but basically the issue is that there's no good way set up for telling people 'hey we need translations for this new thing'? What was the old setup, again?

@FlaminSarge
Copy link
Contributor Author

Pulled out the nominations commit pending the discussion on how to get translations done.

@FlaminSarge FlaminSarge changed the title Update sm_map and nominations behavior to better reflect FindMap/GetMapDisplayName results Update sm_map behavior to better reflect FindMap/GetMapDisplayName results Mar 11, 2017
@KyleSanderson KyleSanderson merged commit 3f21fa4 into alliedmodders:master Mar 13, 2017
@KyleSanderson
Copy link
Member

Sorry, I thought I pulled this two days ago. Thanks FS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants