Windows manages these aliases in the Registry. You can find the mapping here:
It ensures that every "OK" button and "Cancel" menu looks the same across different applications. ms shell dlg 2
Understanding MS Shell Dlg 2: The Invisible Architect of Windows UI Windows manages these aliases in the Registry