mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 23:28:41 +00:00
Added the choice between formal and informal address to the whole app (#1200)
This commit is contained in:
1 parent
382db4b8d0
commit
c9a376f742
342 files changed
+14378
-1893
No files matched your search
@@ -11,6 +11,8 @@ internal static class ERIServerFileOutcomeExtensions
|
||||
{
|
||||
private static string TB(string fallbackEN) => Tools.PluginSystem.I18N.I.T(fallbackEN, typeof(ERIServerFileOutcomeExtensions).Namespace, nameof(ERIServerFileOutcomeExtensions));
|
||||
|
||||
private static string TA(string fallbackEN) => Tools.PluginSystem.I18N.I.TA(fallbackEN, typeof(ERIServerFileOutcomeExtensions).Namespace, nameof(ERIServerFileOutcomeExtensions));
|
||||
|
||||
/// <param name="outcome">What became of the file.</param>
|
||||
extension(ERIServerFileOutcome outcome)
|
||||
{
|
||||
@@ -25,7 +27,7 @@ internal static class ERIServerFileOutcomeExtensions
|
||||
private static string ToUserMessageFormat(ERIServerFileOutcome outcome) => outcome switch
|
||||
{
|
||||
ERIServerFileOutcome.OUTSIDE_BASE_DIRECTORY => TB("The file '{0}' was not written, because its path leads outside the base directory."),
|
||||
ERIServerFileOutcome.NO_COMPLETE_CODE_BLOCK => TB("The file '{0}' was not written, because the answer of the model contains no complete code block for it. You find the answer in the conversation."),
|
||||
ERIServerFileOutcome.NO_COMPLETE_CODE_BLOCK => TA("The file '{0}' was not written, because the answer of the model contains no complete code block for it. You find the answer in the conversation."),
|
||||
ERIServerFileOutcome.WRITE_FAILED => TB("The file '{0}' could not be written. The log of AI Studio names the reason."),
|
||||
|
||||
_ => TB("The file '{0}' was not written."),
|
||||
|
||||
Reference in new issue
Block a user