Picasa is no longer supported, but Google now has Google Photos. Although it's not working, just rename the filenames from Picasa to Google Photos.

This commit is contained in:
Robin Krom 2021-03-20 20:28:33 +01:00
commit a9fd3b66b5
No known key found for this signature in database
GPG key ID: BCC01364F1371490
38 changed files with 829 additions and 836 deletions

View file

@ -43,7 +43,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotDropboxPlugin", "G
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotFlickrPlugin", "GreenshotFlickrPlugin\GreenshotFlickrPlugin.csproj", "{7EC72A5A-D73A-4B4B-9CA1-2216C7D92D5E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotFlickrPlugin", "GreenshotFlickrPlugin\GreenshotFlickrPlugin.csproj", "{7EC72A5A-D73A-4B4B-9CA1-2216C7D92D5E}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotPicasaPlugin", "GreenshotPicasaPlugin\GreenshotPicasaPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotGooglePhotosPlugin", "GreenshotGooglePhotosPlugin\GreenshotGooglePhotosPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotOfficePlugin", "GreenshotOfficePlugin\GreenshotOfficePlugin.csproj", "{92599C09-FF29-4ABD-B6E6-C48ECD781BAB}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotOfficePlugin", "GreenshotOfficePlugin\GreenshotOfficePlugin.csproj", "{92599C09-FF29-4ABD-B6E6-C48ECD781BAB}"
EndProject EndProject

View file

@ -1,5 +1,5 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
@ -20,7 +20,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotPicasaPlugin.Forms { namespace GreenshotGooglePhotosPlugin.Forms {
public class PicasaForm : GreenshotForm { public class GooglePhotosForm : GreenshotForm {
} }
} }

View file

@ -1,147 +1,147 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotPicasaPlugin.Forms { namespace GreenshotGooglePhotosPlugin.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.
/// </summary> /// </summary>
private System.ComponentModel.IContainer components = null; private System.ComponentModel.IContainer components = null;
/// <summary> /// <summary>
/// Disposes resources used by the form. /// Disposes resources used by the form.
/// </summary> /// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) protected override void Dispose(bool disposing)
{ {
if (disposing) { if (disposing) {
if (components != null) { if (components != null) {
components.Dispose(); components.Dispose();
} }
} }
base.Dispose(disposing); base.Dispose(disposing);
} }
/// <summary> /// <summary>
/// This method is required for Windows Forms designer support. /// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might /// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually. /// not be able to load this method if it was changed manually.
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton(); this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton();
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton(); this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
this.combobox_uploadimageformat = new GreenshotPlugin.Controls.GreenshotComboBox(); this.combobox_uploadimageformat = new GreenshotPlugin.Controls.GreenshotComboBox();
this.label_upload_format = new GreenshotPlugin.Controls.GreenshotLabel(); this.label_upload_format = new GreenshotPlugin.Controls.GreenshotLabel();
this.label_AfterUpload = new GreenshotPlugin.Controls.GreenshotLabel(); this.label_AfterUpload = new GreenshotPlugin.Controls.GreenshotLabel();
this.checkboxAfterUploadLinkToClipBoard = new GreenshotPlugin.Controls.GreenshotCheckBox(); this.checkboxAfterUploadLinkToClipBoard = new GreenshotPlugin.Controls.GreenshotCheckBox();
this.SuspendLayout(); this.SuspendLayout();
// //
// buttonOK // buttonOK
// //
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.buttonOK.LanguageKey = "OK"; this.buttonOK.LanguageKey = "OK";
this.buttonOK.Location = new System.Drawing.Point(267, 78); this.buttonOK.Location = new System.Drawing.Point(267, 78);
this.buttonOK.Name = "buttonOK"; this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.Size = new System.Drawing.Size(75, 23);
this.buttonOK.TabIndex = 10; this.buttonOK.TabIndex = 10;
this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.UseVisualStyleBackColor = true;
// //
// buttonCancel // buttonCancel
// //
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.LanguageKey = "CANCEL"; this.buttonCancel.LanguageKey = "CANCEL";
this.buttonCancel.Location = new System.Drawing.Point(348, 78); this.buttonCancel.Location = new System.Drawing.Point(348, 78);
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 11; this.buttonCancel.TabIndex = 11;
this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.UseVisualStyleBackColor = true;
// //
// combobox_uploadimageformat // combobox_uploadimageformat
// //
this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.combobox_uploadimageformat.FormattingEnabled = true; this.combobox_uploadimageformat.FormattingEnabled = true;
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12); this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat"; this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.PropertyName = "UploadFormat";
this.combobox_uploadimageformat.SectionName = "Picasa"; this.combobox_uploadimageformat.SectionName = "GooglePhotos";
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21); this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
this.combobox_uploadimageformat.TabIndex = 1; this.combobox_uploadimageformat.TabIndex = 1;
// //
// label_upload_format // label_upload_format
// //
this.label_upload_format.LanguageKey = "picasa.label_upload_format"; this.label_upload_format.LanguageKey = "googlephotos.label_upload_format";
this.label_upload_format.Location = new System.Drawing.Point(10, 18); this.label_upload_format.Location = new System.Drawing.Point(10, 18);
this.label_upload_format.Name = "label_upload_format"; this.label_upload_format.Name = "label_upload_format";
this.label_upload_format.Size = new System.Drawing.Size(181, 33); this.label_upload_format.Size = new System.Drawing.Size(181, 33);
this.label_upload_format.TabIndex = 4; this.label_upload_format.TabIndex = 4;
// //
// label_AfterUpload // label_AfterUpload
// //
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label_AfterUpload.LanguageKey = "picasa.label_AfterUpload"; this.label_AfterUpload.LanguageKey = "googlephotos.label_AfterUpload";
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51); this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
this.label_AfterUpload.Name = "label_AfterUpload"; this.label_AfterUpload.Name = "label_AfterUpload";
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29); this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
this.label_AfterUpload.TabIndex = 8; this.label_AfterUpload.TabIndex = 8;
// //
// checkboxAfterUploadLinkToClipBoard // checkboxAfterUploadLinkToClipBoard
// //
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "picasa.label_AfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "googlephotos.label_AfterUploadLinkToClipBoard";
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50); this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
this.checkboxAfterUploadLinkToClipBoard.SectionName = "Picasa"; this.checkboxAfterUploadLinkToClipBoard.SectionName = "GooglePhotos";
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17); this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2; this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true; this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
// //
// SettingsForm // SettingsForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(432, 110); this.ClientSize = new System.Drawing.Size(432, 110);
this.Controls.Add(this.checkboxAfterUploadLinkToClipBoard); this.Controls.Add(this.checkboxAfterUploadLinkToClipBoard);
this.Controls.Add(this.label_AfterUpload); this.Controls.Add(this.label_AfterUpload);
this.Controls.Add(this.label_upload_format); this.Controls.Add(this.label_upload_format);
this.Controls.Add(this.combobox_uploadimageformat); this.Controls.Add(this.combobox_uploadimageformat);
this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonOK);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.LanguageKey = "picasa.settings_title"; this.LanguageKey = "googlephotos.settings_title";
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "SettingsForm"; this.Name = "SettingsForm";
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
} }
private GreenshotPlugin.Controls.GreenshotComboBox combobox_uploadimageformat; private GreenshotPlugin.Controls.GreenshotComboBox combobox_uploadimageformat;
private GreenshotPlugin.Controls.GreenshotLabel label_upload_format; private GreenshotPlugin.Controls.GreenshotLabel label_upload_format;
private GreenshotPlugin.Controls.GreenshotButton buttonCancel; private GreenshotPlugin.Controls.GreenshotButton buttonCancel;
private GreenshotPlugin.Controls.GreenshotButton buttonOK; private GreenshotPlugin.Controls.GreenshotButton buttonOK;
private GreenshotPlugin.Controls.GreenshotLabel label_AfterUpload; private GreenshotPlugin.Controls.GreenshotLabel label_AfterUpload;
private GreenshotPlugin.Controls.GreenshotCheckBox checkboxAfterUploadLinkToClipBoard; private GreenshotPlugin.Controls.GreenshotCheckBox checkboxAfterUploadLinkToClipBoard;
} }
} }

View file

@ -1,38 +1,38 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotPicasaPlugin.Forms { namespace GreenshotGooglePhotosPlugin.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>
public partial class SettingsForm : PicasaForm { public partial class SettingsForm : GooglePhotosForm {
public SettingsForm() public SettingsForm()
{ {
// //
// The InitializeComponent() call is required for Windows Forms designer support. // The InitializeComponent() call is required for Windows Forms designer support.
// //
InitializeComponent(); InitializeComponent();
CancelButton = buttonCancel; CancelButton = buttonCancel;
AcceptButton = buttonOK; AcceptButton = buttonOK;
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -1,93 +1,93 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using System; using System;
using GreenshotPicasaPlugin.Forms; using GreenshotGooglePhotosPlugin.Forms;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
/// <summary> /// <summary>
/// Description of PicasaConfiguration. /// Description of GooglePhotosConfiguration.
/// </summary> /// </summary>
[IniSection("Picasa", Description = "Greenshot Picasa Plugin configuration")] [IniSection("GooglePhotos", Description = "Greenshot GooglePhotos Plugin configuration")]
public class PicasaConfiguration : IniSection { public class GooglePhotosConfiguration : IniSection {
[IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")] [IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")]
public OutputFormat UploadFormat { get; set; } public OutputFormat UploadFormat { get; set; }
[IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")] [IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")]
public int UploadJpegQuality { get; set; } public int UploadJpegQuality { get; set; }
[IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send Picasa link to clipboard.", DefaultValue = "true")] [IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send GooglePhotos link to clipboard.", DefaultValue = "true")]
public bool AfterUploadLinkToClipBoard { get; set; } public bool AfterUploadLinkToClipBoard { get; set; }
[IniProperty("AddFilename", Description = "Is the filename passed on to Picasa", DefaultValue = "False")] [IniProperty("AddFilename", Description = "Is the filename passed on to GooglePhotos", DefaultValue = "False")]
public bool AddFilename { public bool AddFilename {
get; get;
set; set;
} }
[IniProperty("UploadUser", Description = "The Picasa user to upload to", DefaultValue = "default")] [IniProperty("UploadUser", Description = "The GooglePhotos user to upload to", DefaultValue = "default")]
public string UploadUser { public string UploadUser {
get; get;
set; set;
} }
[IniProperty("UploadAlbum", Description = "The Picasa album to upload to", DefaultValue = "default")] [IniProperty("UploadAlbum", Description = "The GooglePhotos album to upload to", DefaultValue = "default")]
public string UploadAlbum { public string UploadAlbum {
get; get;
set; set;
} }
[IniProperty("RefreshToken", Description = "Picasa authorization refresh Token", Encrypted = true)] [IniProperty("RefreshToken", Description = "GooglePhotos authorization refresh Token", Encrypted = true)]
public string RefreshToken { public string RefreshToken {
get; get;
set; set;
} }
/// <summary> /// <summary>
/// Not stored /// Not stored
/// </summary> /// </summary>
public string AccessToken { public string AccessToken {
get; get;
set; set;
} }
/// <summary> /// <summary>
/// Not stored /// Not stored
/// </summary> /// </summary>
public DateTimeOffset AccessTokenExpires { public DateTimeOffset AccessTokenExpires {
get; get;
set; set;
} }
/// <summary> /// <summary>
/// A form for token /// A form for token
/// </summary> /// </summary>
/// <returns>bool true if OK was pressed, false if cancel</returns> /// <returns>bool true if OK was pressed, false if cancel</returns>
public bool ShowConfigDialog() { public bool ShowConfigDialog() {
DialogResult result = new SettingsForm().ShowDialog(); DialogResult result = new SettingsForm().ShowDialog();
if (result == DialogResult.OK) { if (result == DialogResult.OK) {
return true; return true;
} }
return false; return false;
} }
} }
} }

View file

@ -1,54 +1,54 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
public class PicasaDestination : AbstractDestination { public class GooglePhotosDestination : AbstractDestination {
private readonly PicasaPlugin _plugin; private readonly GooglePhotosPlugin _plugin;
public PicasaDestination(PicasaPlugin plugin) { public GooglePhotosDestination(GooglePhotosPlugin plugin) {
_plugin = plugin; _plugin = plugin;
} }
public override string Designation => "Picasa"; public override string Designation => "GooglePhotos";
public override string Description => Language.GetString("picasa", LangKey.upload_menu_item); public override string Description => Language.GetString("googlephotos", LangKey.upload_menu_item);
public override Image DisplayIcon { public override Image DisplayIcon {
get { get {
ComponentResourceManager resources = new ComponentResourceManager(typeof(PicasaPlugin)); ComponentResourceManager resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
return (Image)resources.GetObject("Picasa"); return (Image)resources.GetObject("GooglePhotos");
} }
} }
public override ExportInformation ExportCapture(bool manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) { public override ExportInformation ExportCapture(bool manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) {
ExportInformation exportInformation = new ExportInformation(Designation, Description); ExportInformation exportInformation = new ExportInformation(Designation, Description);
bool uploaded = _plugin.Upload(captureDetails, surface, out var uploadUrl); bool uploaded = _plugin.Upload(captureDetails, surface, out var uploadUrl);
if (uploaded) { if (uploaded) {
exportInformation.ExportMade = true; exportInformation.ExportMade = true;
exportInformation.Uri = uploadUrl; exportInformation.Uri = uploadUrl;
} }
ProcessExport(exportInformation, surface); ProcessExport(exportInformation, surface);
return exportInformation; return exportInformation;
} }
} }
} }

View file

@ -1,125 +1,124 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
/// <summary> /// <summary>
/// This is the Picasa base code /// This is the GooglePhotos base code
/// </summary> /// </summary>
[Plugin("Picasa", true)] [Plugin("GooglePhotos", true)]
public class PicasaPlugin : IGreenshotPlugin { public class GooglePhotosPlugin : IGreenshotPlugin {
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaPlugin)); private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosPlugin));
private static PicasaConfiguration _config; private static GooglePhotosConfiguration _config;
private ComponentResourceManager _resources; private ComponentResourceManager _resources;
private ToolStripMenuItem _itemPlugInRoot; private ToolStripMenuItem _itemPlugInRoot;
public void Dispose() { public void Dispose() {
Dispose(true); Dispose(true);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
protected void Dispose(bool disposing) { private void Dispose(bool disposing)
if (disposing) { {
if (_itemPlugInRoot != null) { if (!disposing) return;
_itemPlugInRoot.Dispose(); if (_itemPlugInRoot == null) return;
_itemPlugInRoot = null; _itemPlugInRoot.Dispose();
} _itemPlugInRoot = null;
} }
}
/// <summary>
/// <summary> /// Implementation of the IGreenshotPlugin.Initialize
/// Implementation of the IGreenshotPlugin.Initialize /// </summary>
/// </summary> public bool Initialize() {
public bool Initialize() { SimpleServiceProvider.Current.AddService<IDestination>(new GooglePhotosDestination(this));
SimpleServiceProvider.Current.AddService<IDestination>(new PicasaDestination(this));
// Get configuration
// Get configuration _config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
_config = IniConfig.GetIniSection<PicasaConfiguration>(); _resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
_resources = new ComponentResourceManager(typeof(PicasaPlugin));
_itemPlugInRoot = new ToolStripMenuItem
_itemPlugInRoot = new ToolStripMenuItem {
{ Text = Language.GetString("googlephotos", LangKey.Configure),
Text = Language.GetString("picasa", LangKey.Configure), Image = (Image) _resources.GetObject("GooglePhotos")
Image = (Image) _resources.GetObject("Picasa") };
}; _itemPlugInRoot.Click += ConfigMenuClick;
_itemPlugInRoot.Click += ConfigMenuClick; PluginUtils.AddToContextMenu(_itemPlugInRoot);
PluginUtils.AddToContextMenu(_itemPlugInRoot); Language.LanguageChanged += OnLanguageChanged;
Language.LanguageChanged += OnLanguageChanged; return true;
return true; }
}
public void OnLanguageChanged(object sender, EventArgs e) {
public void OnLanguageChanged(object sender, EventArgs e) { if (_itemPlugInRoot != null) {
if (_itemPlugInRoot != null) { _itemPlugInRoot.Text = Language.GetString("googlephotos", LangKey.Configure);
_itemPlugInRoot.Text = Language.GetString("picasa", LangKey.Configure); }
} }
}
public void Shutdown() {
public void Shutdown() { Log.Debug("GooglePhotos Plugin shutdown.");
Log.Debug("Picasa Plugin shutdown."); Language.LanguageChanged -= OnLanguageChanged;
Language.LanguageChanged -= OnLanguageChanged; //host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
//host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened); }
}
/// <summary>
/// <summary> /// Implementation of the IPlugin.Configure
/// Implementation of the IPlugin.Configure /// </summary>
/// </summary> public void Configure() {
public void Configure() { _config.ShowConfigDialog();
_config.ShowConfigDialog(); }
}
public void ConfigMenuClick(object sender, EventArgs eventArgs) {
public void ConfigMenuClick(object sender, EventArgs eventArgs) { Configure();
Configure(); }
}
public bool Upload(ICaptureDetails captureDetails, ISurface surfaceToUpload, out string uploadUrl) {
public bool Upload(ICaptureDetails captureDetails, ISurface surfaceToUpload, out string uploadUrl) { SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality);
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality); try {
try { string url = null;
string url = null; new PleaseWaitForm().ShowAndWait("GooglePhotos", Language.GetString("googlephotos", LangKey.communication_wait),
new PleaseWaitForm().ShowAndWait("Picasa", Language.GetString("picasa", LangKey.communication_wait), delegate
delegate {
{ string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails));
string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails)); url = GooglePhotosUtils.UploadToGooglePhotos(surfaceToUpload, outputSettings, captureDetails.Title, filename);
url = PicasaUtils.UploadToPicasa(surfaceToUpload, outputSettings, captureDetails.Title, filename); }
} );
); uploadUrl = url;
uploadUrl = url;
if (uploadUrl != null && _config.AfterUploadLinkToClipBoard) {
if (uploadUrl != null && _config.AfterUploadLinkToClipBoard) { ClipboardHelper.SetClipboardData(uploadUrl);
ClipboardHelper.SetClipboardData(uploadUrl); }
} return true;
return true; } catch (Exception e) {
} catch (Exception e) { Log.Error("Error uploading.", e);
Log.Error("Error uploading.", e); MessageBox.Show(Language.GetString("googlephotos", LangKey.upload_failure) + " " + e.Message);
MessageBox.Show(Language.GetString("picasa", LangKey.upload_failure) + " " + e.Message); }
} uploadUrl = null;
uploadUrl = null; return false;
return false; }
} }
} }
}

View file

@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Picasa" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="GooglePhotos" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>picasa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>GooglePhotos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
</root> </root>

View file

@ -1,120 +1,120 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 1 of the License, or * the Free Software Foundation, either version 1 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using System; using System;
using System.Xml; using System.Xml;
using GreenshotPlugin.Core.OAuth; using GreenshotPlugin.Core.OAuth;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
/// <summary> /// <summary>
/// Description of PicasaUtils. /// Description of GooglePhotosUtils.
/// </summary> /// </summary>
public static class PicasaUtils { public static class GooglePhotosUtils {
private const string PicasaScope = "https://picasaweb.google.com/data/"; private const string GooglePhotosScope = "https://picasaweb.google.com/data/";
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaUtils)); private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosUtils));
private static readonly PicasaConfiguration Config = IniConfig.GetIniSection<PicasaConfiguration>(); private static readonly GooglePhotosConfiguration Config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + PicasaScope; private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + GooglePhotosScope;
private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token"; private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token";
private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}"; private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}";
/// <summary> /// <summary>
/// Do the actual upload to Picasa /// Do the actual upload to GooglePhotos
/// </summary> /// </summary>
/// <param name="surfaceToUpload">Image to upload</param> /// <param name="surfaceToUpload">Image to upload</param>
/// <param name="outputSettings"></param> /// <param name="outputSettings">SurfaceOutputSettings</param>
/// <param name="title"></param> /// <param name="title">string</param>
/// <param name="filename"></param> /// <param name="filename">string</param>
/// <returns>PicasaResponse</returns> /// <returns>GooglePhotosResponse</returns>
public static string UploadToPicasa(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) { public static string UploadToGooglePhotos(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) {
// Fill the OAuth2Settings // Fill the OAuth2Settings
var settings = new OAuth2Settings var settings = new OAuth2Settings
{ {
AuthUrlPattern = AuthUrl, AuthUrlPattern = AuthUrl,
TokenUrl = TokenUrl, TokenUrl = TokenUrl,
CloudServiceName = "Picasa", CloudServiceName = "GooglePhotos",
ClientId = PicasaCredentials.ClientId, ClientId = GooglePhotosCredentials.ClientId,
ClientSecret = PicasaCredentials.ClientSecret, ClientSecret = GooglePhotosCredentials.ClientSecret,
AuthorizeMode = OAuth2AuthorizeMode.LocalServer, AuthorizeMode = OAuth2AuthorizeMode.JsonReceiver,
RefreshToken = Config.RefreshToken, RefreshToken = Config.RefreshToken,
AccessToken = Config.AccessToken, AccessToken = Config.AccessToken,
AccessTokenExpires = Config.AccessTokenExpires AccessTokenExpires = Config.AccessTokenExpires
}; };
// Copy the settings from the config, which is kept in memory and on the disk // Copy the settings from the config, which is kept in memory and on the disk
try { try {
var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, string.Format(UploadUrl, Config.UploadUser, Config.UploadAlbum), settings); var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, string.Format(UploadUrl, Config.UploadUser, Config.UploadAlbum), settings);
if (Config.AddFilename) { if (Config.AddFilename) {
webRequest.Headers.Add("Slug", NetworkHelper.EscapeDataString(filename)); webRequest.Headers.Add("Slug", NetworkHelper.EscapeDataString(filename));
} }
SurfaceContainer container = new SurfaceContainer(surfaceToUpload, outputSettings, filename); SurfaceContainer container = new SurfaceContainer(surfaceToUpload, outputSettings, filename);
container.Upload(webRequest); container.Upload(webRequest);
string response = NetworkHelper.GetResponseAsString(webRequest); string response = NetworkHelper.GetResponseAsString(webRequest);
return ParseResponse(response); return ParseResponse(response);
} finally { } finally {
// Copy the settings back to the config, so they are stored. // Copy the settings back to the config, so they are stored.
Config.RefreshToken = settings.RefreshToken; Config.RefreshToken = settings.RefreshToken;
Config.AccessToken = settings.AccessToken; Config.AccessToken = settings.AccessToken;
Config.AccessTokenExpires = settings.AccessTokenExpires; Config.AccessTokenExpires = settings.AccessTokenExpires;
Config.IsDirty = true; Config.IsDirty = true;
IniConfig.Save(); IniConfig.Save();
} }
} }
/// <summary> /// <summary>
/// Parse the upload URL from the response /// Parse the upload URL from the response
/// </summary> /// </summary>
/// <param name="response"></param> /// <param name="response"></param>
/// <returns></returns> /// <returns></returns>
public static string ParseResponse(string response) { public static string ParseResponse(string response) {
if (response == null) { if (response == null) {
return null; return null;
} }
try { try {
XmlDocument doc = new XmlDocument(); XmlDocument doc = new XmlDocument();
doc.LoadXml(response); doc.LoadXml(response);
XmlNodeList nodes = doc.GetElementsByTagName("link", "*"); XmlNodeList nodes = doc.GetElementsByTagName("link", "*");
if(nodes.Count > 0) { if(nodes.Count > 0) {
string url = null; string url = null;
foreach(XmlNode node in nodes) { foreach(XmlNode node in nodes) {
if (node.Attributes != null) { if (node.Attributes != null) {
url = node.Attributes["href"].Value; url = node.Attributes["href"].Value;
string rel = node.Attributes["rel"].Value; string rel = node.Attributes["rel"].Value;
// Pictures with rel="http://schemas.google.com/photos/2007#canonical" are the direct link // Pictures with rel="http://schemas.google.com/photos/2007#canonical" are the direct link
if (rel != null && rel.EndsWith("canonical")) { if (rel != null && rel.EndsWith("canonical")) {
break; break;
} }
} }
} }
return url; return url;
} }
} catch(Exception e) { } catch(Exception e) {
Log.ErrorFormat("Could not parse Picasa response due to error {0}, response was: {1}", e.Message, response); Log.ErrorFormat("Could not parse GooglePhotos response due to error {0}, response was: {1}", e.Message, response);
} }
return null; return null;
} }
} }
} }

View file

@ -19,13 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration. /// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
/// You can set your own values here /// You can set your own values here
/// </summary> /// </summary>
public static class PicasaCredentials { public static class GooglePhotosCredentials {
public static string ClientId = "${Picasa_ClientId}"; public static string ClientId = "${GooglePhotos_ClientId}";
public static string ClientSecret = "${Picasa_ClientSecret}"; public static string ClientSecret = "${GooglePhotos_ClientSecret}";
} }
} }

View file

@ -1,21 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<ItemGroup>
<PropertyGroup> <None Include="Languages\language*.xml">
<RootNamespace>GreenshotPicasaPlugin</RootNamespace> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<AssemblyName>GreenshotPicasaPlugin</AssemblyName> </None>
</PropertyGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <EmbeddedResource Include="GooglePhotos.png" />
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </ItemGroup>
</None>
</ItemGroup> <ItemGroup>
<ProjectReference Include="..\GreenshotPlugin\GreenshotPlugin.csproj" />
<ItemGroup> </ItemGroup>
<EmbeddedResource Include="Picasa.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GreenshotPlugin\GreenshotPlugin.csproj" />
</ItemGroup>
</Project> </Project>

View file

@ -1,5 +1,5 @@
/* /*
* A Picasa Plugin for Greenshot * A GooglePhotos Plugin for Greenshot
* Copyright (C) 2011 Francis Noel * Copyright (C) 2011 Francis Noel
* *
* For more information see: http://getgreenshot.org/ * For more information see: http://getgreenshot.org/
@ -16,9 +16,9 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotPicasaPlugin { namespace GreenshotGooglePhotosPlugin {
public enum LangKey public enum LangKey
{ {
upload_menu_item, upload_menu_item,

View file

@ -1,29 +1,29 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Czech" ietf="cs-CZ" version="1.1.0.2411" languagegroup=""> <language description="Czech" ietf="cs-CZ" version="1.1.0.2411" languagegroup="">
<resources> <resources>
<resource name="CANCEL">Zrušit</resource> <resource name="CANCEL">Zrušit</resource>
<resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource> <resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource>
<resource name="Configure">Konfigurace</resource> <resource name="Configure">Konfigurace</resource>
<resource name="delete_question">Opravdu chcete odstranit obrázek {0} z Picasa?</resource> <resource name="delete_question">Opravdu chcete odstranit obrázek {0} z GooglePhotos?</resource>
<resource name="delete_title">Odstranit Picasa {0}</resource> <resource name="delete_title">Odstranit GooglePhotos {0}</resource>
<resource name="History">Historie</resource> <resource name="History">Historie</resource>
<resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource> <resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource>
<resource name="label_AfterUpload">Po odeslání</resource> <resource name="label_AfterUpload">Po odeslání</resource>
<resource name="label_AfterUploadLinkToClipBoard">Kopírovat odkaz do schránky</resource> <resource name="label_AfterUploadLinkToClipBoard">Kopírovat odkaz do schránky</resource>
<resource name="label_AfterUploadOpenHistory">Zobrazit historii</resource> <resource name="label_AfterUploadOpenHistory">Zobrazit historii</resource>
<resource name="label_DefaultSize">Výchozí velikost</resource> <resource name="label_DefaultSize">Výchozí velikost</resource>
<resource name="label_Password">Heslo</resource> <resource name="label_Password">Heslo</resource>
<resource name="label_upload_format">Formát obrázku</resource> <resource name="label_upload_format">Formát obrázku</resource>
<resource name="label_Username">Jméno</resource> <resource name="label_Username">Jméno</resource>
<resource name="OK">OK</resource> <resource name="OK">OK</resource>
<resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource> <resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource>
<resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource> <resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource>
<resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource> <resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource>
<resource name="settings_title">Nastavení Picasa</resource> <resource name="settings_title">Nastavení GooglePhotos</resource>
<resource name="Upload">Nahrát</resource> <resource name="Upload">Nahrát</resource>
<resource name="upload_failure">Nahrání obrázku do Picasa se nezdařilo:</resource> <resource name="upload_failure">Nahrání obrázku do GooglePhotos se nezdařilo:</resource>
<resource name="upload_menu_item">Nahrát do Picasa</resource> <resource name="upload_menu_item">Nahrát do GooglePhotos</resource>
<resource name="upload_success">Úspěšně odeslaný obrázek do Picasa!</resource> <resource name="upload_success">Úspěšně odeslaný obrázek do GooglePhotos!</resource>
<resource name="UsernameNotSet">Prosím ověřit aplikaci Picasa. Otevřít nastavení obrazovky. ???</resource> <resource name="UsernameNotSet">Prosím ověřit aplikaci GooglePhotos. Otevřít nastavení obrazovky. ???</resource>
</resources> </resources>
</language> </language>

View file

@ -8,25 +8,25 @@
Anschliessend Anschliessend
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Picasa konfigurieren GooglePhotos konfigurieren
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Hochladen zu Picasa Hochladen zu GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Picasa Einstellungen GooglePhotos Einstellungen
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Hochladen zu Picasa war erfolgreich ! Hochladen zu GooglePhotos war erfolgreich !
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Fehler beim Hochladen zu Picasa: Fehler beim Hochladen zu GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Grafikformat Grafikformat
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Übermittle Daten zu Picasa. Bitte warten... Übermittle Daten zu GooglePhotos. Bitte warten...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -8,25 +8,25 @@
After upload After upload
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Configure Picasa Configure GooglePhotos
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Upload to Picasa Upload to GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Picasa settings GooglePhotos settings
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Successfully uploaded image to Picasa! Successfully uploaded image to GooglePhotos!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
An error occured while uploading to Picasa: An error occured while uploading to GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Image format Image format
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Communicating with Picasa. Please wait... Communicating with GooglePhotos. Please wait...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Français" ietf="fr-FR" version="1.0.0" languagegroup=""> <language description="Français" ietf="fr-FR" version="1.0.0" languagegroup="">
<resources> <resources>
<resource name="communication_wait">Communication en cours avec Picasa. Veuillez patientez...</resource> <resource name="communication_wait">Communication en cours avec GooglePhotos. Veuillez patientez...</resource>
<resource name="Configure">Configurer Picasa</resource> <resource name="Configure">Configurer GooglePhotos</resource>
<resource name="label_AfterUpload">Après téléversement</resource> <resource name="label_AfterUpload">Après téléversement</resource>
<resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource> <resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource>
<resource name="label_upload_format">Format image</resource> <resource name="label_upload_format">Format image</resource>
<resource name="settings_title">Paramètres Picasa</resource> <resource name="settings_title">Paramètres GooglePhotos</resource>
<resource name="upload_failure">Une erreur s'est produite lors du téléversement vers Picasa :</resource> <resource name="upload_failure">Une erreur s'est produite lors du téléversement vers GooglePhotos :</resource>
<resource name="upload_menu_item">Téléverser vers Picasa</resource> <resource name="upload_menu_item">Téléverser vers GooglePhotos</resource>
<resource name="upload_success">Image téléversée avec succès vers Picasa !</resource> <resource name="upload_success">Image téléversée avec succès vers GooglePhotos !</resource>
</resources> </resources>
</language> </language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup=""> <language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup="">
<resources> <resources>
<resource name="communication_wait">Menyambungkan ke Picasa. Tunggu sebentar...</resource> <resource name="communication_wait">Menyambungkan ke GooglePhotos. Tunggu sebentar...</resource>
<resource name="Configure">Konfigurasi Picasa</resource> <resource name="Configure">Konfigurasi GooglePhotos</resource>
<resource name="label_AfterUpload">Sesudah mengunggah</resource> <resource name="label_AfterUpload">Sesudah mengunggah</resource>
<resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource> <resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource>
<resource name="label_upload_format">Format gambar</resource> <resource name="label_upload_format">Format gambar</resource>
<resource name="settings_title">Pengaturan Picasa</resource> <resource name="settings_title">Pengaturan GooglePhotos</resource>
<resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke Picasa:</resource> <resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke GooglePhotos:</resource>
<resource name="upload_menu_item">Unggah ke Picasa</resource> <resource name="upload_menu_item">Unggah ke GooglePhotos</resource>
<resource name="upload_success">Berhasil mengunggah gambar ke Picasa!</resource> <resource name="upload_success">Berhasil mengunggah gambar ke GooglePhotos!</resource>
</resources> </resources>
</language> </language>

View file

@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Italiano" ietf="it-IT" version="1.1.5"> <language description="Italiano" ietf="it-IT" version="1.1.5">
<resources> <resources>
<resource name="label_AfterUploadLinkToClipBoard"> <resource name="label_AfterUploadLinkToClipBoard">
Collegamento agli Appunti Collegamento agli Appunti
</resource> </resource>
<resource name="label_AfterUpload"> <resource name="label_AfterUpload">
Dopo il caricamento Dopo il caricamento
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Impostazioni Picasa Impostazioni GooglePhotos
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Carica su Picasa Carica su GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Impostazioni Picasa Impostazioni GooglePhotos
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Caricamento immagine su Picasa completato! Caricamento immagine su GooglePhotos completato!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Si è verificato un errore durante il caricamento su Picasa: Si è verificato un errore durante il caricamento su GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Formato immagine Formato immagine
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Comunicazione con Picasa... Comunicazione con GooglePhotos...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="日本語" ietf="ja-JP" version="1.0.0">
<resources>
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
<resource name="label_AfterUpload">アップロード後</resource>
<resource name="Configure">GooglePhotos の設定</resource>
<resource name="upload_menu_item">GooglePhotos にアップロード</resource>
<resource name="settings_title">GooglePhotos の設定</resource>
<resource name="upload_success">GooglePhotos へのアップロードに成功しました!</resource>
<resource name="upload_failure">GooglePhotos へのアップロード中にエラーが発生しました:</resource>
<resource name="label_upload_format">画像フォーマット</resource>
<resource name="communication_wait">GooglePhotos に接続中です。しばらくお待ち下さい...</resource>
</resources>
</language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Taqbaylit" ietf="kab-DZ" version="1.0.0" languagegroup=""> <language description="Taqbaylit" ietf="kab-DZ" version="1.0.0" languagegroup="">
<resources> <resources>
<resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n Picasa ?...</resource> <resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n GooglePhotos ?...</resource>
<resource name="Configure">Swel Picasa</resource> <resource name="Configure">Swel GooglePhotos</resource>
<resource name="label_AfterUpload">Ticki yemmed usali</resource> <resource name="label_AfterUpload">Ticki yemmed usali</resource>
<resource name="label_AfterUploadLinkToClipBoard">Nɣel aseɣwen ɣef afus</resource> <resource name="label_AfterUploadLinkToClipBoard">Nɣel aseɣwen ɣef afus</resource>
<resource name="label_upload_format">Amsal n tugna</resource> <resource name="label_upload_format">Amsal n tugna</resource>
<resource name="settings_title">Iɣewwaṛen Picasa</resource> <resource name="settings_title">Iɣewwaṛen GooglePhotos</resource>
<resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer Picasa :</resource> <resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer GooglePhotos :</resource>
<resource name="upload_menu_item">Sali ɣer Picasa</resource> <resource name="upload_menu_item">Sali ɣer GooglePhotos</resource>
<resource name="upload_success">Tugna tuli ɣer Picasa !</resource> <resource name="upload_success">Tugna tuli ɣer GooglePhotos !</resource>
</resources> </resources>
</language> </language>

View file

@ -8,25 +8,25 @@
얼로드 후 얼로드 후
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Picasa 설정 GooglePhotos 설정
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Picasa로 업로드 GooglePhotos로 업로드
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Picasa 설정 GooglePhotos 설정
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Picasa로 이미지 업로드 성공! GooglePhotos로 이미지 업로드 성공!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Picasa로 업로드시 오류 발생: GooglePhotos로 업로드시 오류 발생:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
이미지 형식 이미지 형식
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Picasa와 연결 중 잠시 기다리세요... GooglePhotos와 연결 중 잠시 기다리세요...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -9,25 +9,25 @@
Pēc augšupielādes Pēc augšupielādes
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Picasa iestatījumi GooglePhotos iestatījumi
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Augšupieladēt uz Picasa Augšupieladēt uz GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Picasa iestatījumi GooglePhotos iestatījumi
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Attēls veiksmīgi augšupielādēts uz Picasa! Attēls veiksmīgi augšupielādēts uz GooglePhotos!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Kļūda augšuplādējot uz Picasa: Kļūda augšuplādējot uz GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Attēla formāts Attēla formāts
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Savienojos ar Picasa. Lūdzu uzgaidiet... Savienojos ar GooglePhotos. Lūdzu uzgaidiet...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
<resources>
<resource name="communication_wait">Trwa komunikacja z GooglePhotos. Proszę czekać...</resource>
<resource name="Configure">Konfiguruj GooglePhotos</resource>
<resource name="label_AfterUpload">Po wysłaniu</resource>
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
<resource name="label_upload_format">Format obrazów</resource>
<resource name="settings_title">Ustawienia GooglePhotos</resource>
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do GooglePhotos:</resource>
<resource name="upload_menu_item">Wyślij do GooglePhotos</resource>
<resource name="upload_success">Wysyłanie obrazu do GooglePhotos powiodło się!</resource>
</resources>
</language>

View file

@ -8,25 +8,25 @@
Após enviar Após enviar
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Configurar o Picasa Configurar o GooglePhotos
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
enviar para o Picasa enviar para o GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Definições Picasa Definições GooglePhotos
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Imagem enviada com êxito para o Picasa! Imagem enviada com êxito para o GooglePhotos!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Ocorreu um erro ao enviar para o Picasa: Ocorreu um erro ao enviar para o GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Formato da imagem Formato da imagem
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
A comunicar com o Picasa. Por favor aguarde... A comunicar com o GooglePhotos. Por favor aguarde...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5"> <language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5">
<resources> <resources>
<resource name="communication_wait">Обмен данными с Picasa. Подождите...</resource> <resource name="communication_wait">Обмен данными с GooglePhotos. Подождите...</resource>
<resource name="Configure">Настройка Picasa</resource> <resource name="Configure">Настройка GooglePhotos</resource>
<resource name="label_AfterUpload">После загрузки</resource> <resource name="label_AfterUpload">После загрузки</resource>
<resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource> <resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource>
<resource name="label_upload_format">Формат изображения</resource> <resource name="label_upload_format">Формат изображения</resource>
<resource name="settings_title">Настройки Picasa</resource> <resource name="settings_title">Настройки GooglePhotos</resource>
<resource name="upload_failure">Произошла ошибка при загрузке на Picasa:</resource> <resource name="upload_failure">Произошла ошибка при загрузке на GooglePhotos:</resource>
<resource name="upload_menu_item">Загрузить на Picasa</resource> <resource name="upload_menu_item">Загрузить на GooglePhotos</resource>
<resource name="upload_success">Изображение успешно загружено на Picasa!</resource> <resource name="upload_success">Изображение успешно загружено на GooglePhotos!</resource>
</resources> </resources>
</language> </language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Српски" ietf="sr-RS" version="1.0.5" languagegroup=""> <language description="Српски" ietf="sr-RS" version="1.0.5" languagegroup="">
<resources> <resources>
<resource name="communication_wait">Комуницирам с Пикасом. Сачекајте…</resource> <resource name="communication_wait">Комуницирам с Пикасом. Сачекајте…</resource>
<resource name="Configure">Поставке Пикасе</resource> <resource name="Configure">Поставке Пикасе</resource>
<resource name="label_AfterUpload">Након отпремања:</resource> <resource name="label_AfterUpload">Након отпремања:</resource>
<resource name="label_AfterUploadLinkToClipBoard">Веза ка остави</resource> <resource name="label_AfterUploadLinkToClipBoard">Веза ка остави</resource>
<resource name="label_upload_format">Формат слике:</resource> <resource name="label_upload_format">Формат слике:</resource>
<resource name="settings_title">Поставке Пикасе</resource> <resource name="settings_title">Поставке Пикасе</resource>
<resource name="upload_failure">Дошло је до грешке при отпремању на Пикасу:</resource> <resource name="upload_failure">Дошло је до грешке при отпремању на Пикасу:</resource>
<resource name="upload_menu_item">Отпреми на Пикасу</resource> <resource name="upload_menu_item">Отпреми на Пикасу</resource>
<resource name="upload_success">Слика је успешно отпремљена на Пикасу.</resource> <resource name="upload_success">Слика је успешно отпремљена на Пикасу.</resource>
</resources> </resources>
</language> </language>

View file

@ -8,25 +8,25 @@
Vid uppladdning Vid uppladdning
</resource> </resource>
<resource name="Configure"> <resource name="Configure">
Konfigurera Picasa Konfigurera GooglePhotos
</resource> </resource>
<resource name="upload_menu_item"> <resource name="upload_menu_item">
Ladda upp till Picasa Ladda upp till GooglePhotos
</resource> </resource>
<resource name="settings_title"> <resource name="settings_title">
Picasa-inställningar GooglePhotos-inställningar
</resource> </resource>
<resource name="upload_success"> <resource name="upload_success">
Skärmdumpen laddades upp till Picasa! Skärmdumpen laddades upp till GooglePhotos!
</resource> </resource>
<resource name="upload_failure"> <resource name="upload_failure">
Ett fel uppstod vid uppladdning till Picasa: Ett fel uppstod vid uppladdning till GooglePhotos:
</resource> </resource>
<resource name="label_upload_format"> <resource name="label_upload_format">
Bildformat Bildformat
</resource> </resource>
<resource name="communication_wait"> <resource name="communication_wait">
Kommunicerar med Picasa. Vänta... Kommunicerar med GooglePhotos. Vänta...
</resource> </resource>
</resources> </resources>
</language> </language>

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<language description="Українська" ietf="uk-UA" version="1.0.0"> <language description="Українська" ietf="uk-UA" version="1.0.0">
<resources> <resources>
<resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource> <resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource>
<resource name="label_AfterUpload">Після вивантаження</resource> <resource name="label_AfterUpload">Після вивантаження</resource>
<resource name="Configure">Налаштувати Picasa</resource> <resource name="Configure">Налаштувати GooglePhotos</resource>
<resource name="upload_menu_item">Вивантажити на Picasa</resource> <resource name="upload_menu_item">Вивантажити на GooglePhotos</resource>
<resource name="settings_title">Параметри Picasa</resource> <resource name="settings_title">Параметри GooglePhotos</resource>
<resource name="upload_success">Зображення вдало вивантажено на Picasa!</resource> <resource name="upload_success">Зображення вдало вивантажено на GooglePhotos!</resource>
<resource name="upload_failure">Відбулась помилка під час вивантаження на Picasa:</resource> <resource name="upload_failure">Відбулась помилка під час вивантаження на GooglePhotos:</resource>
<resource name="label_upload_format">Формат зображення</resource> <resource name="label_upload_format">Формат зображення</resource>
<resource name="communication_wait">З’єднання з Picasa. Будь ласка, зачекайте...</resource> <resource name="communication_wait">З’єднання з GooglePhotos. Будь ласка, зачекайте...</resource>
</resources> </resources>
</language> </language>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
<resources>
<resource name="communication_wait">正在连接到GooglePhotos。请稍后...</resource>
<resource name="Configure">配置 GooglePhotos</resource>
<resource name="label_AfterUpload">上传之后</resource>
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
<resource name="label_upload_format">图片格式</resource>
<resource name="settings_title">GooglePhotos设置</resource>
<resource name="upload_failure">上传到GooglePhotos时发生错误</resource>
<resource name="upload_menu_item">上传到GooglePhotos</resource>
<resource name="upload_success">图片已成功上传到了GooglePhotos</resource>
</resources>
</language>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
<resources>
<resource name="communication_wait">正在與 GooglePhotos 通訊,請稍候...</resource>
<resource name="Configure">組態 GooglePhotos</resource>
<resource name="label_AfterUpload">上傳後</resource>
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
<resource name="label_upload_format">圖片格式</resource>
<resource name="settings_title">GooglePhotos 設定</resource>
<resource name="upload_failure">上傳到 GooglePhotos 時發生錯誤:</resource>
<resource name="upload_menu_item">上傳到 GooglePhotos</resource>
<resource name="upload_success">上傳圖片到 GooglePhotos 成功!</resource>
</resources>
</language>

View file

@ -25,7 +25,7 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyDescription("A plugin to upload images to Picasa")] [assembly: AssemblyDescription("A plugin to upload images to GooglePhotos")]
// This sets the default COM visibility of types in the assembly to invisible. // This sets the default COM visibility of types in the assembly to invisible.
// If you need to expose a type to COM, use [ComVisible(true)] on that type. // If you need to expose a type to COM, use [ComVisible(true)] on that type.

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="日本語" ietf="ja-JP" version="1.0.0">
<resources>
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
<resource name="label_AfterUpload">アップロード後</resource>
<resource name="Configure">Picasa の設定</resource>
<resource name="upload_menu_item">Picasa にアップロード</resource>
<resource name="settings_title">Picasa の設定</resource>
<resource name="upload_success">Picasa へのアップロードに成功しました!</resource>
<resource name="upload_failure">Picasa へのアップロード中にエラーが発生しました:</resource>
<resource name="label_upload_format">画像フォーマット</resource>
<resource name="communication_wait">Picasa に接続中です。しばらくお待ち下さい...</resource>
</resources>
</language>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
<resources>
<resource name="communication_wait">Trwa komunikacja z Picasa. Proszę czekać...</resource>
<resource name="Configure">Konfiguruj Picasa</resource>
<resource name="label_AfterUpload">Po wysłaniu</resource>
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
<resource name="label_upload_format">Format obrazów</resource>
<resource name="settings_title">Ustawienia Picasa</resource>
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do Picasa:</resource>
<resource name="upload_menu_item">Wyślij do Picasa</resource>
<resource name="upload_success">Wysyłanie obrazu do Picasa powiodło się!</resource>
</resources>
</language>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
<resources>
<resource name="communication_wait">正在连接到Picasa。请稍后...</resource>
<resource name="Configure">配置 Picasa</resource>
<resource name="label_AfterUpload">上传之后</resource>
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
<resource name="label_upload_format">图片格式</resource>
<resource name="settings_title">Picasa设置</resource>
<resource name="upload_failure">上传到Picasa时发生错误</resource>
<resource name="upload_menu_item">上传到Picasa</resource>
<resource name="upload_success">图片已成功上传到了Picasa</resource>
</resources>
</language>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
<resources>
<resource name="communication_wait">正在與 Picasa 通訊,請稍候...</resource>
<resource name="Configure">組態 Picasa</resource>
<resource name="label_AfterUpload">上傳後</resource>
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
<resource name="label_upload_format">圖片格式</resource>
<resource name="settings_title">Picasa 設定</resource>
<resource name="upload_failure">上傳到 Picasa 時發生錯誤:</resource>
<resource name="upload_menu_item">上傳到 Picasa</resource>
<resource name="upload_success">上傳圖片到 Picasa 成功!</resource>
</resources>
</language>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB