Either way, the word is hardly vulgar at all and would be the equivalent of ‘darn!’ in English. This is a particularly unusual expression for a non-French speaker. It literally translates to ...
Scots Gaelic, Irish Gaelic and Welsh have masculine and feminine nouns, as do most other European and Indian languages such as French, Spanish, German, Polish, and Hindi.