curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2068] [Mantis 2105] Impossible to remove the space after an article #16

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : Natrium729

Description :

In languages other than English, we sometime have to use custom articles and remove the spacing after them.

According to the DM4 (page 272), it should be done using the Inform 6 property "articles". But Inform 7 still prints the space because a space (that was not here in I6) was added in the "PrefaceByArticle" routine.

I replaced that part of the template in the French extension, but I think that there is no reason to have this space and that it would be better to remove it from the template.

Steps to reproduce :


Additional information :

This intfiction.org topic for more detail:
https://intfiction.org/t/removing-the-space-after-an-article-definite-and-undefinite/41251

imported from: [Mantis 2105] Impossible to remove the space after an article
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-10T04:38:11+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

Fixed via this commit:
https://github.com/ganelson/inform/commit/3cf5334e2968c5082ee328f248a5e5af5a4a0b68

Comment by Graham Nelson:
I agree with Natrium729. It doesn't really affect most I7 users because the "articles" property isn't much used, but the spaces ought to be in the property, so I've made the change Natrium729 proposed.