change the program not to process the same transaction
change the program to prevent addition
「しないようにする」を直訳とすると"not to do ~"です。ただ、英語的には肯定文で書くほうが一般的なのかなと思います。例えば、"prevent"等、ネガティブなニュアンスの動詞を使ってみると良いでしょう。
全くの余談ですが、「できればしたくないのですが」という表現を紹介します。確か、有名なアメリカ文学でこのフレーズを連発する人がいました。プログラムは仕事を選べませんけどね。
"Let's go have a dinner."
"I would rather not to."
"Okay, I'll cook something. Can you clear the table?"
"I would rather not to."
We modified the program so that it won't run the same process more than once.
We modified the program so that it won't add the values.
こんにちは!
ご質問ありがとうございます。
ご質問について、いくつか言い方が考えられますが、例えば、
We modified the program so that it won't run the same process more than once.
とすると、「重複実行しないように[プログラム](https://eikaiwa.dmm.com/uknow/questions/131984/)を変更しました。」となります。
We modified the program so that it won't add the values.
とすると、「加算しないようにプログラムを変更しました。」となります。
役に立ちそうな単語とフレーズ
modify the program プログラムを変更する
so that ~するように
run the same process more than once 同じ処理を重複実行する
add the values 値を加算する
参考になれば幸いです。